News:

MASM32 SDK Description, downloads and other helpful links
MASM32.com New Forum Link
masmforum WebSite

using tab to switch between editboxes and buttons

Started by white scorpion, October 10, 2005, 07:42:45 PM

Previous topic - Next topic

G`HOST

Quote from: CorAsm on December 19, 2005, 12:31:00 PM
thx for the answers...
may it be that i have to catch WM_CHAR instead of WM_KEYDOWN, 'cos i've tested my prog with '9' as my tab...
so i catched this one with WM_KEYDOWN -> VK_9 without a messagebeep but ht e character was send to the editbox.
if i catch with WM_CHAR -> ... the character i think it should work...

regards
Well for tabbing you should respond to WM_KEYDOWN but if you are calling CallWindowProc in responce to WM_CHAR and then you try to Tab using any charecter key in WM_KEYDOWN then you will get the same result as you are getting.So instead of VK_9 use VK_TAB and in WM_KEYDOWN.

CorAsm

No it was just a test if this sound also happens, but it didn't.
My itention was right after i catched also the character of "TAB" thos massagebeep was gone so my tab switch works now fine without the messagebeep after hit tab...
regards and thx

CorAsm