ShowOwnedPopups()

ShowOwnedPopups()

Postby Badara Thiam » Mon Sep 04, 2006 9:17 am

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
Badara Thiam
 
Posts: 160
Joined: Tue Oct 18, 2005 10:21 am
Location: France

Postby Antonio Linares » Fri Sep 08, 2006 4:58 pm

Thanks for the info,
regards, saludos

Antonio Linares
www.fivetechsoft.com
User avatar
Antonio Linares
Site Admin
 
Posts: 42081
Joined: Thu Oct 06, 2005 5:47 pm
Location: Spain

Postby Badara Thiam » Thu Oct 12, 2006 10:10 am

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
User avatar
Badara Thiam
 
Posts: 160
Joined: Tue Oct 18, 2005 10:21 am
Location: France


Return to FiveWin for CA-Clipper

Who is online

Users browsing this forum: No registered users and 4 guests