CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com
Results 1 to 4 of 4

Threaded View

  1. #1
    Join Date
    Mar 2011
    Posts
    27

    focus on form...

    Hi there a new riddle.
    I have a form with some controls on it and a gl panel. I am using mouse_wheel event for form 1 to capture the wheel. It works fine however i can go to a state that event doesn't fire. I guess it is because of loosing focus, only way to bring it back is to click to any button tab whatever control after that the mouse wheel works back. I was trying many options but can't solve it.

    Any ideas how to bring the focus ?
    Edit////
    I guess that focus is on gl panel because its mouse events are executed correctly.
    Last edited by smallbit; October 6th, 2011 at 03:45 AM.

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