combo控件,當下拉框出現滾動條時,我這里滾動鼠標滑輪,會默認向上或向下自動選中上一個或下一個項目,然后下拉框消失
而我要的是滾動鼠標滑輪時不會自動選中項目
這個要怎么搞?
是不是也這樣改:
if( event.Type == UIEVENT_SCROLLWHEEL )
{
bool bDownward = LOWORD(event.wParam) == SB_LINEDOWN;
//SelectItem(FindSelectable(m_iCurSel + (bDownward ? 1 : -1), bDownward));
return;
}
相守★幸福( ) 16:34:41

注釋了 就不會這樣了
david( ) 10:49:54
我這個combo彈出下拉框的時候,一用滑輪下拉框就關了
bear( ) 10:50:15
我也是這情況
enic<errorcpp@qq.com> 10:50:19
改了又其他副作用沒?
bear( ) 10:51:55
偶先試試