View previous topic :: View next topic |
Author |
Message |
BILLDOWS
Joined: 22 Jul 2005 Posts: 86 Location: Swansea, UK
|
Posted: Fri Jul 22, 2005 9:14 am Post subject: clearwin and %eb structure |
|
|
For some time I have used the %eb format to successfully display material and detect both the double click of the left mouse and mouse right click.
I note that the edit_info structure also includes at offsets 10 and 11 some link to the keyboard, but this is not described anywhere?
I would like to detect whether (say) shift is depressed at the point when a double click has been detected. I have set vk_key (i.e. array element 10) = 10 (for shift - MS site) - or should this be 16 -, but there appears to be no change in offset 11 (the shift state) when holding down shift and double clicking? Could anyone provide further information on how this might be done and whether I have interpreted the edit_info parameters correctly?
Many Thanks
Bill Dowsland. |
|
Back to top |
|
|
Martin
Joined: 09 Sep 2004 Posts: 43
|
|
Back to top |
|
|
BILLDOWS
Joined: 22 Jul 2005 Posts: 86 Location: Swansea, UK
|
Posted: Fri Jul 22, 2005 10:33 am Post subject: clearwin and %eb structure |
|
|
Many thanks Martin for a VERY quick response.
Calling GetKeyState(16) - for Shift - works fine and enables me to provide an alternate action on double click when Shift is held down.
Thanks again, Bill
|
|
Back to top |
|
|
|