Hi,
I am trying to create a button on a panel. On creation however it starts off disabled and I can't find out why.
In my class:
On creation of the panel:
If I change BS_PUSHBUTTON to either BS_AUTO3STATE or BS_AUTOCHECKBOX it works fine. If I change it to BS_RADIOBUTTON however it still doesn't work.
Any help would be greatly appreciated.
I am trying to create a button on a panel. On creation however it starts off disabled and I can't find out why.
In my class:
Code:
CButton m_ZoomIncrease;
Code:
m_ZoomIncrease.Create(CString((LPCTSTR)IDS_ZOOM_INCREASE),WS_CHILD|WS_VISIBLE|BS_RADIOBUTTON,CRect(0,0,20,20),this,IDC_INCREASEZOOM);
Any help would be greatly appreciated.