Very nice :)
3. Please place a variable of the type
CYourButton
-
in to your bar class:
{
CYourButton m_cYourButton;
...
}
...and modify its exchange function:
void CYourBar::DoDataExchange(CDataExchange* pDX)
{
CBaseOfYourBar::DoDataExchange(pDX);
DDX_Control(pDX, IDC_BUTTON1, m_cYourButton);
...
}
4. Constitute your drawing procedure
http://msdn.microsoft.com/en-us/library/y0k9f0a4(VS.80).aspx[
^]
5. You can fill gradient surface with the lines
or use other complete methods (must be searched) :)