Click here to Skip to main content
15,892,697 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
Questionsocket programming Pin
trioum12-Mar-10 18:10
trioum12-Mar-10 18:10 
AnswerRe: socket programming Pin
Rajesh R Subramanian12-Mar-10 19:24
professionalRajesh R Subramanian12-Mar-10 19:24 
AnswerRe: socket programming Pin
«_Superman_»13-Mar-10 17:17
professional«_Superman_»13-Mar-10 17:17 
QuestionChanging Edit box colour on button click Pin
learningvisualc12-Mar-10 17:13
learningvisualc12-Mar-10 17:13 
AnswerRe: Changing Edit box colour on button click Pin
R@jeev K R12-Mar-10 19:02
R@jeev K R12-Mar-10 19:02 
AnswerRe: Changing Edit box colour on button click Pin
«_Superman_»13-Mar-10 17:21
professional«_Superman_»13-Mar-10 17:21 
QuestionSHIFT+F3 Pin
johnalek12-Mar-10 12:19
johnalek12-Mar-10 12:19 
AnswerRe: SHIFT+F3 Pin
Gwenio12-Mar-10 12:52
Gwenio12-Mar-10 12:52 
Depends on the program. Are you using a window? If so, then when you get key up/down (which ever is more appropriate) event for F3, use the following code to test if the shift key is up or down:

if (GetKeyState(VK_SHIFT) < 0) /*do stuff*/;


Notes:
VK_SHIFT is equal to 16.
The test is to see if the high order bit is set.

There are other ways of doing this, but you need to give more information so that we can determine what would work best.
AnswerRe: SHIFT+F3 Pin
Rajesh R Subramanian12-Mar-10 18:38
professionalRajesh R Subramanian12-Mar-10 18:38 
GeneralRe: SHIFT+F3 Pin
Code-o-mat12-Mar-10 23:07
Code-o-mat12-Mar-10 23:07 
GeneralRe: SHIFT+F3 Pin
Rajesh R Subramanian13-Mar-10 3:32
professionalRajesh R Subramanian13-Mar-10 3:32 
GeneralRe: SHIFT+F3 Pin
Code-o-mat13-Mar-10 5:58
Code-o-mat13-Mar-10 5:58 
AnswerRe: SHIFT+F3 Pin
Code-o-mat13-Mar-10 5:59
Code-o-mat13-Mar-10 5:59 
Questioncrash in _tWinMain, crt0.c, XP SP3 only - HELP!! Pin
permutations12-Mar-10 8:33
permutations12-Mar-10 8:33 
AnswerRe: crash in _tWinMain, crt0.c, XP SP3 only - HELP!! Pin
Bram van Kampen12-Mar-10 8:57
Bram van Kampen12-Mar-10 8:57 
GeneralRe: crash in _tWinMain, crt0.c, XP SP3 only - HELP!! Pin
permutations12-Mar-10 9:47
permutations12-Mar-10 9:47 
GeneralRe: crash in _tWinMain, crt0.c, XP SP3 only - HELP!! Pin
Bram van Kampen13-Mar-10 0:54
Bram van Kampen13-Mar-10 0:54 
GeneralRe: crash in _tWinMain, crt0.c, XP SP3 only - HELP!! Pin
permutations13-Mar-10 3:57
permutations13-Mar-10 3:57 
GeneralRe: crash in _tWinMain, crt0.c, XP SP3 only - HELP!! Pin
Bram van Kampen13-Mar-10 9:19
Bram van Kampen13-Mar-10 9:19 
AnswerRe: crash in _tWinMain, crt0.c, XP SP3 only - HELP!! Pin
Chris Losinger12-Mar-10 9:01
professionalChris Losinger12-Mar-10 9:01 
GeneralRe: crash in _tWinMain, crt0.c, XP SP3 only - HELP!! Pin
permutations12-Mar-10 9:41
permutations12-Mar-10 9:41 
GeneralRe: crash in _tWinMain, crt0.c, XP SP3 only - HELP!! Pin
Chris Losinger12-Mar-10 9:59
professionalChris Losinger12-Mar-10 9:59 
GeneralRe: crash in _tWinMain, crt0.c, XP SP3 only - HELP!! Pin
permutations12-Mar-10 10:13
permutations12-Mar-10 10:13 
GeneralRe: crash in _tWinMain, crt0.c, XP SP3 only - HELP!! Pin
Chris Losinger12-Mar-10 10:43
professionalChris Losinger12-Mar-10 10:43 
GeneralRe: crash in _tWinMain, crt0.c, XP SP3 only - HELP!! Pin
permutations12-Mar-10 12:13
permutations12-Mar-10 12:13 

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.