CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com
Results 1 to 5 of 5

Threaded View

  1. #1
    Join Date
    Dec 2001
    Location
    Bremen, Germany
    Posts
    314

    Is a minimized Window maximized or normal?

    Hi

    I'm looking for a generic solution to determine whether a currently minimized window will be restored to its normal position or will be restored maximized.

    GetWindowPlacement ShowCmd always returns SW_SHOWMINIMIZED.

    I want to prevent the need to handle WM_SYSCOMMAND commands SC_MINIMIZE, SC_RESTORE and SC_MAXIMIZE and save the last state on every change.

    Thanks for your ideas!

    Oliver.
    Last edited by Oliver Twesten; February 5th, 2004 at 10:08 AM.

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