• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 173
  • Last Modified:

Forcing a form to be apeared behind another

How Can I enforce a form to be appeared behind another form, always!
0
khalil_moghaddam
Asked:
khalil_moghaddam
1 Solution
 
Ferruccio AccalaiSenior developer, analyst and customer assistance Commented:
in form onactivate:

SetWindowPos(Handle,HWND_BOTTOM,Left,Top,Width,Height,0);
F 68 ;-)
0
 
JDuncanCommented:
How about Form1.SendToBack
0
 
HypoviaxCommented:
Expanding on JDuncan's idea:

On a timer at an interval of about 500 try:

Formx.SendToBack

If you want the other form on top then do the same sort of thing

Formy.BringToFront

Regards,

Hypoviax
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

Join & Write a Comment

Featured Post

Free Tool: Port Scanner

Check which ports are open to the outside world. Helps make sure that your firewall rules are working as intended.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Tackle projects and never again get stuck behind a technical roadblock.
Join Now