How to receive a dead character message?
-
Hi, I am trying to catch a message when a dead character is pressed: I created a single document project and tried the following: 1. Add ON_WM_DEADCHAR() and a corresponding OnDeadChar() method 2. Implemented WindowProc() and search for WM_DEADCHAR message. To make sure that keyboard message are catched, I catch WM_KEYDOWN as well and it is works fine. Does someone have a clue how to get a message when a dead key is pressed? Thanks, Udi Raz
-
Hi, I am trying to catch a message when a dead character is pressed: I created a single document project and tried the following: 1. Add ON_WM_DEADCHAR() and a corresponding OnDeadChar() method 2. Implemented WindowProc() and search for WM_DEADCHAR message. To make sure that keyboard message are catched, I catch WM_KEYDOWN as well and it is works fine. Does someone have a clue how to get a message when a dead key is pressed? Thanks, Udi Raz
udiraz wrote:
a dead character
udiraz wrote:
a dead key
what on earth is that ??
[VisualCalc][Flags Beginner's Guide] | [Forums Guidelines][My Best Advice]
-
udiraz wrote:
a dead character
udiraz wrote:
a dead key
what on earth is that ??
[VisualCalc][Flags Beginner's Guide] | [Forums Guidelines][My Best Advice]
-
udiraz wrote:
a dead character
udiraz wrote:
a dead key
what on earth is that ??
[VisualCalc][Flags Beginner's Guide] | [Forums Guidelines][My Best Advice]
toxcct wrote:
what on earth is that
MSDN:
The framework calls this member function when the OnKeyUp member function and the OnKeyDown member functions are called
Looks like its called when there are contradictory calls in the queue. :~
I'd love to help, but unfortunatley I have prior commitments monitoring the length of my grass. :Andrew Bleakley:
-
Hi, I am trying to catch a message when a dead character is pressed: I created a single document project and tried the following: 1. Add ON_WM_DEADCHAR() and a corresponding OnDeadChar() method 2. Implemented WindowProc() and search for WM_DEADCHAR message. To make sure that keyboard message are catched, I catch WM_KEYDOWN as well and it is works fine. Does someone have a clue how to get a message when a dead key is pressed? Thanks, Udi Raz
udiraz wrote:
Does someone have a clue how to get a message when a dead key is pressed?
I wouldn't worry about it to much. CWnd::OnDeadChar[^]
MSDN:
The framework calls this member function when the OnKeyUp member function and the OnKeyDown member functions are called
Looks like its called when there are contradictory calls in the queue. :~
I'd love to help, but unfortunatley I have prior commitments monitoring the length of my grass. :Andrew Bleakley:
-
toxcct wrote:
what on earth is that
MSDN:
The framework calls this member function when the OnKeyUp member function and the OnKeyDown member functions are called
Looks like its called when there are contradictory calls in the queue. :~
I'd love to help, but unfortunatley I have prior commitments monitoring the length of my grass. :Andrew Bleakley:
oh, I never heard of this one... thanks for the link !
[VisualCalc][Flags Beginner's Guide] | [Forums Guidelines][My Best Advice]
-
oh, I never heard of this one... thanks for the link !
[VisualCalc][Flags Beginner's Guide] | [Forums Guidelines][My Best Advice]
toxcct wrote:
I never heard of this one
Yea, ditto, I had to look it up. Not to sure why the OP is worried about it, but whatever, learn something new every day. :)
I'd love to help, but unfortunatley I have prior commitments monitoring the length of my grass. :Andrew Bleakley: