ShowOwnedPopups()

Post Reply
User avatar
Badara Thiam
Posts: 160
Joined: Tue Oct 18, 2005 10:21 am
Location: France
Contact:

ShowOwnedPopups()

Post by Badara Thiam »

This API function shows or hides all pop-up windows owned by the given window. This eliminates the need to call ShowWindow() for each individual pop-up window.

To use it with Clipper, simply add this command line in one .prg file of you application :

DLL FUNCTION ShowOwnedPopups( nHwnd AS _INT, bShow AS BOOL ) AS BOOL PASCAL FROM "ShowOwnedPopups" LIB "USER.EXE"

Hope this help, 8)
Badara Thiam
http://www.icim.fr
User avatar
Antonio Linares
Site Admin
Posts: 37481
Joined: Thu Oct 06, 2005 5:47 pm
Location: Spain
Contact:

Post by Antonio Linares »

Thanks for the info,
regards, saludos

Antonio Linares
www.fivetechsoft.com
User avatar
Badara Thiam
Posts: 160
Joined: Tue Oct 18, 2005 10:21 am
Location: France
Contact:

Post by Badara Thiam »

ShowOwnedPopups(hWnd, .F.) return not always .T. when there is not
Owned popups for the window, depending on unknown reason.
Problem found on a pc with XP Home edition.
Badara Thiam
http://www.icim.fr
Post Reply