CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com
Results 1 to 3 of 3
  1. #1
    Join Date
    Mar 1999
    Posts
    1

    MainFrame Resizing



    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!

  2. #2
    Join Date
    May 1999
    Posts
    12

    Re: MainFrame Resizing



    Use SetWindowPos() to size the mainframe with your own x,y ,cx and cy parameters

    inside the timer

  3. #3

    Re: MainFrame Resizing

    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

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  





Click Here to Expand Forum to Full Width

Featured