Click here to Skip to main content
15,898,035 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: putref Question Pin
Brian V Shifrin17-Apr-02 8:33
Brian V Shifrin17-Apr-02 8:33 
QuestionHow to get the stream associated with a SoapSerializer? Pin
Gian Luca17-Apr-02 5:28
Gian Luca17-Apr-02 5:28 
GeneralWin32 question Pin
17-Apr-02 5:26
suss17-Apr-02 5:26 
GeneralRe: Win32 question Pin
Tim Smith17-Apr-02 5:31
Tim Smith17-Apr-02 5:31 
Generalincluding .cpp file Pin
Rajveer17-Apr-02 5:24
Rajveer17-Apr-02 5:24 
GeneralRe: including .cpp file Pin
Phil Speller17-Apr-02 5:39
Phil Speller17-Apr-02 5:39 
GeneralRe: including .cpp file Pin
Thomas Freudenberg17-Apr-02 5:40
Thomas Freudenberg17-Apr-02 5:40 
GeneralPressing Arrow Key Pin
Rajveer17-Apr-02 5:03
Rajveer17-Apr-02 5:03 
How do I check to see if the key being pressed is the up, down, left or right arrow key? i.e. to check if "I" is pressed, I do this:

void CChildFrame::OnKeyDown(UINT nChar, UINT nRepCnt, UINT nFlags)
{
// TODO: Add your message handler code here and/or call default

CMDIChildWnd::OnKeyDown(nChar, nRepCnt, nFlags);

char keypressed = char(nChar);

if(keypressed == 'I')
//Do stuff
}

but what do I write in the if statement to check for an arrow key?
GeneralRe: Pressing Arrow Key Pin
Nish Nishant17-Apr-02 5:17
sitebuilderNish Nishant17-Apr-02 5:17 
GeneralRe: Pressing Arrow Key Pin
Paul M Watt17-Apr-02 5:25
mentorPaul M Watt17-Apr-02 5:25 
GeneralRe: Pressing Arrow Key Pin
Roger Allen17-Apr-02 5:53
Roger Allen17-Apr-02 5:53 
GeneralVC++ DAO Project. Access97 --> Access2000 Pin
Pere LLibre17-Apr-02 3:56
Pere LLibre17-Apr-02 3:56 
GeneralRe: VC++ DAO Project. Access97 --> Access2000 Pin
Nish Nishant17-Apr-02 4:05
sitebuilderNish Nishant17-Apr-02 4:05 
GeneralRe: VC++ DAO Project. Access97 --> Access2000 Pin
Pere LLibre18-Apr-02 3:05
Pere LLibre18-Apr-02 3:05 
GeneralRe: VC++ DAO Project. Access97 --> Access2000 Pin
Carlos Antollini18-Apr-02 4:27
Carlos Antollini18-Apr-02 4:27 
GeneralRe: VC++ DAO Project. Access97 --> Access2000 Pin
Carlos Antollini18-Apr-02 4:28
Carlos Antollini18-Apr-02 4:28 
GeneralRe: VC++ DAO Project. Access97 --> Access2000 Pin
Carlos Antollini18-Apr-02 4:35
Carlos Antollini18-Apr-02 4:35 
GeneralRe: VC++ DAO Project. Access97 --> Access2000 Pin
Pere LLibre18-Apr-02 4:56
Pere LLibre18-Apr-02 4:56 
GeneralRe: VC++ DAO Project. Access97 --> Access2000 Pin
Carlos Antollini18-Apr-02 5:02
Carlos Antollini18-Apr-02 5:02 
GeneralRe: VC++ DAO Project. Access97 --> Access2000 Pin
Carlos Antollini18-Apr-02 4:35
Carlos Antollini18-Apr-02 4:35 
GeneralGet Window Handles Pin
moobob17-Apr-02 3:49
moobob17-Apr-02 3:49 
GeneralRe: Get Window Handles Pin
Ravi Bhavnani17-Apr-02 3:54
professionalRavi Bhavnani17-Apr-02 3:54 
GeneralRe: Get Window Handles Pin
moobob17-Apr-02 5:18
moobob17-Apr-02 5:18 
GeneralRenaming a Registry Key Pin
Andrew Stampor17-Apr-02 3:48
Andrew Stampor17-Apr-02 3:48 
GeneralRe: Renaming a Registry Key Pin
Nish Nishant17-Apr-02 4:02
sitebuilderNish Nishant17-Apr-02 4:02 

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.