user: Allow creating windows of the desktop class.

This commit is contained in:
Alexandre Julliard 2006-03-06 12:44:38 +01:00
parent 70d42f9d43
commit f874d20f54
1 changed files with 2 additions and 2 deletions

View File

@ -117,8 +117,8 @@ static HBITMAP DESKTOP_LoadBitmap( HDC hdc, const char *filename )
*/
static LRESULT WINAPI DesktopWndProc( HWND hwnd, UINT message, WPARAM wParam, LPARAM lParam )
{
/* all messages are ignored */
return 0;
if (message == WM_NCCREATE) return TRUE;
return 0; /* all other messages are ignored */
}
/***********************************************************************