Question about  - my Form

Posted on 2000-03-13
Last Modified: 2010-04-04
How can do that my form always located behind all other windows even if I click on it? - something like in a Desktop (shell) program? And how after that make it possible to be active when I want it...?

Can you show it in sample?
Question by:Masonok
  • 4
  • 2

Accepted Solution

Gurkan earned 50 total points
ID: 2614846
You can use SetWindowPos function

I have no time for exact answer but u can find details from help file. Examples:


SetWindowPos(wnd,HWND_BOTTOM, 40,40,150 ,150 , SWP_NOACTIVATE);

Author Comment

ID: 2615031
Where should I place this function?

Expert Comment

ID: 2615065
did u try onshow
Master Your Team's Linux and Cloud Stack!

The average business loses $13.5M per year to ineffective training (per 1,000 employees). Keep ahead of the competition and combine in-person quality with online cost and flexibility by training with Linux Academy.


Author Comment

ID: 2615082
Yes. But but It seems that nothing going on!


Expert Comment

ID: 2615091
give me time
I'll try and give the code if I can do it

Expert Comment

ID: 2615107
I put the code below n onpaint event and its ok


Featured Post

Best Practices: Disaster Recovery Testing

Besides backup, any IT division should have a disaster recovery plan. You will find a few tips below relating to the development of such a plan and to what issues one should pay special attention in the course of backup planning.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Title # Comments Views Activity
Mydac connection data base issue 3 158
delphi prevent click fast 2 219
Best Firemonkey component pack 1 105
tidtcpserver connection lost handle 2 86
A lot of questions regard threads in Delphi.   One of the more specific questions is how to show progress of the thread.   Updating a progressbar from inside a thread is a mistake. A solution to this would be to send a synchronized message to the…
Have you ever had your Delphi form/application just hanging while waiting for data to load? This is the article to read if you want to learn some things about adding threads for data loading in the background. First, I'll setup a general applica…
Two types of users will appreciate AOMEI Backupper Pro: 1 - Those with PCIe drives (and haven't found cloning software that works on them). 2 - Those who want a fast clone of their boot drive (no re-boots needed) and it can clone your drive wh…
With Secure Portal Encryption, the recipient is sent a link to their email address directing them to the email laundry delivery page. From there, the recipient will be required to enter a user name and password to enter the page. Once the recipient …

809 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question