CGXComboBoxWnd::m_bInactiveDrawButton
BOOL m_bInactiveDrawButton;
Remarks
Specifies whether the pushbutton shall be drawn even if the cell is not the current cell. If the attribute is TRUE, the button will be drawn. The default setting is FALSE, which means that the button is only drawn for the current cell.
You can set this attribute when registering the control in your OnInitialUpdate() method.
Example:
// CComboBox adapter with CBS_DROPDOWN style
{
CGXComboBoxWnd* pWnd = new CGXComboBoxWnd(this);
pWnd->Create(WS_VSCROLL | CBS_DROPDOWN | CBS_AUTOHSCROLL, GX_IDS_CTRL_CBS_DROPDOWN);
pWnd->m_bFillWithChoiceList = TRUE;
pWnd->m_bWantArrowKeys = FALSE;
pWnd->m_bInactiveDrawButton = TRUE;
RegisterControl(GX_IDS_CTRL_CBS_DROPDOWN, pWnd);
}
Now when you apply the GX_IDS_CTRL_CBS_DROPDOWN combo box to your cells, they will always draw the pushbutton and not only the current cell.