Click here to Skip to main content
15,895,142 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: how to receive app launch message? Pin
chpsoft4-Mar-04 19:58
chpsoft4-Mar-04 19:58 
GeneralRe: how to receive app launch message? Pin
bilal784-Mar-04 20:26
bilal784-Mar-04 20:26 
GeneralRe: how to receive app launch message? Pin
chpsoft4-Mar-04 20:41
chpsoft4-Mar-04 20:41 
GeneralShared Folders With Username/Password Pin
shultas4-Mar-04 13:50
shultas4-Mar-04 13:50 
GeneralRe: Shared Folders With Username/Password Pin
sunyou4-Mar-04 19:17
sunyou4-Mar-04 19:17 
Generalnmake and the c++ build tool. Pin
debutante4-Mar-04 13:36
debutante4-Mar-04 13:36 
GeneralRe: nmake and the c++ build tool. Pin
David Crow4-Mar-04 13:39
David Crow4-Mar-04 13:39 
GeneralPropertyPage resizing Pin
act_x4-Mar-04 11:22
act_x4-Mar-04 11:22 
Here is my scenario
My Main Dialog creates a propertyPage , and resizes it to fit the bounds of the Main Dialog window .
mainSheet= new CPropertySheet();<br />
mainSheet->AddPage(&page1);<br />
int res=mainSheet->Create(this,  WS_POPUP| WS_BORDER  |WS_VISIBLE      ,0 );<br />
if(!res){<br />
AfxMessageBox("Could not Create PropertySheet",MB_ICONERROR);<br />
return  ;<br />
}<br />
mainSheet->AddPage(&page2);<br />
CRect r;<br />
this->GetWindowRect(&r);<br />
mainSheet->SetWindowPos(0,r.left+10,r.top+60,r.Width()-20,r.Height()-130,0);

To the PropertyPage I add 2 propertypages .

What is happenning right now is that the PropertySheet occupies the desired region of the main window , but the inner PropertyPages are displayed in their original size !


How do I make the PropertyPage resize to the current revised size of the its parent i.e the PropertyPage ?
GeneralRe: PropertyPage resizing Pin
PJ Arends4-Mar-04 17:54
professionalPJ Arends4-Mar-04 17:54 
QuestionHow to print web page to image file Pin
AWebDude4-Mar-04 10:30
AWebDude4-Mar-04 10:30 
Generalcreating window help Pin
ppp0014-Mar-04 10:05
ppp0014-Mar-04 10:05 
GeneralRe: creating window help Pin
basementman4-Mar-04 10:09
basementman4-Mar-04 10:09 
GeneralRe: creating window help Pin
ppp0014-Mar-04 20:10
ppp0014-Mar-04 20:10 
GeneralRe: creating window help Pin
basementman5-Mar-04 3:51
basementman5-Mar-04 3:51 
QuestionHow to have access to the members of a class Pin
Roozbeh694-Mar-04 9:55
professionalRoozbeh694-Mar-04 9:55 
AnswerRe: How to have access to the members of a class Pin
ian mariano4-Mar-04 10:53
ian mariano4-Mar-04 10:53 
AnswerRe: How to have access to the members of a class Pin
Steve S4-Mar-04 22:41
Steve S4-Mar-04 22:41 
QuestionHow do I compile? Pin
john john mackey4-Mar-04 9:47
john john mackey4-Mar-04 9:47 
AnswerRe: How do I compile? Pin
ian mariano4-Mar-04 10:56
ian mariano4-Mar-04 10:56 
GeneralRe: How do I compile? Pin
john john mackey5-Mar-04 8:09
john john mackey5-Mar-04 8:09 
GeneralRe: How do I compile? Pin
ian mariano8-Mar-04 12:15
ian mariano8-Mar-04 12:15 
GeneralCPaintDC develish slow Pin
S van Leent4-Mar-04 9:21
S van Leent4-Mar-04 9:21 
GeneralRe: CPaintDC develish slow Pin
basementman4-Mar-04 9:42
basementman4-Mar-04 9:42 
GeneralRe: COM Port Reading Pin
David Crow4-Mar-04 8:56
David Crow4-Mar-04 8:56 
GeneralRe: COM Port Reading Pin
dimitar.rosenov4-Mar-04 9:26
dimitar.rosenov4-Mar-04 9:26 

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.