Announcements

Between mid-October and November, the content on AREA will be relocated to the Autodesk Community M&E Hub and the Autodesk Community Gallery. Learn more HERE.

RollUp custom color in 2017

RollUp custom color in 2017

Anonymous
Not applicable
1,462 Views
9 Replies
Message 1 of 10

RollUp custom color in 2017

Anonymous
Not applicable

is there a way to modify the rollup color as it was in previous versions. Maybe a script ... the documentation COLORMAN there but I do not write the script. In the previous version it has seemed clearly arranged navigation. or just title text color.?

RollOuts.png

0 Likes
1,463 Views
9 Replies
Replies (9)
Message 2 of 10

Anonymous
Not applicable

Any info!?

0 Likes
Message 3 of 10

sehindel_19
Participant
Participant
0 Likes
Message 4 of 10

Anonymous
Not applicable

I know that but how to change RollUp title background. Look a picture on top. Orange Color!

0 Likes
Message 5 of 10

sehindel_19
Participant
Participant

in resource editor for the idc_panel

soething like this perhaps or similar

 

propertysheet for the dialog(style color etc)

exempel

https://social.msdn.microsoft.com/Forums/vstudio/en-US/4b268c1c-acd1-45df-af7b-657768a7f366/how-does...

 

full example source  

http://www.tenouk.com/mfcproject/mymfcpro/    

 

idc_color =mcolor; stringtable

 

// CPage3 property page

IMPLEMENT_DYNCREATE(CPage3, CPropertyPage)

CPage3::CPage3() : CPropertyPage(CPage3::IDD)
{
//{{AFX_DATA_INIT(CPage3)
m_nColor = -1;
//}}AFX_DATA_INIT
}

CPage3::~CPage3()
{
}

BOOL CPage3::OnCommand(WPARAM wParam, LPARAM lParam)
{
SetModified(TRUE);
return CPropertyPage::OnCommand(wParam, lParam);
}

void CPage3::DoDataExchange(CDataExchange* pDX)
{
TRACE("Entering CPage3::DoDataExchange -- %d\n",
pDX->m_bSaveAndValidate);
CPropertyPage::DoDataExchange(pDX);
//{{AFX_DATA_MAP(CPage3)
DDX_Radio(pDX, IDC_COLOR, m_nColor);
//}}AFX_DATA_MAP
}


BEGIN_MESSAGE_MAP(CPage3, CPropertyPage)
//{{AFX_MSG_MAP(CPage3)
// NOTE: the ClassWizard will add message map macros here
//}}AFX_MSG_MAP
END_MESSAGE_MAP()

////////////////////////////////////////////////////////////////////
// CPage3 message handlers

 

 

0 Likes
Message 6 of 10

sehindel_19
Participant
Participant

or u have (parent's OnPaint method)

 

CPaintDC dc(this); // device context for painting
 CRect rc;

 CWnd * pW = this->GetDlgItem(IDC_GROUPBOX);
 pW->GetClientRect(&rc);
 pW->ClientToScreen(&rc);
 this->ScreenToClient(&rc);

 dc.FillSolidRect(&rc,RGB(255,0,0));

 

 

or on N_WM_CTLCOLOR  method

 

if( pWnd->GetDlgCtrlID () == ???)

{

return hBGBrush;

}//optional

 

HBRUSH CTestprogrammDlg::OnCtlColor(CDC* pDC, CWnd* pWnd, UINT nCtlColor)

{

// Brush für den Dialog Hintergrund anlegen

HBRUSH hBGBrush = CreateSolidBrush(RGB(128, 184, 223));

// Brush für Dialog Hintergrund zurück geben

return hBGBrush;

}

 

 

check this link https://www.codeguru.com/cpp/controls/editctrl/backgroundcolor/article.php/c3929/Changing-the-Backgr...

0 Likes
Message 7 of 10

Anonymous
Not applicable

but how can i implement in 3ds? EXE!? I don't anything about programing/scripting!

 

 

0 Likes
Message 8 of 10

sehindel_19
Participant
Participant

i assumed u were a programmer since this is the programming forum for 3d max, but my bad then 😞

then i guess i cant help you. best of luck to u i hope u find what u seek

0 Likes
Message 9 of 10

ulrich.haberl
Autodesk
Autodesk

I'm sorry, but it's not possible in 3dsMax 2017 any more. The painting code of the rollup titles has internally been moved to Qt, and the new design does not use some of the previous customization options any more.

I know that there were some discussions with our UI designers about that, since the rollup now is more some plain area, the title itself has no border any more, what makes it kind of hard to decide where a different background should end - but it would be doable, of course.

If you want that possibility back, please add a feature request here https://knowledge.autodesk.com/contact-support/technical-support or via ADN.

 

Ulrich

Message 10 of 10

istan
Advisor
Advisor

>> i assumed u were a programmer since this is the programming forum for 3d max, but my bad then 😞

 

i already informed AD several times, that the programming board is flooded with ricochets..

I suggested them to rename the board to "C++, Phyton, MXS programming" instead of naming it "3ds Max.."

It's the only board using "3ds max" in its topic name, when displayed on mobile devices..

0 Likes