Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations IamaSherpa on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

how to show a child window

Status
Not open for further replies.

noob1

Programmer
Jul 9, 2006
2
DK
hi
I want to show (make it appear) a child window when I know all about it and its parent window (like: handle etc) using the PostMessage api (or mayber another one which I don't know about - it has been less than a week since I jumped into api programming).

Can anyone help me explicitely telling me the way of doing it or a relevant tutorial...
thankyou

noob
 
SetForegroundWindow()

Borislav Borissov
VFP9 SP1, SQL Server 2000/2005.
 
bborissov thankyou for ur reply...but that didnt work...

the child window that i want to show can be shown with the following api call:

PostMessage parentWindowHandle, WM_COMMAND, 32947, 0

but I don't understand the use of "32947" in that call.
I used an api-spy to see if that number was somehow related to that child window - but that number doesn't appear anywhere.

If that number is changed then the desired child window won't appear by that api call.

maybe u can see why that number is used?

thankyou

noob
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top