Jump to content
  • Advertisement

Archived

This topic is now archived and is closed to further replies.

malpass

Using a form without it having focus

This topic is 5529 days old which is more than the 365 day threshold we allow for new replies. Please post a new topic.

If you intended to correct an error in the post then please contact us.

Recommended Posts

How do I stop a form getting focus, so when I click is the current active form isnt changed, like the Onscreen keyboard in Start->Programs->Accessories->Accessablity. This is in C# BTW

Share this post


Link to post
Share on other sites
Advertisement
You mean a window that remains on top of other windows even when its not active?

If so include:

WS_EX_TOPMOST

in your ExStyle when creating the window, or you can change the value after window creation by using the SetWindowPos function.

Hope this helps.

Share this post


Link to post
Share on other sites
no, I mean like if you click it, you can use the window as normal but it doest get the focus, so in effect the title bar stayed grayed; like the onscreen keyboard

Share this post


Link to post
Share on other sites

  • Advertisement
×

Important Information

By using GameDev.net, you agree to our community Guidelines, Terms of Use, and Privacy Policy.

Participate in the game development conversation and more when you create an account on GameDev.net!

Sign me up!