Jan 9, 2011 at 11:57pm
There is a diference between SW_SHOWMINIMIZED and SW_SHOWMINIMIZE
Jan 10, 2011 at 1:13am
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 Jan 10, 2011 at 1:19am
Jan 10, 2011 at 1:41am
Post the code if you can - I'll see what I can see.
Last edited on Jan 10, 2011 at 1:42am
Jan 10, 2011 at 5:25am
I already got it working the way I wanted, thanks though.