16,472
社区成员
发帖
与我相关
我的任务
分享
struct Tag_STRUCT
{
HWND hWnd;
} ;
struct Tag_STRUCT Struct;
Struct.hWnd = m_hWnd;
WritePrivateProfileStruct("Section","Key",&Struct,sizeof(Struct),"C:\\1.ini");
struct Tag_STRUCT
{
HWND hWnd;
} ;
struct Tag_STRUCT Struct;
GetPrivateProfileStruct("Section","Key",&Struct,sizeof(Struct),"C:\\1.ini");
HWND hwnd = ::FindWindow(NULL,"wuming");
if(hwnd != NULL)
MessageBox("Found!");
if(hwnd == Struct.hWnd )
MessageBox("the same !");
::ShowWindow(hwnd,SW_HIDE);