Click here to Skip to main content
15,943,233 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
AnswerRe: SetIcon - Assertion Failed Pin
Mark Salsbery8-Aug-08 14:07
Mark Salsbery8-Aug-08 14:07 
GeneralRe: SetIcon - Assertion Failed Pin
simon alec smith8-Aug-08 14:15
simon alec smith8-Aug-08 14:15 
GeneralRe: SetIcon - Assertion Failed Pin
Mark Salsbery8-Aug-08 14:23
Mark Salsbery8-Aug-08 14:23 
GeneralRe: SetIcon - Assertion Failed Pin
simon alec smith8-Aug-08 14:45
simon alec smith8-Aug-08 14:45 
GeneralRe: SetIcon - Assertion Failed Pin
Mark Salsbery8-Aug-08 14:54
Mark Salsbery8-Aug-08 14:54 
GeneralRe: SetIcon - Assertion Failed Pin
simon alec smith8-Aug-08 14:59
simon alec smith8-Aug-08 14:59 
QuestionCFileDialog Save As file name extension change Pin
Darryl Bryk8-Aug-08 13:34
Darryl Bryk8-Aug-08 13:34 
AnswerRe: CFileDialog Save As file name extension change Pin
Mark Salsbery8-Aug-08 14:04
Mark Salsbery8-Aug-08 14:04 
This could work:

1) Derive a class from CFileDialog

2) Override the OnTypeChange() method (the CDN_TYPECHANGE
notification handler)

3) In your OnTypeChange() override, use CFileDialog::SetControlText()
to set the text for the control containing the filename to the
appropriate default filename (the IDs for the controls can be
found here: Open and Save As Dialog Boxes[^])

Mark

Mark Salsbery
Microsoft MVP - Visual C++

Java | [Coffee]

GeneralRe: CFileDialog Save As file name extension change Pin
Darryl Bryk14-Aug-08 14:45
Darryl Bryk14-Aug-08 14:45 
GeneralRe: CFileDialog Save As file name extension change Pin
Mark Salsbery14-Aug-08 16:40
Mark Salsbery14-Aug-08 16:40 
GeneralRe: CFileDialog Save As file name extension change Pin
Darryl Bryk15-Aug-08 7:02
Darryl Bryk15-Aug-08 7:02 
GeneralRe: CFileDialog Save As file name extension change Pin
Mark Salsbery15-Aug-08 7:21
Mark Salsbery15-Aug-08 7:21 
GeneralRe: CFileDialog Save As file name extension change Pin
Darryl Bryk14-Oct-08 7:36
Darryl Bryk14-Oct-08 7:36 
GeneralRe: CFileDialog Save As file name extension change Pin
Mark Salsbery14-Oct-08 8:30
Mark Salsbery14-Oct-08 8:30 
QuestionDLL Lookup based on UUID Pin
bulg8-Aug-08 13:05
bulg8-Aug-08 13:05 
AnswerRe: DLL Lookup based on UUID Pin
Randor 10-Aug-08 5:13
professional Randor 10-Aug-08 5:13 
GeneralRe: DLL Lookup based on UUID Pin
bulg12-Aug-08 12:34
bulg12-Aug-08 12:34 
QuestionC++ Lat and Long distance question Pin
winburn8-Aug-08 11:22
winburn8-Aug-08 11:22 
AnswerRe: C++ Lat and Long distance question Pin
Perspx8-Aug-08 11:37
Perspx8-Aug-08 11:37 
GeneralRe: C++ Lat and Long distance question Pin
winburn8-Aug-08 11:43
winburn8-Aug-08 11:43 
AnswerRe: C++ Lat and Long distance question Pin
Perspx8-Aug-08 12:32
Perspx8-Aug-08 12:32 
GeneralRe: C++ Lat and Long distance question Pin
winburn8-Aug-08 12:47
winburn8-Aug-08 12:47 
GeneralRe: C++ Lat and Long distance question Pin
Perspx8-Aug-08 12:50
Perspx8-Aug-08 12:50 
GeneralRe: C++ Lat and Long distance question Pin
winburn8-Aug-08 13:51
winburn8-Aug-08 13:51 
GeneralRe: C++ Lat and Long distance question Pin
Perspx8-Aug-08 14:14
Perspx8-Aug-08 14:14 

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.