Page 1 of 1

ShowOwnedPopups()

Posted: Mon Sep 04, 2006 9:17 am
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)

Posted: Fri Sep 08, 2006 4:58 pm
by Antonio Linares
Thanks for the info,

Posted: Thu Oct 12, 2006 10:10 am
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.