hi, it seems GetNextWindow function giving me an alternative of what i was looking for...
Cédric ----- Original Message ----- From: Cédric Joubert To: Borland's Delphi Discussion List Sent: Sunday, May 17, 2009 9:14 PM Subject: Get z-order value hi, 1/ I have 2 windows in stayOnTop mode and each one can recover the other as they are two at foreground. When one of this window is above the other, I don't know how to get the window handle of the window at top. I would like to know if there is a function to get the windows at top... and i read i have to use the enumWindows() or getForegroundWindow() function but is it the best way ? 2/ i would be interested to know if there is a function that returns the z-order value (from a window handle param for example) ? Cedric _______________________________________________ Delphi mailing list -> Delphi@elists.org http://lists.elists.org/cgi-bin/mailman/listinfo/delphi