Click here to Skip to main content
15,921,905 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: Convert Screen Rect to Printer Rect Pin
Gilfrog11-Mar-03 8:08
Gilfrog11-Mar-03 8:08 
GeneralMFC42D.DLL not found !!! Pin
ZarrinPour11-Mar-03 7:34
ZarrinPour11-Mar-03 7:34 
GeneralRe: MFC42D.DLL not found !!! Pin
User 665811-Mar-03 7:59
User 665811-Mar-03 7:59 
Generalw2000 & w98 Pin
doctorpi11-Mar-03 7:27
doctorpi11-Mar-03 7:27 
GeneralRe: w2000 & w98 Pin
Mike Nordell11-Mar-03 19:33
Mike Nordell11-Mar-03 19:33 
GeneralWindow Pin
wanju11-Mar-03 6:42
wanju11-Mar-03 6:42 
GeneralRe: Window Pin
Big Art11-Mar-03 7:01
Big Art11-Mar-03 7:01 
GeneralCPropertySheet Default Button Pin
Wim Jans11-Mar-03 6:38
Wim Jans11-Mar-03 6:38 
Hello,

I have a dialog window based on CPropertySheet and I've added 2 CPropertyPages.

I have 2 questions:
1) The constructor gives me also an apply button, but I can't find a way to get rid of it. I don't need it.
2) On my CPropertyPages I also have a default button. If I press <enter> the dialog closes instead of doing the functionality behind my page default button.
I tried to override the OnOk on my Page, this shows my test message, so it is executed, but still the dialog closes. Any ideas how to override the CPropertySheet dialog default button so my CPropertyPage default button is executed, and nothing else?

Thanks

Wim
GeneralRe: CPropertySheet Default Button Pin
dazinith11-Mar-03 8:20
dazinith11-Mar-03 8:20 
GeneralRe: CPropertySheet Default Button Pin
Wim Jans11-Mar-03 21:25
Wim Jans11-Mar-03 21:25 
GeneralRe: CPropertySheet Default Button Pin
Wim Jans11-Mar-03 21:53
Wim Jans11-Mar-03 21:53 
GeneralGDI resources Pin
doctorpi11-Mar-03 6:28
doctorpi11-Mar-03 6:28 
GeneralRe: GDI resources Pin
MAAK11-Mar-03 8:55
MAAK11-Mar-03 8:55 
GeneralPlayEnhMetaFile on CreateDIBSection Pin
dr_nick_riviera11-Mar-03 6:06
dr_nick_riviera11-Mar-03 6:06 
GeneralPlayEnhMetaFile Pin
dr_nick_riviera11-Mar-03 6:04
dr_nick_riviera11-Mar-03 6:04 
QuestionSeparate all lines in a string? Pin
Rickard Andersson2011-Mar-03 6:02
Rickard Andersson2011-Mar-03 6:02 
AnswerRe: Separate all lines in a string? Pin
Big Art11-Mar-03 7:27
Big Art11-Mar-03 7:27 
GeneralRe: Separate all lines in a string? Pin
Rickard Andersson2011-Mar-03 8:34
Rickard Andersson2011-Mar-03 8:34 
AnswerRe: Separate all lines in a string? Pin
Alvaro Mendez11-Mar-03 11:13
Alvaro Mendez11-Mar-03 11:13 
AnswerRe: Separate all lines in a string? Pin
valikac11-Mar-03 12:16
valikac11-Mar-03 12:16 
QuestionPopup MsgBox without a parent to pass? Pin
dazinith11-Mar-03 6:01
dazinith11-Mar-03 6:01 
AnswerRe: Popup MsgBox without a parent to pass? Pin
dazinith11-Mar-03 6:17
dazinith11-Mar-03 6:17 
GeneralRe: Popup MsgBox without a parent to pass? Pin
Alvaro Mendez11-Mar-03 11:17
Alvaro Mendez11-Mar-03 11:17 
QuestionWhat is wrong with this code? An URGENT question. Pin
mijarral11-Mar-03 5:57
mijarral11-Mar-03 5:57 
AnswerRe: What is wrong with this code? An URGENT question. Pin
Maximilien11-Mar-03 6:32
Maximilien11-Mar-03 6:32 

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.