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

C / C++ / MFC

 
GeneralRe: MFC Dialogs Pin
toxcct3-Apr-05 21:18
toxcct3-Apr-05 21:18 
GeneralRe: MFC Dilogs Pin
namaskaaram3-Apr-05 23:42
namaskaaram3-Apr-05 23:42 
QuestionHow to retrieve the current parameter in DC Pin
LiYS3-Apr-05 16:53
LiYS3-Apr-05 16:53 
AnswerRe: How to retrieve the current parameter in DC Pin
ThatsAlok3-Apr-05 18:17
ThatsAlok3-Apr-05 18:17 
GeneralRe: How to retrieve the current parameter in DC Pin
LiYS3-Apr-05 18:25
LiYS3-Apr-05 18:25 
GeneralRe: How to retrieve the current parameter in DC Pin
ThatsAlok3-Apr-05 18:38
ThatsAlok3-Apr-05 18:38 
Generalresize a CFormView programmatically Pin
Harold Bamford3-Apr-05 16:50
Harold Bamford3-Apr-05 16:50 
GeneralRe: resize a CFormView programmatically Pin
KaЯl3-Apr-05 22:24
KaЯl3-Apr-05 22:24 
I'm not sure to understand, so I hope I won't provide a bad answer.

As I understand it, you want to force the size of your application. I would do so by resizing the MainFrame object, using CMainFrame::SetWindowPos. Then I would catch the WM_SIZE message in the Form View to handle controls size and position changes.
Oh, and you can manage the way your view handles scroll bars by overring CScrollView::SetScrollSizes.

HTH,





Fold With Us!

Chaos A.D.
Disorder unleashed

GeneralRe: resize a CFormView programmatically Pin
Harold Bamford4-Apr-05 4:47
Harold Bamford4-Apr-05 4:47 
GeneralRe: resize a CFormView programmatically Pin
KaЯl4-Apr-05 5:34
KaЯl4-Apr-05 5:34 
GeneralRe: resize a CFormView programmatically Pin
Harold Bamford4-Apr-05 5:36
Harold Bamford4-Apr-05 5:36 
GeneralRe: resize a CFormView programmatically Pin
Harold Bamford6-Apr-05 6:33
Harold Bamford6-Apr-05 6:33 
GeneralThe needle is right over here, under the hay. Pin
LordTygger3-Apr-05 14:57
LordTygger3-Apr-05 14:57 
GeneralRe: The needle is right over here, under the hay. Pin
Christian Graus3-Apr-05 15:24
protectorChristian Graus3-Apr-05 15:24 
GeneralRe: The needle is right over here, under the hay. Pin
LordTygger3-Apr-05 15:29
LordTygger3-Apr-05 15:29 
GeneralRe: The needle is right over here, under the hay. Pin
Christian Graus3-Apr-05 15:32
protectorChristian Graus3-Apr-05 15:32 
Questionhow to show the checkbox in the ListCtrl with ICON style? Pin
lowiq3-Apr-05 14:54
lowiq3-Apr-05 14:54 
Questionhow to use SendMessage for character at '\x080' position of current font. Pin
kristna3-Apr-05 14:08
kristna3-Apr-05 14:08 
QuestionCListCtrl with more than 260 characters? Pin
DanYELL3-Apr-05 10:35
DanYELL3-Apr-05 10:35 
GeneralSmart Tag for Rich Edit of Outlook email viewer Pin
Rajeev K Srivastava3-Apr-05 9:36
Rajeev K Srivastava3-Apr-05 9:36 
GeneralMFC Multithread question Pin
CNewbie3-Apr-05 9:30
CNewbie3-Apr-05 9:30 
GeneralRe: MFC Multithread question Pin
Paul Steane3-Apr-05 19:11
Paul Steane3-Apr-05 19:11 
GeneralPlease help me! Pin
dSolariuM3-Apr-05 9:04
dSolariuM3-Apr-05 9:04 
GeneralRe: Please help me! Pin
ThatsAlok3-Apr-05 18:51
ThatsAlok3-Apr-05 18:51 
GeneralC++ convert numbers to words Pin
supaman198813-Apr-05 8:44
supaman198813-Apr-05 8:44 

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.