Click here to Skip to main content
15,922,894 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: std::list::sort Pin
Nemanja Trifunovic17-Jul-03 9:40
Nemanja Trifunovic17-Jul-03 9:40 
GeneralRe: std::list::sort Pin
Mike Nordell19-Jul-03 4:50
Mike Nordell19-Jul-03 4:50 
QuestionHow to use DumpElements ? Pin
Sascha17-Jul-03 7:22
Sascha17-Jul-03 7:22 
Generalget state of ctrl key from MSG* Pin
roel_17-Jul-03 6:14
roel_17-Jul-03 6:14 
GeneralRe: get state of ctrl key from MSG* Pin
PJ Arends17-Jul-03 6:40
professionalPJ Arends17-Jul-03 6:40 
GeneralRe: get state of ctrl key from MSG* Pin
Mike Nordell17-Jul-03 8:51
Mike Nordell17-Jul-03 8:51 
GeneralRe: get state of ctrl key from MSG* Pin
PJ Arends17-Jul-03 9:35
professionalPJ Arends17-Jul-03 9:35 
GeneralRe: get state of ctrl key from MSG* Pin
roel_17-Jul-03 23:10
roel_17-Jul-03 23:10 
'He', thank you very much Wink | ;)


I did it because the CView is in a library that I'd like to keep as separate as possible from the application it is going to be used in.

Anyway, the problem turned out to be that I tried to use nFlags in OnKeyDown to determine the state of the Ctrl key - for some reason I thought that nFlags & VK_CONTROL was supposed to give me the state. GetKeyState() was the solution! Thanks to both of you.

cheers,

roel
Generalplace a file into clipboard Pin
tomc17-Jul-03 6:07
tomc17-Jul-03 6:07 
GeneralRe: place a file into clipboard Pin
Mike Nordell17-Jul-03 8:54
Mike Nordell17-Jul-03 8:54 
QuestionHow to stop the msvc optimizer from flushing registers? Pin
Aardappel17-Jul-03 5:35
Aardappel17-Jul-03 5:35 
AnswerRe: How to stop the msvc optimizer from flushing registers? Pin
Ryan Binns17-Jul-03 5:48
Ryan Binns17-Jul-03 5:48 
GeneralRe: How to stop the msvc optimizer from flushing registers? Pin
Mike Nordell17-Jul-03 9:22
Mike Nordell17-Jul-03 9:22 
GeneralRe: How to stop the msvc optimizer from flushing registers? Pin
Ryan Binns17-Jul-03 14:28
Ryan Binns17-Jul-03 14:28 
GeneralRe: How to stop the msvc optimizer from flushing registers? Pin
Aardappel17-Jul-03 21:24
Aardappel17-Jul-03 21:24 
AnswerRe: How to stop the msvc optimizer from flushing registers? Pin
Mike Nordell17-Jul-03 9:08
Mike Nordell17-Jul-03 9:08 
GeneralRe: How to stop the msvc optimizer from flushing registers? Pin
Anonymous17-Jul-03 21:28
Anonymous17-Jul-03 21:28 
GeneralRe: How to stop the msvc optimizer from flushing registers? Pin
Aardappel17-Jul-03 21:30
Aardappel17-Jul-03 21:30 
QuestionHow can I import a nice looking icon? Pin
DanYELL17-Jul-03 5:26
DanYELL17-Jul-03 5:26 
AnswerRe: How can I import a nice looking icon? Pin
pranavamhari17-Jul-03 6:23
pranavamhari17-Jul-03 6:23 
AnswerRe: How can I import a nice looking icon? Pin
Mike Nordell17-Jul-03 9:12
Mike Nordell17-Jul-03 9:12 
GeneralSimple Direct Show question Pin
rrrado17-Jul-03 5:22
rrrado17-Jul-03 5:22 
GeneralRe: Simple Direct Show question Pin
GheeButter17-Jul-03 8:15
GheeButter17-Jul-03 8:15 
QuestionHow can I prevent that an OCX or a Dll is loading more then once? Pin
gar@isogmbh.de17-Jul-03 4:48
gar@isogmbh.de17-Jul-03 4:48 
AnswerRe: How can I prevent that an OCX or a Dll is loading more then once? Pin
Iain Clarke, Warrior Programmer17-Jul-03 5:00
Iain Clarke, Warrior Programmer17-Jul-03 5:00 

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.