Click here to Skip to main content
14,489,815 members

C / C++ / MFC

 
AnswerRe: Having trouble with c++ templates Pin
CPallini21-Sep-15 21:45
mveCPallini21-Sep-15 21:45 
QuestionCalling GDI+ DrawImage function throws _BLOCK_TYPE_IS_VALID error Pin
Kiran Satish21-Sep-15 7:39
MemberKiran Satish21-Sep-15 7:39 
AnswerRe: Calling GDI+ DrawImage function throws _BLOCK_TYPE_IS_VALID error Pin
CPallini21-Sep-15 21:50
mveCPallini21-Sep-15 21:50 
GeneralRe: Calling GDI+ DrawImage function throws _BLOCK_TYPE_IS_VALID error Pin
Jochen Arndt21-Sep-15 21:54
professionalJochen Arndt21-Sep-15 21:54 
GeneralRe: Calling GDI+ DrawImage function throws _BLOCK_TYPE_IS_VALID error Pin
CPallini21-Sep-15 22:01
mveCPallini21-Sep-15 22:01 
GeneralRe: Calling GDI+ DrawImage function throws _BLOCK_TYPE_IS_VALID error Pin
Jochen Arndt21-Sep-15 22:14
professionalJochen Arndt21-Sep-15 22:14 
QuestionShift + VK_LEFT Pin
_Flaviu20-Sep-15 21:44
Member_Flaviu20-Sep-15 21:44 
AnswerRe: Shift + VK_LEFT Pin
Jochen Arndt20-Sep-15 22:19
professionalJochen Arndt20-Sep-15 22: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 22:24
Member_Flaviu20-Sep-15 22:24 
GeneralRe: Shift + VK_LEFT Pin
_Flaviu20-Sep-15 22:39
Member_Flaviu20-Sep-15 22:39 
GeneralRe: Shift + VK_LEFT Pin
Jochen Arndt20-Sep-15 22:51
professionalJochen Arndt20-Sep-15 22:51 
GeneralRe: Shift + VK_LEFT Pin
_Flaviu20-Sep-15 23:04
Member_Flaviu20-Sep-15 23:04 
GeneralRe: Shift + VK_LEFT Pin
Jochen Arndt20-Sep-15 23:14
professionalJochen Arndt20-Sep-15 23:14 
GeneralRe: Shift + VK_LEFT Pin
_Flaviu20-Sep-15 23:14
Member_Flaviu20-Sep-15 23:14 
GeneralRe: Shift + VK_LEFT Pin
Jochen Arndt20-Sep-15 23:21
professionalJochen Arndt20-Sep-15 23:21 
GeneralRe: Shift + VK_LEFT Pin
_Flaviu20-Sep-15 23:23
Member_Flaviu20-Sep-15 23:23 
GeneralRe: Shift + VK_LEFT Pin
_Flaviu21-Sep-15 22:13
Member_Flaviu21-Sep-15 22:13 
AnswerRe: Shift + VK_LEFT Pin
Richard MacCutchan20-Sep-15 22:32
mveRichard MacCutchan20-Sep-15 22:32 
GeneralRe: Shift + VK_LEFT Pin
_Flaviu20-Sep-15 22:53
Member_Flaviu20-Sep-15 22:53 
GeneralRe: Shift + VK_LEFT Pin
Richard MacCutchan20-Sep-15 23:05
mveRichard MacCutchan20-Sep-15 23:05 
GeneralRe: Shift + VK_LEFT Pin
_Flaviu20-Sep-15 23:15
Member_Flaviu20-Sep-15 23:15 
Question[SOLVED?] Using "this" pointer to "copy" pointer Pin
Vaclav_19-Sep-15 17:11
MemberVaclav_19-Sep-15 17:11 
AnswerRe: Using "this" pointer to "copy" pointer Pin
Richard MacCutchan19-Sep-15 21:10
mveRichard MacCutchan19-Sep-15 21:10 
GeneralRe: Using "this" pointer to "copy" pointer Pin
Vaclav_20-Sep-15 3:02
MemberVaclav_20-Sep-15 3:02 
GeneralRe: Using "this" pointer to "copy" pointer Pin
Richard MacCutchan20-Sep-15 6:42
mveRichard MacCutchan20-Sep-15 6: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.