Click here to Skip to main content
15,887,344 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
QuestionRST Template Matching Pin
cherrymotion22-Mar-10 6:20
cherrymotion22-Mar-10 6:20 
AnswerRe: RST Template Matching Pin
Tim Craig22-Mar-10 9:45
Tim Craig22-Mar-10 9:45 
GeneralRe: RST Template Matching Pin
cherrymotion22-Mar-10 11:05
cherrymotion22-Mar-10 11:05 
GeneralRe: RST Template Matching Pin
Tim Craig22-Mar-10 13:48
Tim Craig22-Mar-10 13:48 
GeneralRe: RST Template Matching Pin
cherrymotion23-Mar-10 11:18
cherrymotion23-Mar-10 11:18 
GeneralRe: RST Template Matching Pin
Tim Craig23-Mar-10 12:53
Tim Craig23-Mar-10 12:53 
GeneralRe: RST Template Matching Pin
cherrymotion25-Mar-10 6:46
cherrymotion25-Mar-10 6:46 
QuestionModeless dialog frame sizing in MFC MDI Pin
Vaclav_22-Mar-10 3:38
Vaclav_22-Mar-10 3:38 
Could someone more experienced with dialog frame sizing clarify for me how does MFC MDI determines the size of the MDIChildFrame?
My modeless dialog is in FormView ( Property Sheet component) and I can re-size that by changing the dialog resource. I am using tabs and the dialog frame follows the largest tab / page.
When I use ResizeParentToFit() in OnInitialUpdate of the FromView I end up with a small frame.
However, when I skip the ResizeParentToFit() and use ShowWindow(SW_SHOWMAXIMIZED) I get different , large, FormView frame.
I stepped thru the ResizeParentToFit() and still do not see where are the view area dimensions coming from. They seems to be the actual dimensions used by ResizeParentToFit() and ShowWindow(SW_SHOWMAXIMIZED) .

What I really want is to maximize the FormView programatically to fit the whole MainFrame.
The automatic sizing the dialog frame itself is fine, but not exactly what I want.
Any constructive help is as always appreciated.
Thanks for your time.
Vaclav
AnswerRe: Modeless dialog frame sizing in MFC MDI Pin
KarstenK22-Mar-10 5:00
mveKarstenK22-Mar-10 5:00 
GeneralRe: Modeless dialog frame sizing in MFC MDI Pin
Vaclav_22-Mar-10 6:02
Vaclav_22-Mar-10 6:02 
Questionlarger toolbar images Pin
josip cagalj22-Mar-10 1:12
josip cagalj22-Mar-10 1:12 
AnswerRe: larger toolbar images Pin
mesajflaviu22-Mar-10 8:55
mesajflaviu22-Mar-10 8:55 
GeneralRe: larger toolbar images Pin
josip cagalj22-Mar-10 23:27
josip cagalj22-Mar-10 23:27 
AnswerRe: larger toolbar images Pin
josip cagalj24-Mar-10 3:05
josip cagalj24-Mar-10 3:05 
Questionmaking a modelessdialog box as modal Pin
narayanagvs22-Mar-10 1:06
narayanagvs22-Mar-10 1:06 
AnswerRe: making a modelessdialog box as modal Pin
KingsGambit22-Mar-10 1:11
KingsGambit22-Mar-10 1:11 
GeneralRe: making a modelessdialog box as modal Pin
narayanagvs22-Mar-10 1:33
narayanagvs22-Mar-10 1:33 
GeneralRe: making a modelessdialog box as modal Pin
LittleYellowBird22-Mar-10 1:45
LittleYellowBird22-Mar-10 1:45 
GeneralRe: making a modelessdialog box as modal Pin
narayanagvs22-Mar-10 2:11
narayanagvs22-Mar-10 2:11 
GeneralRe: making a modelessdialog box as modal Pin
LittleYellowBird22-Mar-10 2:20
LittleYellowBird22-Mar-10 2:20 
AnswerRe: making a modelessdialog box as modal Pin
LittleYellowBird22-Mar-10 1:12
LittleYellowBird22-Mar-10 1:12 
AnswerRe: making a modelessdialog box as modal Pin
Mohan Ramachandra22-Mar-10 1:20
Mohan Ramachandra22-Mar-10 1:20 
AnswerRe: making a modelessdialog box as modal Pin
KarstenK22-Mar-10 4:53
mveKarstenK22-Mar-10 4:53 
QuestionVC++2008(graphics)! Pin
anassamar22-Mar-10 0:52
anassamar22-Mar-10 0:52 
AnswerRe: VC++2008(graphics)! Pin
Mohan Ramachandra22-Mar-10 1:32
Mohan Ramachandra22-Mar-10 1: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.