November 12th, 2009, 03:38 PM
[SOLVED] Unwanted behaviour, workaround?
New to the forum, and... yes I have a problem
The issue I'm having, I'll try to describe it as good as I can.
Basically, I have two (or more) forms, each having a toolstrip with buttons on them. If I click on a button on a toolstrip that is on a window that doesn't have focus at the moment, the button itself is never pressed, but the window gets focus.
Simply put, I need to doubleclick on the button for it to trigger the click event, but only if the window itself did not have focus.
I'm wondering if there is a workaround for this behaviour? Or did I miss some not so obvious property somewhere?
Last edited by ixilom; November 15th, 2009 at 03:44 AM.
Reason: Changed title to contain [SOLVED]
Tags for this Thread
Click Here to Expand Forum to Full Width
This is a Codeguru.com survey!