sorry thought you were takin the ........ with ON_BN_CLICK..... didn't think it was real...
ON_BN_CLICKED still doesn't work....
here's the create code in case there's anything i'm missing there... but i don't think so
Code:
int CSessionFrameToolbar::OnCreate(LPCREATESTRUCT lpCreateStruct)
{
if (CToolBar::OnCreate(lpCreateStruct) == -1)
return -1;
LoadToolBar(IDR_SF_TOOLBAR);
pan_mode = TRUE;
uvs_mode = FALSE;
uvm_mode = FALSE;
SetButtonStyle(0, TBBS_CHECKBOX);
SetButtonStyle(1, TBBS_CHECKBOX);
SetButtonStyle(2, TBBS_SEPARATOR);
SetButtonStyle(3, TBBS_CHECKBOX);
SetButtonStyle(4, TBBS_CHECKBOX);
SetButtonStyle(5, TBBS_CHECKBOX);
SetButtonStyle(6, TBBS_SEPARATOR);
SetButtonInfo(7, IDC_SF_COMBOBOX, TBBS_SEPARATOR, 200);
SetButtonStyle(8, TBBS_SEPARATOR);
CRect combo_rect;
GetItemRect(7, &combo_rect);
combo_rect.bottom = combo_rect.top + 144;
combo_box.Create(WS_CHILD|WS_VISIBLE|WS_VSCROLL|CBS_SORT|CBS_DROPDOWNLIST, combo_rect, this, IDC_SF_COMBOBOX);
combo_box.ShowWindow(SW_SHOW);
return 1;
}
i dunno, seems like this should be easy.... what am i missing?