RE: Treeview Rant !
- Posted by Matthew Lewis <matthewwalkerlewis at YAHOO.COM> Apr 24, 2002
- 374 views
> -----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