CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com
Results 1 to 2 of 2
  1. #1
    Join Date
    Apr 1999
    Posts
    51

    How to create Photoshop style floating windows?

    I need a window that acts like a floating pallete but always stays highlighted.
    Also, I don't want any selected document window to become inactive (title bar being shown as inactive) when I press buttons and such on the floater.

    VC++ has custom floaters like this as well - which would work fine.

    Any ideas?

    None of the code here really did what I needed. Either that, or it just didn't work at all.

    Thanks!

    -V-



  2. #2
    Guest

    Re: How to create Photoshop style floating windows?

    I don't know the MFC way, but you can create a window with the WS_EX_TOOLWINDOW style to make it a floating toolbar, I'm not exactly sure how you would keep two windows active, possibly WS_EX_TOPMOST. Well I hope that helps, a little anyways.

    Kory Spansel


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