Maximize windows with PostMessage???

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????
dr_gonzoAsked:
Who is Participating?
 
AVaulinConnect With a Mentor Commented:
Use ShowWindow( hWnd, SW_SHOWMAXIMIZED ); API function.
0
 
dr_gonzoAuthor Commented:
Great, I'm so used to OS/2 programming
where I use PostMessage to allmost everything!
0
All Courses

From novice to tech pro — start learning today.