Click here to Skip to main content
15,798,826 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
AnswerRe: Having trouble with c++ templates Pin
CPallini21-Sep-15 22:45
mveCPallini21-Sep-15 22:45 
QuestionCalling GDI+ DrawImage function throws _BLOCK_TYPE_IS_VALID error Pin
Kiran Satish21-Sep-15 8:39
Kiran Satish21-Sep-15 8:39 
AnswerRe: Calling GDI+ DrawImage function throws _BLOCK_TYPE_IS_VALID error Pin
CPallini21-Sep-15 22:50
mveCPallini21-Sep-15 22:50 
GeneralRe: Calling GDI+ DrawImage function throws _BLOCK_TYPE_IS_VALID error Pin
Jochen Arndt21-Sep-15 22:54
professionalJochen Arndt21-Sep-15 22:54 
GeneralRe: Calling GDI+ DrawImage function throws _BLOCK_TYPE_IS_VALID error Pin
CPallini21-Sep-15 23:01
mveCPallini21-Sep-15 23:01 
GeneralRe: Calling GDI+ DrawImage function throws _BLOCK_TYPE_IS_VALID error Pin
Jochen Arndt21-Sep-15 23:14
professionalJochen Arndt21-Sep-15 23:14 
QuestionShift + VK_LEFT Pin
_Flaviu20-Sep-15 22:44
_Flaviu20-Sep-15 22:44 
AnswerRe: Shift + VK_LEFT Pin
Jochen Arndt20-Sep-15 23:19
professionalJochen Arndt20-Sep-15 23:19 
It should work that way. But it will not work if those key combinations are "eaten" by an existing pre-translation. You may test that by using the first version with an extended trace:
TRACE1(">>>%d, state %x", nChar, GetKeyState(VK_SHIFT));

If the above is not called with shift key down, it is probably "eaten". Then you must use PreTranslateMessage or try to disable the existing translation.
GeneralRe: Shift + VK_LEFT Pin
_Flaviu20-Sep-15 23:24
_Flaviu20-Sep-15 23:24 
GeneralRe: Shift + VK_LEFT Pin
_Flaviu20-Sep-15 23:39
_Flaviu20-Sep-15 23:39 
GeneralRe: Shift + VK_LEFT Pin
Jochen Arndt20-Sep-15 23:51
professionalJochen Arndt20-Sep-15 23:51 
GeneralRe: Shift + VK_LEFT Pin
_Flaviu21-Sep-15 0:04
_Flaviu21-Sep-15 0:04 
GeneralRe: Shift + VK_LEFT Pin
Jochen Arndt21-Sep-15 0:14
professionalJochen Arndt21-Sep-15 0:14 
GeneralRe: Shift + VK_LEFT Pin
_Flaviu21-Sep-15 0:14
_Flaviu21-Sep-15 0:14 
GeneralRe: Shift + VK_LEFT Pin
Jochen Arndt21-Sep-15 0:21
professionalJochen Arndt21-Sep-15 0:21 
GeneralRe: Shift + VK_LEFT Pin
_Flaviu21-Sep-15 0:23
_Flaviu21-Sep-15 0:23 
GeneralRe: Shift + VK_LEFT Pin
_Flaviu21-Sep-15 23:13
_Flaviu21-Sep-15 23:13 
AnswerRe: Shift + VK_LEFT Pin
Richard MacCutchan20-Sep-15 23:32
mveRichard MacCutchan20-Sep-15 23:32 
GeneralRe: Shift + VK_LEFT Pin
_Flaviu20-Sep-15 23:53
_Flaviu20-Sep-15 23:53 
GeneralRe: Shift + VK_LEFT Pin
Richard MacCutchan21-Sep-15 0:05
mveRichard MacCutchan21-Sep-15 0:05 
GeneralRe: Shift + VK_LEFT Pin
_Flaviu21-Sep-15 0:15
_Flaviu21-Sep-15 0:15 
Question[SOLVED?] Using "this" pointer to "copy" pointer Pin
Vaclav_19-Sep-15 18:11
Vaclav_19-Sep-15 18:11 
AnswerRe: Using "this" pointer to "copy" pointer Pin
Richard MacCutchan19-Sep-15 22:10
mveRichard MacCutchan19-Sep-15 22:10 
GeneralRe: Using "this" pointer to "copy" pointer Pin
Vaclav_20-Sep-15 4:02
Vaclav_20-Sep-15 4:02 
GeneralRe: Using "this" pointer to "copy" pointer Pin
Richard MacCutchan20-Sep-15 7:42
mveRichard MacCutchan20-Sep-15 7:42 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.