Click here to Skip to main content
15,897,518 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralTopics in MFC Programming Pin
phijophlip23-Jan-05 2:45
phijophlip23-Jan-05 2:45 
GeneralRe: Topics in MFC Programming Pin
Maximilien23-Jan-05 9:14
Maximilien23-Jan-05 9:14 
GeneralFatal error LNK1103: debugging information corrupt; recompile module Pin
Behzad Ebrahimi23-Jan-05 2:10
Behzad Ebrahimi23-Jan-05 2:10 
GeneralRe: Fatal error LNK1103: debugging information corrupt; recompile module Pin
Ryan Binns23-Jan-05 17:49
Ryan Binns23-Jan-05 17:49 
GeneralRe: Fatal error LNK1103: debugging information corrupt; recompile module Pin
Behzad Ebrahimi24-Jan-05 1:31
Behzad Ebrahimi24-Jan-05 1:31 
QuestionHow to dump NT hashes from local machine? Pin
sfirouza23-Jan-05 1:25
sfirouza23-Jan-05 1:25 
GeneralProblem in calling lapack in Matlab MEX program Pin
tttyip22-Jan-05 23:29
tttyip22-Jan-05 23:29 
GeneralOnHotKey Problem!!! Pin
FreewareFire22-Jan-05 21:56
FreewareFire22-Jan-05 21:56 
Hi,

i have a problem using the OnHotKey-event. I'am using CTRL+F1 as a Hotkey. My problem is
that i want to know if the CTRL button has been released. How can i check if the CTRL key is released in the OnHotKey-event? I tried GetKeyboardState, GetKeyState and so on. Can anyone post a short code to check a state of a key in the OnHotKey-Event.

e.g.

OnHotKey()...

if (wParam = 100) //CTRL+F1 has been pressed
{
//here i need to check if the CTRL key has been released!
//if not: repeat until we have the release signal!

//something like a wait for event... only if the real CTRL key at the keyboard
//has released we go on here...
}

and that little problem: how can i detect which window is in foreground? GetForegroundWindow of course but it seems not to work with PC Games. I need to know the active application who is currently running the focus.


THX to all!!!

JR20
GeneralDebug mode in COM ... Pin
omkar joshi22-Jan-05 21:41
omkar joshi22-Jan-05 21:41 
GeneralRe: Debug mode in COM ... Pin
Tim Deveaux23-Jan-05 3:18
Tim Deveaux23-Jan-05 3:18 
Generalencryption...pls help! Pin
mytz22-Jan-05 19:19
mytz22-Jan-05 19:19 
GeneralCrypto++ help Pin
Neville Franks22-Jan-05 16:51
Neville Franks22-Jan-05 16:51 
GeneralResource loading fails in a static library (.lib) Pin
Mr. Accident22-Jan-05 16:45
Mr. Accident22-Jan-05 16:45 
GeneralRe: Resource loading fails in a static library (.lib) Pin
rschuler3-Jun-05 6:46
rschuler3-Jun-05 6:46 
GeneralRe: Resource loading fails in a static library (.lib) Pin
Mr. Accident3-Jun-05 8:47
Mr. Accident3-Jun-05 8:47 
GeneralInno Setup Pin
Anonymous22-Jan-05 16:19
Anonymous22-Jan-05 16:19 
GeneralRe: Inno Setup Pin
Gary R. Wheeler23-Jan-05 3:59
Gary R. Wheeler23-Jan-05 3:59 
GeneralRe: Inno Setup Pin
Anonymous24-Jan-05 4:17
Anonymous24-Jan-05 4:17 
GeneralRe: Inno Setup Pin
Gary R. Wheeler25-Jan-05 12:51
Gary R. Wheeler25-Jan-05 12:51 
Generalpointer range question Pin
nm_11422-Jan-05 15:47
nm_11422-Jan-05 15:47 
GeneralControlling memory leaks Pin
stefane_filion22-Jan-05 9:53
stefane_filion22-Jan-05 9:53 
Generalconst type; Pin
Bo Hunter22-Jan-05 8:15
Bo Hunter22-Jan-05 8:15 
GeneralRe: const type; Pin
Maximilien22-Jan-05 8:48
Maximilien22-Jan-05 8:48 
GeneralRe: const type; Pin
Joaquín M López Muñoz23-Jan-05 4:50
Joaquín M López Muñoz23-Jan-05 4:50 
QuestionHow to idntification device manufacture of pocket pc? Pin
arash47122-Jan-05 7:24
arash47122-Jan-05 7:24 

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.