Click here to Skip to main content
15,906,455 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: the big-ending and little-ending Pin
pasztorpisti14-Apr-13 8:29
pasztorpisti14-Apr-13 8:29 
AnswerRe: the big-ending and little-ending Pin
Erudite_Eric13-Apr-13 23:37
Erudite_Eric13-Apr-13 23:37 
AnswerRe: the big-ending and little-ending Pin
jschell14-Apr-13 7:08
jschell14-Apr-13 7:08 
AnswerRe: the big-ending and little-ending Pin
Sarath C15-Apr-13 7:09
Sarath C15-Apr-13 7:09 
QuestionHandling Cdialog's in a App. Pin
Donguy197612-Apr-13 16:50
Donguy197612-Apr-13 16:50 
AnswerRe: Handling Cdialog's in a App. Pin
Richard MacCutchan12-Apr-13 22:07
mveRichard MacCutchan12-Apr-13 22:07 
SuggestionRe: Handling Cdialog's in a App. Pin
David Crow13-Apr-13 15:30
David Crow13-Apr-13 15:30 
GeneralRe: Handling Cdialog's in a App. Pin
H.Brydon15-Apr-13 18:02
professionalH.Brydon15-Apr-13 18:02 
DavidCrow wrote:
Derive all of your dialogs from a common class. In that base class, override OnInitDialog() and OnCancel() to adjust your counters accordingly.


More specifically, write a new class MyCDialog which derives from CDialog, and implements OnInitDialog() and OnCancel() as DavidCrow describes, then change all of your existing dlg classes that derive from CDialog to derive from MyCDialog. [Specifically, if a class doesn't derive from CDialog directly, then don't change it.]
--
Harvey

QuestionOutlook MSG files Pin
Joe Woodbury12-Apr-13 7:26
professionalJoe Woodbury12-Apr-13 7:26 
QuestionRe: Outlook MSG files Pin
David Crow13-Apr-13 15:32
David Crow13-Apr-13 15:32 
AnswerRe: Outlook MSG files Pin
Joe Woodbury13-Apr-13 15:56
professionalJoe Woodbury13-Apr-13 15:56 
QuestionDetecting when a file copy is complete Pin
Charles Blessing12-Apr-13 5:17
Charles Blessing12-Apr-13 5:17 
QuestionRe: Detecting when a file copy is complete Pin
David Crow12-Apr-13 5:22
David Crow12-Apr-13 5:22 
AnswerRe: Detecting when a file copy is complete Pin
Joe Woodbury12-Apr-13 8:08
professionalJoe Woodbury12-Apr-13 8:08 
GeneralRe: Detecting when a file copy is complete Pin
H.Brydon12-Apr-13 11:39
professionalH.Brydon12-Apr-13 11:39 
QuestionGet all window hadles Pin
Donguy197612-Apr-13 5:06
Donguy197612-Apr-13 5:06 
SuggestionRe: Get all window hadles Pin
David Crow12-Apr-13 5:17
David Crow12-Apr-13 5:17 
GeneralRe: Get all window hadles Pin
Donguy197612-Apr-13 10:22
Donguy197612-Apr-13 10:22 
GeneralRe: Get all window hadles Pin
ITboy_Lemon13-Apr-13 5:59
professionalITboy_Lemon13-Apr-13 5:59 
QuestionIs it a good practice to use continue Pin
Argonia12-Apr-13 0:27
professionalArgonia12-Apr-13 0:27 
AnswerRe: Is it a good practice to use continue Pin
Erudite_Eric12-Apr-13 0:49
Erudite_Eric12-Apr-13 0:49 
AnswerRe: Is it a good practice to use continue Pin
pasztorpisti12-Apr-13 2:04
pasztorpisti12-Apr-13 2:04 
GeneralRe: Is it a good practice to use continue Pin
Erudite_Eric12-Apr-13 2:42
Erudite_Eric12-Apr-13 2:42 
GeneralRe: Is it a good practice to use continue Pin
pasztorpisti12-Apr-13 6:05
pasztorpisti12-Apr-13 6:05 
GeneralRe: Is it a good practice to use continue Pin
Erudite_Eric16-Apr-13 4:56
Erudite_Eric16-Apr-13 4:56 

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.