Click here to Skip to main content
15,914,071 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
Questionhow to get a pointer to dialog associated with splitter view Pin
blue178910-Feb-05 17:02
sussblue178910-Feb-05 17:02 
GeneralHelp pls! How to fix splitter last row height Pin
dejavusoft10-Feb-05 16:19
dejavusoft10-Feb-05 16:19 
GeneralSerializing problem Pin
Yulianto.10-Feb-05 16:03
Yulianto.10-Feb-05 16:03 
GeneralRe: Serializing problem Pin
David Crow11-Feb-05 3:16
David Crow11-Feb-05 3:16 
GeneralC++ memory Pin
SnuhEyeless10-Feb-05 15:57
SnuhEyeless10-Feb-05 15:57 
GeneralRe: C++ memory Pin
rocky_pulley11-Feb-05 0:36
rocky_pulley11-Feb-05 0:36 
GeneralRe: C++ memory Pin
SnuhEyeless13-Feb-05 8:36
SnuhEyeless13-Feb-05 8:36 
GeneralPrevent closing in CPropertySheet Pin
Zero_divide_110-Feb-05 14:20
Zero_divide_110-Feb-05 14:20 
Okay, I'm having this problem and don't want to have to do too much in order to get it to work properly. I have a wizard set up using CPropertySheet. There is a property page that is shown that begins processing information and displaying its progress on the shown CPropertyPage, but when the user presses cancel I want the overrided CPropertyPage method OnCancel to be called so it can tell the CPropertySheet parent to switch to the appropriate error page (lets say when its processing and the user presses cancel, I want it to kill the thread processing the data (got it to do that), and switch pages automatically telling the user that the processing wasn't completed because it was canceled). I know that when I click the "Cancel" button on the sheet that it fires the OnCancel method, but even if I prevent the following statement from executing, it still closes the window:
CPropertyPage::OnCancel();
How do I stop the sheet window from closing when I press Cancel and do what I tell it in my overrided OnCancel method?
GeneralDrawing button Pin
joy00710-Feb-05 13:46
joy00710-Feb-05 13:46 
GeneralRe: Drawing button Pin
rocky_pulley11-Feb-05 4:25
rocky_pulley11-Feb-05 4:25 
GeneralTop Windows Pin
Joel Holdsworth10-Feb-05 11:40
Joel Holdsworth10-Feb-05 11:40 
GeneralRe: Top Windows Pin
rocky_pulley10-Feb-05 11:47
rocky_pulley10-Feb-05 11:47 
GeneralRe: Top Windows Pin
ThatsAlok10-Feb-05 18:37
ThatsAlok10-Feb-05 18:37 
GeneralRe: Top Windows Pin
Joel Holdsworth11-Feb-05 5:33
Joel Holdsworth11-Feb-05 5:33 
GeneralRe: Top Windows Pin
ThatsAlok12-Feb-05 1:59
ThatsAlok12-Feb-05 1:59 
QuestionHow can refresh screen? Pin
sysmatrix10-Feb-05 10:49
sysmatrix10-Feb-05 10:49 
AnswerRe: How can refresh screen? Pin
David Crow10-Feb-05 11:13
David Crow10-Feb-05 11:13 
AnswerRe: How can refresh screen? Pin
sysmatrix10-Feb-05 11:19
sysmatrix10-Feb-05 11:19 
AnswerRe: How can refresh screen? Pin
rocky_pulley10-Feb-05 11:46
rocky_pulley10-Feb-05 11:46 
AnswerRe: How can refresh screen? Pin
Ravi Bhavnani10-Feb-05 11:57
professionalRavi Bhavnani10-Feb-05 11:57 
AnswerRe: How can refresh screen? Pin
Michael Dunn10-Feb-05 13:02
sitebuilderMichael Dunn10-Feb-05 13:02 
AnswerRe: How can refresh screen? Pin
uday__m11-Feb-05 2:48
uday__m11-Feb-05 2:48 
Generaldialogs Pin
Member 169273510-Feb-05 10:38
Member 169273510-Feb-05 10:38 
GeneralRe: dialogs Pin
David Crow10-Feb-05 11:14
David Crow10-Feb-05 11:14 
GeneralOwner Draw Crashing Pin
sir kaber10-Feb-05 10:34
sir kaber10-Feb-05 10:34 

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.