Click here to Skip to main content
15,911,711 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
AnswerRe: error using WM_PRINT Pin
Mohammad A Gdeisat12-Sep-06 23:05
Mohammad A Gdeisat12-Sep-06 23:05 
QuestionInternet connectivity Pin
Anu_Bala12-Sep-06 22:05
Anu_Bala12-Sep-06 22:05 
AnswerRe: Internet connectivity Pin
Mr.Brainley12-Sep-06 22:41
Mr.Brainley12-Sep-06 22:41 
QuestionHow to access the files Pin
radhika2812-Sep-06 21:29
radhika2812-Sep-06 21:29 
AnswerRe: How to access the files Pin
Naveen12-Sep-06 21:39
Naveen12-Sep-06 21:39 
GeneralRe: How to access the files Pin
radhika2812-Sep-06 21:44
radhika2812-Sep-06 21:44 
GeneralRe: How to access the files Pin
Hamid_RT12-Sep-06 22:08
Hamid_RT12-Sep-06 22:08 
QuestionPreTranslateMessage(), OnCancel() Pin
kumar_mk12-Sep-06 20:49
kumar_mk12-Sep-06 20:49 
Dear members, i have a query, In my dialog box i have an Edit Control that takes numeric value,

Now after typing the value in the edit box, i press RETURN key for some validation to take

place, for this task i am handling the PreTranslateMessage() for the VK_RETURN message, Now the

problem is when i highlight the CANCEL button (with tab button)in the dialog box and try to close the Dialog Box by

pressing ENTER button it is not responding (the dialog box is not closing), the reason is obvious that

since i am handling the PreTranslateMessage() it is not responding, but i also want the dialog to

be closed when i hit the Enter button after highlighting the Cancel button, how can i accomplish

this??

OR is there any other way to handle the RETURN key validation stuff than using PreTranslateMessage(), so that the Cancel button's

original behaviour is not lost.

Please Help!!!



thanx in advance
kumar

AnswerRe: PreTranslateMessage(), OnCancel() Pin
Mr.Brainley12-Sep-06 21:02
Mr.Brainley12-Sep-06 21:02 
AnswerRe: PreTranslateMessage(), OnCancel() Pin
Naveen12-Sep-06 21:29
Naveen12-Sep-06 21:29 
GeneralRe: PreTranslateMessage(), OnCancel() Pin
kumar_mk12-Sep-06 23:12
kumar_mk12-Sep-06 23:12 
QuestionThreads sleep Pin
tiflo12-Sep-06 20:40
tiflo12-Sep-06 20:40 
AnswerRe: Threads sleep Pin
HelloGuysHelpMe12-Sep-06 20:59
HelloGuysHelpMe12-Sep-06 20:59 
GeneralRe: Threads sleep Pin
tiflo13-Sep-06 1:14
tiflo13-Sep-06 1:14 
GeneralRe: Threads sleep Pin
Steve S13-Sep-06 1:38
Steve S13-Sep-06 1:38 
GeneralRe: Threads sleep Pin
tiflo13-Sep-06 5:55
tiflo13-Sep-06 5:55 
Questionhow to get control when right-mouse or middle-mouse click on button??? Pin
michaelleetw12-Sep-06 20:00
michaelleetw12-Sep-06 20:00 
AnswerRe: how to get control when right-mouse or middle-mouse click on button??? Pin
Programm3r12-Sep-06 20:07
Programm3r12-Sep-06 20:07 
AnswerRe: how to get control when right-mouse or middle-mouse click on button??? Pin
Hamid_RT12-Sep-06 22:06
Hamid_RT12-Sep-06 22:06 
AnswerRe: how to get control when right-mouse or middle-mouse click on button??? Pin
Nibu babu thomas12-Sep-06 23:05
Nibu babu thomas12-Sep-06 23:05 
Questionreading data from Base address of a device Pin
vijay_aroli12-Sep-06 19:33
vijay_aroli12-Sep-06 19:33 
AnswerRe: reading data from Base address of a device Pin
Cedric Moonen12-Sep-06 20:43
Cedric Moonen12-Sep-06 20:43 
GeneralRe: reading data from Base address of a device Pin
vijay_aroli12-Sep-06 21:17
vijay_aroli12-Sep-06 21:17 
GeneralRe: reading data from Base address of a device Pin
Steve S13-Sep-06 1:43
Steve S13-Sep-06 1:43 
Questionhow can i get total path of a particular file inserted in a List control. Pin
kiranin12-Sep-06 19:03
kiranin12-Sep-06 19:03 

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.