Click here to Skip to main content
15,912,400 members

Comments by David Kragar (Top 2 by date)

David Kragar 15-Feb-12 17:32pm View    
Deleted
This is a good solution for the loss of focus of the control, but I've noticed an interesting and annoying side effect. Some layers of some programs lose the ability to click consistently when interrupting the WM_MOUSEACTIVATE with a Focus() call.

The best example I have is when connecting to a virtual machine running Windows Server 2008 R2, and attempting to open a connection in Sql Server Management Studio 2008. The click focuses on the 'open' or 'cancel' button, but we immediately then get a mouseup, and rarely actually get a click.

Again, this is only in those odd layers. I'm currently looking for a solution to this issue, and will post if I find one.
David Kragar 15-Feb-12 17:28pm View    
Deleted
This is a good solution for the loss of focus of the control, but I've noticed an interesting and annoying side effect. Some layers of some programs lose the ability to click consistently when interrupting the WM_MOUSEACTIVATE with a Focus() call.

The best example I have is when connecting to a virtual machine running Windows Server 2008 R2, and attempting to open a connection in Sql Server Management Studio 2008. The click focuses on the 'open' or 'cancel' button, but we immediately then get a mouseup, and rarely actually get a click.

Again, this is only in those odd layers. I'm currently looking for a solution to this issue, and will post if I find one.