Here's where I have trouble:
MyFunction()
{
...
...
hwnd = GetDesktopWindow();
...
...
}
This is the error I get:
error C2440: '=' : cannot convert from 'class CWnd *' to 'struct
HWND__ *'
??? HOWEVER, this is a portion of the help page describing
"GetDesktopWindow()": (VC++ 6.0)
/*************************************************************************************************************/
The GetDesktopWindow function returns a handle to the desktop window.
The desktop window covers the entire screen. The desktop window is the
area on top of which all icons and other windows are painted.
HWND GetDesktopWindow(VOID)
Parameters.....
/*************************************************************************************************************/
Thanks for anyone's help......
Instead what you wanted is the SDK's function. So qualify it with
the scope qualifier.
That is use ::GetDesktopWindow() instead of GetDesktopWindow()
Cheers
Check Abdoul
-----------------
"jm" <j...@none.com> wrote in message news:398EEFAF...@none.com...
Regards
--
Adrian O' Neill
Remove * in email address to reply