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

    Always having the foreground

    How can I prevent a form from loosing the foreground ?
    I haven't been able to get it to work with any of this functions
    SetForegroundWindow, BringWindowToTop, SetActiveWindow

  2. #2
    Join Date
    Nov 2008
    Location
    England
    Posts
    748

    Re: Always having the foreground

    Look at SetWindowPos particularly the HWND_TOPMOST parameter.

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