>>
>>George, which API library is ShowWindow() in?
>
>User32.dll
Jackpot! In playing around with the calls, I had substituted SendMessage() for ShowWindow(), which didn't work. Once I got the syntax correct on ShowWindow(), it worked like a charm.
For the record, SW_MAXIMIZE (3) works and will always fully maximize the window, whether it's iconic or not. SW_RESTORE (9) maximizes if the window is iconic, but "restores" it to normal if it is maximized.
In hunting around I found WIN32API.TXT, a Visual Basic resource that defines the constant values for API routines. Besides UT, do you have a resource that would define other API routines and the libraries that hold them?
-Henry-