View Single Post
Old May 21st, 2005, 3:49 PM   #2
hippocrat
Newbie
 
Join Date: Apr 2005
Posts: 17
Rep Power: 0 hippocrat is on a distinguished road
I always use SW_MAXIMIZE it works for me but I also have the taskbar property "keep task bar on top .. " enabled as well so it doesnt cover the taskbar.

One way you could do it is to call SHAppBarMessage with ABM_GETTASKBARPOS
to get the taskbar position then adjust your windows size from there .
hippocrat is offline   Reply With Quote