Click here to Skip to main content
15,890,932 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
QuestionRe: Local Automation works, remote doesn't Pin
garyflet2-Sep-06 12:26
garyflet2-Sep-06 12:26 
QuestionCCriticalSection Pin
act_x1-Sep-06 11:22
act_x1-Sep-06 11:22 
AnswerRe: CCriticalSection Pin
Chris Losinger1-Sep-06 11:44
professionalChris Losinger1-Sep-06 11:44 
GeneralRe: CCriticalSection Pin
act_x1-Sep-06 11:54
act_x1-Sep-06 11:54 
GeneralRe: CCriticalSection Pin
Chris Losinger1-Sep-06 12:01
professionalChris Losinger1-Sep-06 12:01 
QuestionConsole MFC Fullscreen Pin
Johpoke1-Sep-06 9:55
Johpoke1-Sep-06 9:55 
AnswerRe: Console MFC Fullscreen Pin
Jun Du1-Sep-06 12:12
Jun Du1-Sep-06 12:12 
QuestionSetWizardMode results in wizard too wide for its page Pin
Owen Lawrence1-Sep-06 9:03
Owen Lawrence1-Sep-06 9:03 
Help! I've looked everywhere but can't find the answer.
I create a CPropertySheet containing a bunch of CPropertyPages.
If I launch it using DoModal it looks like it has the right width, i.e. the width of my property pages (which are all the same size).

But when I use SetWizardMode(), the resulting dialog is much wider than it needs to be. The buttons at the bottom are shoved to the right with empty space on the left. But my propertypages (according to Spy++) have been inflated in width. Their controls appear at the left, and there's a large empty space on the right, above the Cancel/Help buttons.

Does anyone have an idea what's going on here, and what I can do about it? I've tried all sorts of things (checking all contents, moving the buttons to the left, etc.) but I must be missing the obvious because nothing works.

You can see this behaviour in a simple app with just a default property page in a property sheet, too. Oh yeah, this is Visual C++ 6.0, and I'm using MFC.

Thanks.

- Owen -
QuestionPointer to CPropertyPage Pin
DanYELL1-Sep-06 7:34
DanYELL1-Sep-06 7:34 
AnswerRe: Pointer to CPropertyPage Pin
Chris Losinger1-Sep-06 9:31
professionalChris Losinger1-Sep-06 9:31 
QuestionCAsyncSocket question Pin
CoolASL1-Sep-06 6:19
CoolASL1-Sep-06 6:19 
AnswerRe: CAsyncSocket question Pin
led mike1-Sep-06 7:48
led mike1-Sep-06 7:48 
AnswerRe: CAsyncSocket question Pin
BrianCharles1-Sep-06 8:00
BrianCharles1-Sep-06 8:00 
GeneralRe: CAsyncSocket question Pin
CoolASL3-Sep-06 1:42
CoolASL3-Sep-06 1:42 
GeneralRe: CAsyncSocket question Pin
BrianCharles4-Sep-06 7:02
BrianCharles4-Sep-06 7:02 
QuestionValidation of matching comments Pin
reddy harish1-Sep-06 4:55
reddy harish1-Sep-06 4:55 
AnswerRe: Validation of matching comments Pin
Zac Howland1-Sep-06 5:21
Zac Howland1-Sep-06 5:21 
AnswerRe: Validation of matching comments Pin
Maximilien1-Sep-06 5:22
Maximilien1-Sep-06 5:22 
AnswerRe: Validation of matching comments Pin
MayankT1-Sep-06 6:00
MayankT1-Sep-06 6:00 
AnswerRe: Validation of matching comments Pin
CoolASL1-Sep-06 6:43
CoolASL1-Sep-06 6:43 
GeneralRe: Validation of matching comments Pin
Stephen Hewitt1-Sep-06 17:46
Stephen Hewitt1-Sep-06 17:46 
GeneralRe: Validation of matching comments Pin
CoolASL3-Sep-06 1:45
CoolASL3-Sep-06 1:45 
QuestionHow to Hook Socket? Pin
Dody_DK1-Sep-06 4:44
Dody_DK1-Sep-06 4:44 
AnswerRe: How to Hook Socket? Pin
Hamid_RT1-Sep-06 22:19
Hamid_RT1-Sep-06 22:19 
QuestionManipulating stringtable at runtime Pin
Andre xxxxxxx1-Sep-06 4:35
Andre xxxxxxx1-Sep-06 4:35 

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.