Solved

Maximize windows with PostMessage???

Posted on 1997-07-03
2
1,660 Views
Last Modified: 2010-10-05
I have a windows hWnd and thats all,
now I want the window to be maximized
and I need to use API's cause I'm using
Delphi but it's not "my" window, but
Word's I want to maximize. How do
I think a solution to the problem would be
SendMessage but could anyone give an exemple
of how to use it????
0
Comment
Question by:dr_gonzo
2 Comments
 
LVL 4

Accepted Solution

by:
AVaulin earned 100 total points
ID: 1251964
Use ShowWindow( hWnd, SW_SHOWMAXIMIZED ); API function.
0
 

Author Comment

by:dr_gonzo
ID: 1251965
Great, I'm so used to OS/2 programming
where I use PostMessage to allmost everything!
0

Featured Post

Master Your Team's Linux and Cloud Stack

Come see why top tech companies like Mailchimp and Media Temple use Linux Academy to build their employee training programs.

Question has a verified solution.

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

Have you thought about creating an iPhone application (app), but didn't even know where to get started? Here's how: ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ Important pre-programming comments: I’ve never tri…
An Outlet in Cocoa is a persistent reference to a GUI control; it connects a property (a variable) to a control.  For example, it is common to create an Outlet for the text field GUI control and change the text that appears in this field via that Ou…
The goal of this video is to provide viewers with basic examples to understand and use pointers in the C programming language.
The goal of this video is to provide viewers with basic examples to understand how to use strings and some functions related to them in the C programming language.

828 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