Click here to Skip to main content
15,902,299 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: C++ package objects into separate .dll class library projects Pin
TheGeneral6925-Feb-08 14:50
TheGeneral6925-Feb-08 14:50 
AnswerRe: C++ package objects into separate .dll class library projects Pin
Rajkumar R25-Feb-08 16:56
Rajkumar R25-Feb-08 16:56 
GeneralRe: C++ package objects into separate .dll class library projects Pin
TheGeneral6925-Feb-08 19:12
TheGeneral6925-Feb-08 19:12 
GeneralAbout constructer Pin
rowdy_vc++21-Feb-08 17:46
rowdy_vc++21-Feb-08 17:46 
AnswerRe: About constructer [modified] Pin
Rajkumar R21-Feb-08 18:31
Rajkumar R21-Feb-08 18:31 
QuestionRe: About constructer Pin
CPallini21-Feb-08 21:23
mveCPallini21-Feb-08 21:23 
GeneralRe: About constructer Pin
Hamid_RT23-Feb-08 1:54
Hamid_RT23-Feb-08 1:54 
GeneralRe: About constructer Pin
David Crow22-Feb-08 2:41
David Crow22-Feb-08 2:41 
GeneralNooby would like assistance with compile error building a property sheets program [modified] Pin
doorprize21-Feb-08 17:06
doorprize21-Feb-08 17:06 
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 

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.