vs2010中 EnableWindow 只有一个参数怎么办
在我想调用EnableWindow的时候他只显示一个参数,就是只有那个Bool的参数,那个句柄的参数不见了,怎么办。
[解决办法]
用全局的呗
::EnableWindow
[解决办法]
SDK:
EnableWindow
The EnableWindow function enables or disables mouse and keyboard input to the specified window or control. When input is disabled, the window does not receive input such as mouse clicks and key presses. When input is enabled, the window receives all input.
BOOL EnableWindow(
HWND hWnd, // handle to window
BOOL bEnable // enable or disable input
);
=============
MFC:
CWnd::EnableWindow
BOOL EnableWindow( BOOL bEnable = TRUE );