Solved

Maximize windows with PostMessage???

Posted on 1997-07-03
2
1,630 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

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

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

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…
Preface I don't like visual development tools that are supposed to write a program for me. Even if it is Xcode and I can use Interface Builder. Yes, it is a perfect tool and has helped me a lot, mainly, in the beginning, when my programs were small…
The goal of this video is to provide viewers with basic examples to understand opening and writing to files in the C programming language.
The goal of this video is to provide viewers with basic examples to understand and use switch statements in the C programming language.

912 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

23 Experts available now in Live!

Get 1:1 Help Now