Hi,
I am trying to select all the data from this box in C++ in edit box control & am not able to do so with Ctrl+A why?
Please guide me!
Hi,
I am trying to select all the data from this box in C++ in edit box control & am not able to do so with Ctrl+A why?
Please guide me!
It does not work by default. You have to write code for that. Add an entry to the application accelerator, add a handler for it, and there select all the text.
http://support.microsoft.com/kb/145616
As a programmer, you sometimes need to suppress (remove) all pending keyboard messages so that you prevent some things from happening. Here is how you do it:
Code:;Use the WM_KEYFIRST and WM_KEYLAST constants to retrieve all keyboard messages ;and use PM_REMOVE to remove them from the queue after processing by PeekMessage. Invoke PeekMessage,ADDR msg,hDlg,WM_KEYFIRST,WM_KEYLAST,PM_REMOVE
Bookmarks