CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com
Results 1 to 2 of 2
  1. #1
    Join Date
    Mar 2003
    Location
    ca
    Posts
    1

    dll windows going into the background

    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

  2. #2
    Join Date
    Sep 2000
    Location
    Germany
    Posts
    117
    Create your window with a WS_EX_TOPMOST style (CreateWindowEx first parameter).

    Hope that helped!

    Horst

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  





Click Here to Expand Forum to Full Width

Featured