Click here to Skip to main content
15,901,666 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
Generalconverting text into bitmaps(urgent help needed) Pin
12-Aug-02 4:48
suss12-Aug-02 4:48 
GeneralRe: converting text into bitmaps(urgent help needed) Pin
Ravi Bhavnani12-Aug-02 11:08
professionalRavi Bhavnani12-Aug-02 11:08 
Generaldisable enter and escape Pin
Zizilamoroso12-Aug-02 4:41
Zizilamoroso12-Aug-02 4:41 
GeneralRe: disable enter and escape Pin
Chris Losinger12-Aug-02 4:47
professionalChris Losinger12-Aug-02 4:47 
GeneralRe: disable enter and escape Pin
Zizilamoroso12-Aug-02 5:00
Zizilamoroso12-Aug-02 5:00 
GeneralRe: disable enter and escape Pin
Brian Delahunty12-Aug-02 5:38
Brian Delahunty12-Aug-02 5:38 
GeneralRe: disable enter and escape Pin
Chris Losinger12-Aug-02 5:45
professionalChris Losinger12-Aug-02 5:45 
GeneralRe: disable enter and escape Pin
Zizilamoroso12-Aug-02 6:20
Zizilamoroso12-Aug-02 6:20 
And let's say there's another control in the dialog, one that needs the enter-key (ex. TreeCtrl in editlabel mode).

if we override the pretranslatemessage like you showed above, we have to manualy take care of all that. Or am I wrong?

we can't dispatch it to the CDialog::PreTranslateMessage member, cause the enter key will close the dialog.

A member like CDialog::SetAutoClose(TRUE/FALSE) doesn't exits, is it? Smile | :)



[VISUAL STUDIO 6.0] [MFC] [WIN98/2]

Dead | X| Bluute tette! Dead | X|
GeneralRe: disable enter and escape Pin
Chris Losinger12-Aug-02 6:37
professionalChris Losinger12-Aug-02 6:37 
GeneralRe: disable enter and escape Pin
lucy12-Aug-02 9:23
lucy12-Aug-02 9:23 
GeneralRe: disable enter and escape Pin
Zizilamoroso13-Aug-02 6:25
Zizilamoroso13-Aug-02 6:25 
GeneralHelp select custom line in virtual CListView Pin
Stas12-Aug-02 4:28
Stas12-Aug-02 4:28 
Generaltrouble with ifstream - kinda wierd Pin
12-Aug-02 4:18
suss12-Aug-02 4:18 
GeneralRe: trouble with ifstream - kinda wierd Pin
Brian Delahunty12-Aug-02 5:45
Brian Delahunty12-Aug-02 5:45 
Generalsymbols in list box string Pin
kramery12-Aug-02 4:10
susskramery12-Aug-02 4:10 
GeneralRe: symbols in list box string Pin
pépé12-Aug-02 21:53
pépé12-Aug-02 21:53 
QuestionHow can I change the background color on a date/time picker? Pin
DanYELL12-Aug-02 4:03
DanYELL12-Aug-02 4:03 
AnswerRe: How can I change the background color on a date/time picker? Pin
Ranjan Banerji12-Aug-02 6:26
Ranjan Banerji12-Aug-02 6:26 
GeneralGetting the Exact Time (in ms) Pin
LittleYellowBird12-Aug-02 3:18
LittleYellowBird12-Aug-02 3:18 
GeneralRe: Getting the Exact Time (in ms) Pin
Tomasz Sowinski12-Aug-02 3:30
Tomasz Sowinski12-Aug-02 3:30 
GeneralCustom control based on dialog Pin
Wim Jans12-Aug-02 3:12
Wim Jans12-Aug-02 3:12 
GeneralRe: Custom control based on dialog Pin
Tomasz Sowinski12-Aug-02 3:15
Tomasz Sowinski12-Aug-02 3:15 
GeneralRe: Custom control based on dialog Pin
Wim Jans12-Aug-02 5:35
Wim Jans12-Aug-02 5:35 
Generalproblem with propertysheetex Pin
toon12-Aug-02 2:58
toon12-Aug-02 2:58 
GeneralAccess Database mysteries in VC++... Pin
Anonymous12-Aug-02 2:57
Anonymous12-Aug-02 2:57 

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.