Click here to Skip to main content
15,888,803 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: Nooby would like assistance with compile error building a property sheets program Pin
Rajkumar R21-Feb-08 18:23
Rajkumar R21-Feb-08 18:23 
GeneralRe: Nooby would like assistance with compile error building a property sheets program Pin
David Crow22-Feb-08 2:43
David Crow22-Feb-08 2:43 
GeneralSystemtray Pin
act_x21-Feb-08 15:04
act_x21-Feb-08 15:04 
GeneralRe: Systemtray Pin
Stephen Hewitt21-Feb-08 16:06
Stephen Hewitt21-Feb-08 16:06 
GeneralVersion Info Pin
Bram van Kampen21-Feb-08 14:47
Bram van Kampen21-Feb-08 14:47 
GeneralRe: Version Info Pin
Stephen Hewitt21-Feb-08 14:55
Stephen Hewitt21-Feb-08 14:55 
QuestionRe: Version Info Pin
David Crow22-Feb-08 2:45
David Crow22-Feb-08 2:45 
Generalresizing a property sheet Pin
act_x21-Feb-08 14:45
act_x21-Feb-08 14:45 
This , I thought would be simple. I have spent close to half a day figuring this out .

So I am working on a MFC dialog app that has a CPropertySheet object. I am using the property sheet in Non Wizard mode.
MyDlg::OnInitDialog(.)<br />
{<br />
<br />
..<br />
CPropPage1 *pPage = new CPropPage1() ; <br />
	m_sheet.AddPage(pPage);<br />
	//m_sheet.DoModal(); <br />
	if(!m_sheet.Create(this,WS_CHILD | WS_VISIBLE  |WS_BORDER)) <br />
		return FALSE ; <br />
<br />
	m_bInitialized = true ; <br />
}


I am unable to size the propertyPage to fit the dimensions of the main dialog window.

What should I be doing to ensure that the current active page in the PropertySheet is contained within the bounds of the Main dialog .

This is how my dialog looks at this point ( awful ! Frown | :(
http://i25.tinypic.com/2mhiob8.jpg
Help is appreciated

Engineering is the effort !

GeneralRe: resizing a property sheet Pin
jhwurmbach21-Feb-08 23:47
jhwurmbach21-Feb-08 23:47 
QuestionRe: resizing a property sheet Pin
David Crow22-Feb-08 2:46
David Crow22-Feb-08 2:46 
GeneralRe: resizing a property sheet Pin
KaЯl22-Feb-08 3:13
KaЯl22-Feb-08 3:13 
Generalgaussion function Pin
gentleguy21-Feb-08 14:38
gentleguy21-Feb-08 14:38 
GeneralRe: gaussion function Pin
rowdy_vc++21-Feb-08 17:53
rowdy_vc++21-Feb-08 17:53 
GeneralRe: gaussion function Pin
gentleguy21-Feb-08 19:17
gentleguy21-Feb-08 19:17 
GeneralRe: gaussion function Pin
rowdy_vc++21-Feb-08 20:09
rowdy_vc++21-Feb-08 20:09 
GeneralRe: gaussion function Pin
gentleguy21-Feb-08 20:29
gentleguy21-Feb-08 20:29 
GeneralRe: gaussion function Pin
rowdy_vc++21-Feb-08 22:11
rowdy_vc++21-Feb-08 22:11 
GeneralRe: gaussion function [modified] Pin
gentleguy21-Feb-08 22:17
gentleguy21-Feb-08 22:17 
QuestionHow to view a large image? Pin
TooShy2Talk21-Feb-08 13:54
TooShy2Talk21-Feb-08 13:54 
AnswerRe: How to view a large image? Pin
Rajkumar R21-Feb-08 18:11
Rajkumar R21-Feb-08 18:11 
GeneralRe: How to view a large image? Pin
TooShy2Talk21-Feb-08 20:47
TooShy2Talk21-Feb-08 20:47 
AnswerRe: How to view a large image? Pin
Hamid_RT23-Feb-08 1:54
Hamid_RT23-Feb-08 1:54 
GeneralShared Files and Folders Pin
Bram van Kampen21-Feb-08 12:55
Bram van Kampen21-Feb-08 12:55 
GeneralRe: Shared Files and Folders Pin
Mark Salsbery21-Feb-08 13:05
Mark Salsbery21-Feb-08 13:05 
GeneralRe: Shared Files and Folders Pin
Bram van Kampen21-Feb-08 13:51
Bram van Kampen21-Feb-08 13:51 

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.