91av视频/亚洲h视频/操亚洲美女/外国一级黄色毛片 - 国产三级三级三级三级

  • 大小: 69KB
    文件類型: .rar
    金幣: 2
    下載: 0 次
    發(fā)布日期: 2021-06-03
  • 語言: 其他
  • 標簽: 枚舉窗口??

資源簡介

枚舉窗口以及其控件。 的簡單例子。 BOOL EnumWindows(WNDENUMPROC lpEnumFunc,LPARAM lParam; BOOL EnumChildWindows(HWND hWndParent,WNDENUMPROC lpEnumFunc, LPARAM lParam);

資源截圖

代碼片段和文件信息

//?EnumWindow.cpp?:?Defines?the?class?behaviors?for?the?application.
//

#include?“stdafx.h“
#include?“EnumWindow.h“
#include?“EnumWindowDlg.h“

#ifdef?_DEBUG
#define?new?DEBUG_NEW
#undef?THIS_FILE
static?char?THIS_FILE[]?=?__FILE__;
#endif

/////////////////////////////////////////////////////////////////////////////
//?CEnumWindowApp

BEGIN_MESSAGE_MAP(CEnumWindowApp?CWinApp)
//{{AFX_MSG_MAP(CEnumWindowApp)
//?NOTE?-?the?ClassWizard?will?add?and?remove?mapping?macros?here.
//????DO?NOT?EDIT?what?you?see?in?these?blocks?of?generated?code!
//}}AFX_MSG
ON_COMMAND(ID_HELP?CWinApp::onhelp)
END_MESSAGE_MAP()

/////////////////////////////////////////////////////////////////////////////
//?CEnumWindowApp?construction

CEnumWindowApp::CEnumWindowApp()
{
//?TODO:?add?construction?code?here
//?Place?all?significant?initialization?in?InitInstance
}

/////////////////////////////////////////////////////////////////////////////
//?The?one?and?only?CEnumWindowApp?object

CEnumWindowApp?theApp;

/////////////////////////////////////////////////////////////////////////////
//?CEnumWindowApp?initialization

BOOL?CEnumWindowApp::InitInstance()
{
AfxEnableControlContainer();

//?Standard?initialization
//?If?you?are?not?using?these?features?and?wish?to?reduce?the?size
//??of?your?final?executable?you?should?remove?from?the?following
//??the?specific?initialization?routines?you?do?not?need.

#ifdef?_AFXDLL
Enable3dControls(); //?Call?this?when?using?MFC?in?a?shared?DLL
#else
Enable3dControlsStatic(); //?Call?this?when?linking?to?MFC?statically
#endif

CEnumWindowDlg?dlg;
m_pMainWnd?=?&dlg;
int?nResponse?=?dlg.DoModal();
if?(nResponse?==?IDOK)
{
//?TODO:?Place?code?here?to?handle?when?the?dialog?is
//??dismissed?with?OK
}
else?if?(nResponse?==?IDCANCEL)
{
//?TODO:?Place?code?here?to?handle?when?the?dialog?is
//??dismissed?with?Cancel
}

//?Since?the?dialog?has?been?closed?return?FALSE?so?that?we?exit?the
//??application?rather?than?start?the?application‘s?message?pump.
return?FALSE;
}

?屬性????????????大小?????日期????時間???名稱
-----------?---------??----------?-----??----

?????文件???????2119??2005-06-08?13:53??EnumWindow.cpp

?????文件???????4325??2005-08-30?13:13??EnumWindow.dsp

?????文件????????545??2005-06-08?13:53??EnumWindow.dsw

?????文件???????1368??2005-06-08?13:53??EnumWindow.h

?????文件?????175616??2005-08-30?13:22??EnumWindow.opt

?????文件???????5684??2005-08-30?13:12??EnumWindow.rc

?????文件???????5663??2005-08-30?13:13??EnumWindowDlg.cpp

?????文件???????1380??2005-08-30?13:12??EnumWindowDlg.h

?????文件???????3651??2005-06-08?13:53??ReadMe.txt

?????文件????????823??2005-08-30?13:06??resource.h

?????文件????????212??2005-06-08?13:53??StdAfx.cpp

?????文件???????1054??2005-06-08?13:53??StdAfx.h

?????文件????????610??2005-08-30?13:05??res\dragon

?????文件???????4846??2005-08-30?13:10??res\EnumWindow.ico

?????文件????????402??2005-06-08?13:53??res\EnumWindow.rc2

?????目錄??????????0??2005-08-30?13:10??res

?????文件??????40464??2005-08-30?13:12??EnumWindow.aps

?????文件???????1244??2005-08-30?13:22??EnumWindow.clw

-----------?---------??----------?-----??----

???????????????250224????????????????????19


評論

共有 條評論

相關資源