Oh, I see. I read "...MaximizeWindow (on a window) with no flags...", not "...MaximizeWindow (on a window with no flags)..." as you meant it. Duh.
Anyway, yeah I get the same behavior now. In fact, I've found that for a window to use the Desktop Client Coordinates (no taskbar) when it's maximized, it has to have at least a titlebar and be resizeable.
So you're probably correct with your first assumption (except that you don't need to make the DLL, just use the functions in user32.dll).
Anyway, yeah I get the same behavior now. In fact, I've found that for a window to use the Desktop Client Coordinates (no taskbar) when it's maximized, it has to have at least a titlebar and be resizeable.
So you're probably correct with your first assumption (except that you don't need to make the DLL, just use the functions in user32.dll).