Hi Horia,

Have you tried playing with the Win32 API-function SetWindowPos?


Greetz,

Peter

> -----Original Message-----
> From: [email protected] 
> [mailto:[EMAIL PROTECTED] On Behalf Of [EMAIL PROTECTED]
> Sent: Friday, July 01, 2005 2:01 PM
> To: [email protected]
> Subject: [delphi-en] Z-Order
> 
> 
> 
> I need to change the Z-Order of the main form.
> The form supports BringToFront or SendToBack, however I need 
> to send the main 
> form one unit back only at a time, i.e. if Z position is 23, 
> I need to make it 
> 22.
> The need is to unhide a child form (dynamically created,) and 
> displayed with 
> Show, which may go behind the main form; in this situation I 
> need a menu item 
> or a short-cut to move the main form back and unmask the 
> child form. SendToBack move it too much (I usually have 20 
> forms from different 
> applications on my desktop.)
> 
> Any ideas?
> 
> Horia
> 
> 
> 
> 
> -----------------------------------------------------
> Home page: http://groups.yahoo.com/group/delphi-en/
> To unsubscribe: [EMAIL PROTECTED] 
> Yahoo! Groups Links
> 
> 
> 
>  
> 
> 
> 



-----------------------------------------------------
Home page: http://groups.yahoo.com/group/delphi-en/
To unsubscribe: [EMAIL PROTECTED] 
Yahoo! Groups Links

<*> To visit your group on the web, go to:
    http://groups.yahoo.com/group/delphi-en/

<*> To unsubscribe from this group, send an email to:
    [EMAIL PROTECTED]

<*> Your use of Yahoo! Groups is subject to:
    http://docs.yahoo.com/info/terms/
 


Reply via email to