Enter button not working on CBitmapButton.
-
Hi all, i m using a button and create its variable from CBitmapButton derived class, and load bitamps on this button CBitmapButton::LoadBitmaps function. but when i focus the button and press enter key here the button is not pressed while its working for space key. please help me for this. thanks in advance.
-
Hi all, i m using a button and create its variable from CBitmapButton derived class, and load bitamps on this button CBitmapButton::LoadBitmaps function. but when i focus the button and press enter key here the button is not pressed while its working for space key. please help me for this. thanks in advance.
-
This if I remember correctly is exactly how it should behave. On a Dialog pressing enter will 'click' the dialog's default button, otherwise you will need to handle WM_KEYUP and trap VK_ENTER