|
-
May 28th, 1999, 06:51 AM
#1
catch the keyboard
I have a dialog box with a cricheditctrl inside.
I can't catch the keyboard although I use OnChar() function.
-
May 28th, 1999, 07:01 AM
#2
Re: catch the keyboard
Hi ,
You need to derive your own CRichedit Class, call, the following code
OnGetDlgCode..
UINT result = CMyDerivedClass::OnGetDlgCode();
result = result DLGC_WANTALLKEYS;
return result;
Then you can call OnChar or OnKeyDown
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|