李战:
把MessageBox的Handle设置为主窗口的或Application的,不要是0,试试,我没试过
[阅读: 851] 2006-03-08 08:34:10
int MessageBox(
HWND hWnd, // handle of owner window
LPCTSTR lpText, // address of text in message box
LPCTSTR lpCaption, // address of title of message box
UINT uType // style of message box
);
Parameters
hWnd
Identifies the owner window of the message box to be created. If this parameter is NULL, the message box has no owner window.
...
李战(leadzen)