Hello,
it looks like there is no possibility to check modifier keys state in case of EVT_TREE_ITEM_RIGHT_CLICK event from event data.
Is there any possibility to check keyboard state directly?
Hello,
it looks like there is no possibility to check modifier keys state in case of EVT_TREE_ITEM_RIGHT_CLICK event from event data.
Is there any possibility to check keyboard state directly?
wx.GetMouseState() also includes the state of the modifier keys in the object that is returned. Keep in mind that there is a small chance that the mouse/keyboard state at the time that this function is called is different than it was when the original event was generated. Most of the time it probably won't matter, but if your program's event queue is congested then there might be enough time elapsed that there could be a difference. Probably not much that can be done about that, but I thought I should mention it.
On 2/10/12 2:02 AM, alek111 wrote:
Hello,
it looks like there is no possibility to check modifier keys state in
case of EVT_TREE_ITEM_RIGHT_CLICK event from event data.
Is there any possibility to check keyboard state directly?
--
Robin Dunn
Software Craftsman