Page 1 of 1

Chart Header Frame Editor

Posted: Mon Jan 05, 2004 3:39 am
by 9078641
CTitle hd = m_Chart1.GetHeader();
hd.GetFrame().ShowEditor();

Editor shows up and changes can be made.
However none of the changes ever take effect.

Posted: Mon Jan 05, 2004 9:29 am
by Chris
Hi --
CTitle hd = m_Chart1.GetHeader();
hd.GetFrame().ShowEditor();

Editor shows up and changes can be made.
However none of the changes ever take effect.
Try:

Code: Select all

CTitle hd = m_Chart1.GetHeader(); 
hd.GetFrame().SetTransparent(false);
hd.GetFrame().ShowEditor(); 

Does not work

Posted: Mon Jan 05, 2004 2:16 pm
by 9078641
The compiler error states:
SetTransparent' : is not a member of 'CPen1'

Looks like you are trying to make it visible... so I tried

hd.GetFrame().SetVisible(true);

Did nothing except set teh Visible checkbox in the editor.

Frame or border is still not visible.

Posted: Wed Jan 07, 2004 6:59 am
by Chris
Hi --
The compiler error states:
SetTransparent' : is not a member of 'CPen1'
Sorry, my mistake. Try:

Code: Select all

void CVCplus6AXv6Dlg::OnButton1() 
{
    CTitles hd = m_Chart1.GetHeader(); 
    hd.SetTransparent(false);
    hd.GetFrame().ShowEditor(); 	
}