How to intercept a keystroke in document/view structure?
From: Andrew (anonymous_at_discussions.microsoft.com)
Date: 05/21/04
- Previous message: Marco: "Re: Creating controls of modeless dialog in runtime"
- Next in thread: GuitarBill: "RE: How to intercept a keystroke in document/view structure?"
- Reply: GuitarBill: "RE: How to intercept a keystroke in document/view structure?"
- Reply: larryK: "RE: How to intercept a keystroke in document/view structure?"
- Messages sorted by: [ date ] [ thread ]
Date: Fri, 21 May 2004 14:11:03 -0700
Hi, friends,
I am reading MS sample code of WordPad. I tried to understand how and where the typed text are stored.
In OnKeyDown(UINT nChar, UINT nRepCnt, UINT nFlags) of WordPadView class, at the top, I set
nChar = 0x41;
I was expecting I will alway have a capital letter A. But, to my surprise, WordPad still showed whatever I typed, not A.
Why this happens? Any ideas? Thanks a lot.....
- Previous message: Marco: "Re: Creating controls of modeless dialog in runtime"
- Next in thread: GuitarBill: "RE: How to intercept a keystroke in document/view structure?"
- Reply: GuitarBill: "RE: How to intercept a keystroke in document/view structure?"
- Reply: larryK: "RE: How to intercept a keystroke in document/view structure?"
- Messages sorted by: [ date ] [ thread ]
Relevant Pages
|