Solved

Maximize windows with PostMessage???

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

How to run any project with ease

Manage projects of all sizes how you want. Great for personal to-do lists, project milestones, team priorities and launch plans.
- Combine task lists, docs, spreadsheets, and chat in one
- View and edit from mobile/offline
- Cut down on emails

Join & Write a Comment

This tutorial is posted by Aaron Wojnowski, administrator at SDKExpert.net.  To view more iPhone tutorials, visit www.sdkexpert.net. This is a very simple tutorial on finding the user's current location easily. In this tutorial, you will learn ho…
Windows programmers of the C/C++ variety, how many of you realise that since Window 9x Microsoft has been lying to you about what constitutes Unicode (http://en.wikipedia.org/wiki/Unicode)? They will have you believe that Unicode requires you to use…
Video by: Grant
The goal of this video is to provide viewers with basic examples to understand and use for-loops in the C programming language.
The goal of this video is to provide viewers with basic examples to understand how to create, access, and change arrays in the C programming language.

762 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

18 Experts available now in Live!

Get 1:1 Help Now