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

C / C++ / MFC

 
GeneralRe: Why any application get hangs. Pin
sheshidar1-Sep-06 20:45
sheshidar1-Sep-06 20:45 
Questionchange the font color from coding Pin
Anu_Bala1-Sep-06 19:18
Anu_Bala1-Sep-06 19:18 
AnswerRe: change the font color from coding Pin
Hamid_RT1-Sep-06 20:17
Hamid_RT1-Sep-06 20:17 
AnswerRe: change the font color from coding Pin
Waldermort1-Sep-06 20:18
Waldermort1-Sep-06 20:18 
GeneralRe: change the font color from coding Pin
Hamid_RT1-Sep-06 20:29
Hamid_RT1-Sep-06 20:29 
QuestionHow can change color of dialog box Pin
sheshidar1-Sep-06 19:10
sheshidar1-Sep-06 19:10 
AnswerRe: How can change color of dialog box Pin
_AnsHUMAN_ 1-Sep-06 19:37
_AnsHUMAN_ 1-Sep-06 19:37 
GeneralRe: How can change color of dialog box Pin
sheshidar1-Sep-06 19:50
sheshidar1-Sep-06 19:50 
GeneralRe: How can change color of dialog box Pin
Hamid_RT1-Sep-06 20:02
Hamid_RT1-Sep-06 20:02 
GeneralRe: How can change color of dialog box Pin
sheshidar1-Sep-06 20:18
sheshidar1-Sep-06 20:18 
GeneralRe: How can change color of dialog box Pin
_AnsHUMAN_ 1-Sep-06 20:10
_AnsHUMAN_ 1-Sep-06 20:10 
QuestionLocal Automation works, remote doesn't Pin
garyflet1-Sep-06 13:28
garyflet1-Sep-06 13:28 
AnswerRe: Local Automation works, remote doesn't Pin
Stephen Hewitt1-Sep-06 17:40
Stephen Hewitt1-Sep-06 17:40 
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 

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.