There is a diference between SW_SHOWMINIMIZED and SW_SHOWMINIMIZE
Oh sorry I ment SW_SHOWMINIMIZED, SW_SHOWMINIMIZE doesn't exist. I get an error when I use it :P
edit:
Alright I did this:
1 2 3 4 5 6 7 8 9 10 11 12
|
case WM_CREATE:
if (!CreateChildWindows (hWnd))
{
MessageBox (hWnd, "MDI Failed", NULL, NULL);
DestroyWindow (hWnd);
}
ShowWindow (hWndC [0], SW_SHOWNORMAL);
break;
case WM_PAINT:
ShowWindow (hWndC [1], SW_SHOWMINIMIZED);
break;
|
And putting it into WM_PAINT made it work, but I want to know why it wasn't working. Any help?
Last edited on
Post the code if you can - I'll see what I can see.
Last edited on
I already got it working the way I wanted, thanks though.