Click here to Skip to main content
15,909,656 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralUsing Global Variable in MFC application Pin
Speedy20-May-02 14:06
Speedy20-May-02 14:06 
GeneralRe: Using Global Variable in MFC application Pin
Matt Gullett20-May-02 14:14
Matt Gullett20-May-02 14:14 
GeneralRe: Using Global Variable in MFC application Pin
Christian Graus20-May-02 14:09
protectorChristian Graus20-May-02 14:09 
GeneralRe: Using Global Variable in MFC application Pin
Matt Gullett20-May-02 14:24
Matt Gullett20-May-02 14:24 
GeneralRe: Using Global Variable in MFC application Pin
Christian Graus20-May-02 14:22
protectorChristian Graus20-May-02 14:22 
GeneralDetecting Key Combination Pin
soup20-May-02 13:19
soup20-May-02 13:19 
GeneralRe: Detecting Key Combination Pin
Matt Gullett20-May-02 13:31
Matt Gullett20-May-02 13:31 
GeneralRe: Detecting Key Combination Pin
soup20-May-02 23:12
soup20-May-02 23:12 
Hi Matt,

Thanks for the response, you put me in the right place!

I handle WM_KEYDOWN already, so I elected for option 2, and you are right to mention GetKeyState. It works when I do the following:

if((nChar == 32) && (GetKeyState(VK_CONTROL) >> 7) == -1))
{
// it happened
}

Is this how you would expect to do it?

Simon
QuestionSystem shutdown behaviour? Pin
Surender20-May-02 12:30
Surender20-May-02 12:30 
AnswerRe: System shutdown behaviour? Pin
Joaquín M López Muñoz20-May-02 12:43
Joaquín M López Muñoz20-May-02 12:43 
AnswerRe: System shutdown behaviour? Pin
Surender21-May-02 7:54
Surender21-May-02 7:54 
GeneralIWebBrowser2 and Document Pin
Philip Patrick20-May-02 11:57
professionalPhilip Patrick20-May-02 11:57 
GeneralRe: IWebBrowser2 and Document Pin
Marc Richarme20-May-02 12:13
Marc Richarme20-May-02 12:13 
GeneralRe: IWebBrowser2 and Document Pin
Alex Cramer20-May-02 16:26
Alex Cramer20-May-02 16:26 
GeneralRe: IWebBrowser2 and Document Pin
Philip Patrick20-May-02 20:53
professionalPhilip Patrick20-May-02 20:53 
QuestionTabbed CView ala Excel? Pin
Robert Vista20-May-02 11:48
Robert Vista20-May-02 11:48 
QuestionPress enter in combobox? Pin
20-May-02 11:11
suss20-May-02 11:11 
AnswerRe: Press enter in combobox? Pin
James R. Twine20-May-02 11:14
James R. Twine20-May-02 11:14 
Generalstd::string transformation Pin
Carlos Sánchez García20-May-02 10:54
Carlos Sánchez García20-May-02 10:54 
GeneralRe: std::string transformation Pin
Joaquín M López Muñoz20-May-02 11:08
Joaquín M López Muñoz20-May-02 11:08 
GeneralRe: std::string transformation Pin
Joaquín M López Muñoz20-May-02 21:03
Joaquín M López Muñoz20-May-02 21:03 
GeneralPointer to member function Pin
Aaron Schaefer20-May-02 10:50
Aaron Schaefer20-May-02 10:50 
GeneralRe: Pointer to member function Pin
Joaquín M López Muñoz20-May-02 10:58
Joaquín M López Muñoz20-May-02 10:58 
GeneralRe: Pointer to member function Pin
Aaron Schaefer21-May-02 3:34
Aaron Schaefer21-May-02 3:34 
GeneralRe: Pointer to member function Pin
Chris Losinger20-May-02 11:04
professionalChris Losinger20-May-02 11:04 

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.