Click here to Skip to main content
15,905,616 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: Adjusting and detecting changes to WorkingArea (WORKAREA) Pin
chaiguy13373-Jan-08 4:15
chaiguy13373-Jan-08 4:15 
GeneralRe: Adjusting and detecting changes to WorkingArea (WORKAREA) Pin
Iain Clarke, Warrior Programmer3-Jan-08 4:17
Iain Clarke, Warrior Programmer3-Jan-08 4:17 
GeneralRe: Adjusting and detecting changes to WorkingArea (WORKAREA) Pin
chaiguy13373-Jan-08 11:00
chaiguy13373-Jan-08 11:00 
GeneralRe: Adjusting and detecting changes to WorkingArea (WORKAREA) Pin
chaiguy13373-Jan-08 11:06
chaiguy13373-Jan-08 11:06 
GeneralPrint Preview for CRichEditCtrl Pin
DougVC2-Jan-08 12:15
DougVC2-Jan-08 12:15 
GeneralRe: Print Preview for CRichEditCtrl Pin
Hamid_RT2-Jan-08 18:26
Hamid_RT2-Jan-08 18:26 
GeneralPrinting Class Library : Bottom Margin Pin
DanYELL2-Jan-08 11:42
DanYELL2-Jan-08 11:42 
GeneralRe: Printing Class Library : Bottom Margin Pin
dan o3-Jan-08 5:34
dan o3-Jan-08 5:34 
hi,

i suppose that it should be changed into

double CPage::SetBottomMargin(double w)
{
int temp=m_PrtDesc.rc.bottom;
if(w > 0)
m_PrtDesc.rc.bottom=ConvertToMappedUnits(w,VERTRES);

if(w==-1)
m_PrtDesc.rc.bottom=m_PrtDesc.n_maxLength;
//m_PrtDesc.rc.right=m_PrtDesc.n_maxLength; //previous line

return ConvertToInches(temp,VERTRES);
}

and calling pPage->SetBottomMargin(-1);

Cool | :cool:
GeneralTrying to extend a CPropertyPage using one own class created from MFC CPropertyPage... Pin
Joan M2-Jan-08 9:30
professionalJoan M2-Jan-08 9:30 
QuestionRe: Trying to extend a CPropertyPage using one own class created from MFC CPropertyPage... Pin
Mark Salsbery2-Jan-08 9:37
Mark Salsbery2-Jan-08 9:37 
GeneralRe: Trying to extend a CPropertyPage using one own class created from MFC CPropertyPage... Pin
Joan M2-Jan-08 20:46
professionalJoan M2-Jan-08 20:46 
QuestionRe: Trying to extend a CPropertyPage using one own class created from MFC CPropertyPage... Pin
David Crow2-Jan-08 10:16
David Crow2-Jan-08 10:16 
GeneralRe: Trying to extend a CPropertyPage using one own class created from MFC CPropertyPage... Pin
Joan M2-Jan-08 20:47
professionalJoan M2-Jan-08 20:47 
GeneralChange Keyboard Layout for different process Pin
OpossumPetya2-Jan-08 9:08
OpossumPetya2-Jan-08 9:08 
Generalformat of Windows .TXT files Pin
Anthony Appleyard2-Jan-08 8:26
Anthony Appleyard2-Jan-08 8:26 
QuestionRe: format of Windows .TXT files Pin
David Crow2-Jan-08 8:39
David Crow2-Jan-08 8:39 
GeneralRe: format of Windows .TXT files Pin
CPallini2-Jan-08 9:57
mveCPallini2-Jan-08 9:57 
GeneralA project made from XPCOM components and VC++6.0 (I desperately need for any ideas) Pin
cuesdean florin2-Jan-08 5:44
cuesdean florin2-Jan-08 5:44 
GeneralRe: A project made from XPCOM components and VC++6.0 (I desperately need for any ideas) Pin
led mike2-Jan-08 8:19
led mike2-Jan-08 8:19 
GeneralHelp on DLL export Pin
tiwal2-Jan-08 5:19
tiwal2-Jan-08 5:19 
GeneralRe: Help on DLL export Pin
CPallini2-Jan-08 5:36
mveCPallini2-Jan-08 5:36 
GeneralRe: Help on DLL export Pin
tiwal2-Jan-08 21:58
tiwal2-Jan-08 21:58 
GeneralRe: Help on DLL export Pin
CPallini2-Jan-08 22:29
mveCPallini2-Jan-08 22:29 
GeneralRe: Help on DLL export Pin
tiwal2-Jan-08 23:49
tiwal2-Jan-08 23:49 
GeneralRe: Help on DLL export Pin
CPallini3-Jan-08 0:04
mveCPallini3-Jan-08 0:04 

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.