Solved

Minimizing, Maximizing, and Restoring windows

Posted on 1998-10-07
1
327 Views
Last Modified: 2010-04-01
What Win32 API call should I use to minimize, maximize, and restore windows based on their window handle?
0
Comment
Question by:mnichols
1 Comment
 
LVL 8

Accepted Solution

by:
Answers2000 earned 100 total points
ID: 1174624
// Maximize
ShowWindow( hWnd, SW_MAXIMIZE ) ;

// Minimize
ShowWindow( hWnd, SW_MINIMIZE ) ;

// Restore
ShowWindow( hWnd, SW_RESTORE ) ;

0

Featured Post

Gigs: Get Your Project Delivered by an Expert

Select from freelancers specializing in everything from database administration to programming, who have proven themselves as experts in their field. Hire the best, collaborate easily, pay securely and get projects done right.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Title # Comments Views Activity
object oriented programming on screen browser tutorial lesson 2 79
Socket Programming (Unix) 8 124
Unable to start eclipse ? 17 141
C++ :Change value from  DisableCMD registry 4 59
Often, when implementing a feature, you won't know how certain events should be handled at the point where they occur and you'd rather defer to the user of your function or class. For example, a XML parser will extract a tag from the source code, wh…
Basic understanding on "OO- Object Orientation" is needed for designing a logical solution to solve a problem. Basic OOAD is a prerequisite for a coder to ensure that they follow the basic design of OO. This would help developers to understand the b…
The goal of the video will be to teach the user the concept of local variables and scope. An example of a locally defined variable will be given as well as an explanation of what scope is in C++. The local variable and concept of scope will be relat…
The viewer will learn how to use the return statement in functions in C++. The video will also teach the user how to pass data to a function and have the function return data back for further processing.

816 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

13 Experts available now in Live!

Get 1:1 Help Now