Click to See Complete Forum and Search --> : MainFrame Resizing


Polymorphor
March 17th, 1999, 05:19 PM
Hi All,


Anyone guru out there know what MainFrame class method to call to make the MainFrame window resize? In another words, let's say within a ON_TIMER event, I want my MainFrame window to resize by itself to x,y size every minute.


Any help or hints will be greatly appreciated!


Thanks!

srinath
March 20th, 1999, 12:47 AM
Use SetWindowPos() to size the mainframe with your own x,y ,cx and cy parameters

inside the timer

Ashran
January 13th, 2000, 06:47 AM
Catch the WM_TIMER message and use SetWindowPos :)

God does not play dice. - Einstein
Not only does God play dice, he sometimes throws them where they can't be seen. - Hawking