?
Solved

Question about  - my Form

Posted on 2000-03-13
6
Medium Priority
?
165 Views
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?
0
Comment
Question by:Masonok
  • 4
  • 2
6 Comments
 

Accepted Solution

by:
Gurkan earned 200 total points
ID: 2614846
Hi,
You can use SetWindowPos function

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

SetWindowPos(wnd,HWND_TOPMOST,20,20,200,200,0);

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

Author Comment

by:Masonok
ID: 2615031
Where should I place this function?
0
 

Expert Comment

by:Gurkan
ID: 2615065
did u try onshow
0
Concerto's Cloud Advisory Services

Want to avoid the missteps to gaining all the benefits of the cloud? Learn more about the different assessment options from our Cloud Advisory team.

 

Author Comment

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

0
 

Expert Comment

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

Expert Comment

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

SetWindowPos(Form1.Handle,HWND_BOTTOM,20,20,200,200,0);
0

Featured Post

Free Tool: SSL Checker

Scans your site and returns information about your SSL implementation and certificate. Helpful for debugging and validating your SSL configuration.

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.

Question has a verified solution.

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

Introduction The parallel port is a very commonly known port, it was widely used to connect a printer to the PC, if you look at the back of your computer, for those who don't have newer computers, there will be a port with 25 pins and a small print…
In this tutorial I will show you how to use the Windows Speech API in Delphi. I will only cover basic functions such as text to speech and controlling the speed of the speech. SAPI Installation First you need to install the SAPI type library, th…
Integration Management Part 2
In a question here at Experts Exchange (https://www.experts-exchange.com/questions/29062564/Adobe-acrobat-reader-DC.html), a member asked how to create a signature in Adobe Acrobat Reader DC (the free Reader product, not the paid, full Acrobat produ…
Suggested Courses

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