Click here to Skip to main content
15,902,635 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: Saving information in Registry. Pin
Nish Nishant10-Jul-02 17:46
sitebuilderNish Nishant10-Jul-02 17:46 
GeneralRe: Saving information in Registry. Pin
sudip11-Jul-02 6:45
sudip11-Jul-02 6:45 
GeneralVisual C++ and MFC Pin
Sid Kraft10-Jul-02 11:26
Sid Kraft10-Jul-02 11:26 
GeneralRe: Visual C++ and MFC Pin
Chris Losinger10-Jul-02 11:34
professionalChris Losinger10-Jul-02 11:34 
GeneralRe: Visual C++ and MFC Pin
Desmond Mardle12-Jul-02 8:54
Desmond Mardle12-Jul-02 8:54 
GeneralOnPrint() Help Pin
Desmond Mardle10-Jul-02 11:00
Desmond Mardle10-Jul-02 11:00 
GeneralRe: OnPrint() Help Pin
Joaquín M López Muñoz10-Jul-02 12:45
Joaquín M López Muñoz10-Jul-02 12:45 
GeneralRe: How to maximize dialog at start of Application and++ Pin
sudip10-Jul-02 11:08
sudip10-Jul-02 11:08 
Well for the first query:
1) What you have done is right but in the wrong place. You probably have done it in App's InitInstance and after the DoModal() call. The correct place to do it is in the WM_SHOWWINDOW handler in the dialog class.. Just Override WM_SHOWWINDOW and type in ShowWindow(SW_MAXIMIZE).. its gonna work. You can also do it in the InitDialog handler.

2) Override the Oncalcel function in your derived Class. Make sure u don't call CDialog::OnCancel() in it.

Thats it
SudipSleepy | :zzz:
GeneralRegions in GDI+ Pin
Anonymous10-Jul-02 10:35
Anonymous10-Jul-02 10:35 
GeneralRe: Regions in GDI+ Pin
567890123410-Jul-02 19:43
567890123410-Jul-02 19:43 
GeneralWhat is the diff. between GDI and GDI+? Pin
Srini Kella11-Jul-02 8:33
Srini Kella11-Jul-02 8:33 
GeneralRe: What is the diff. between GDI and GDI+? Pin
NormDroid11-Jul-02 9:01
professionalNormDroid11-Jul-02 9:01 
GeneralThank you very much. Pin
Srini Kella11-Jul-02 10:28
Srini Kella11-Jul-02 10:28 
GeneralRe: What is the diff. between GDI and GDI+? Pin
Jay Beckert11-Jul-02 16:30
Jay Beckert11-Jul-02 16:30 
GeneralRe: What is the diff. between GDI and GDI+? Pin
Jay Beckert12-Jul-02 8:18
Jay Beckert12-Jul-02 8:18 
GeneralRe: What is the diff. between GDI and GDI+? Pin
NormDroid12-Jul-02 11:31
professionalNormDroid12-Jul-02 11:31 
GeneralRe: What is the diff. between GDI and GDI+? Pin
Jay Beckert12-Jul-02 18:30
Jay Beckert12-Jul-02 18:30 
QuestionCFileDialog, user specify directory only ? Pin
Robert Palma Jr.10-Jul-02 9:46
Robert Palma Jr.10-Jul-02 9:46 
AnswerRe: CFileDialog, user specify directory only ? Pin
Michael Dunn10-Jul-02 10:12
sitebuilderMichael Dunn10-Jul-02 10:12 
GeneralRe: CFileDialog, user specify directory only ? Pin
Robert Palma Jr.10-Jul-02 11:21
Robert Palma Jr.10-Jul-02 11:21 
GeneralRe: CFileDialog, user specify directory only ? Pin
Michael Dunn11-Jul-02 16:10
sitebuilderMichael Dunn11-Jul-02 16:10 
AnswerRe: CFileDialog, user specify directory only ? Pin
Desmond Mardle10-Jul-02 11:23
Desmond Mardle10-Jul-02 11:23 
AnswerRe: CFileDialog, user specify directory only ? Pin
Desmond Mardle11-Jul-02 4:43
Desmond Mardle11-Jul-02 4:43 
GeneralRe: CFileDialog, user specify directory only ? Pin
Robert Palma Jr.11-Jul-02 10:36
Robert Palma Jr.11-Jul-02 10:36 
QuestionMem Usage??? Pin
Srini Kella10-Jul-02 9:17
Srini Kella10-Jul-02 9:17 

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.