Click to See Complete Forum and Search --> : dll windows going into the background


abuhabib
March 28th, 2003, 01:01 PM
Hi dear,

I need help in finding the way to bring the parent window which goes in the background and does not appear at the front except clicking on the top border.


Here is the detail of problem.
I have a DLL and it does invoke correctly and stays on the top under WIndows NT 4.0 Network adapter page. If I open another application the DLL property box goes in the background. This is the parent window and it should not be doing it.

Can anyone on the forum help me in resolving this.

This is simply a win32 dll.

Thanks

Tariq

Horst
April 3rd, 2003, 12:22 AM
Create your window with a WS_EX_TOPMOST style (CreateWindowEx first parameter).

Hope that helped!

Horst