RE: Treeview Rant !

new topic     » goto parent     » topic index » view thread      » older message » newer message

> -----Original Message-----
> From: euman at bellsouth.net [mailto:euman at bellsouth.net]

> shift+tab "or"  shift = 16 + tab = 9  should be vKey = 25
> but this control doesnt handle this in the right way thus 
> returning vKey = 9

This doesn't seem right.  I wouldn't think you'd 'or' the two keys together.
Otherwise, there'd be no way to differentiate between shift + a and r:

VK_TAB  09h  
VK_SHIFT  10h  
VK_A  41h  
VK_R  52h  

Have you tried looking for VK_SHIFT, and then VK_TAB?  There doesn't seem to
be a TVN_KEYUP, so I'm not sure how you could discriminate, unless you
figure out who gets the WM_KEY or NM_KEYDOWN notification for the treeview.
For some reason, the TVN_KEYUP doesn't pass the shift flags.

Matt Lewis

new topic     » goto parent     » topic index » view thread      » older message » newer message

Search



Quick Links

User menu

Not signed in.

Misc Menu