15,979
社区成员
发帖
与我相关
我的任务
分享
cs.lpszClass = _T("COMBOBOX");
cs.style = CBS_SORT|CBS_DROPDOWNLIST|WS_CHILD|WS_VISIBLE|WS_TABSTOP|WS_VSCROLL ;
COMBOBOXINFO cbi;
cbi.cbSize=sizeof(COMBOBOXINFO);
GetComboBoxInfo(m_hWnd,&cbi);
SCROLLBARINFO scbinfo;
scbinfo.cbSize = sizeof(SCROLLBARINFO);
BOOL b = GetScrollBarInfo(cbi.hwndList, OBJID_VSCROLL, &scbinfo);
DWORD dw = 999;
dw = scbinfo.rgstate[0];
dw = scbinfo.rgstate[1];
dw = scbinfo.rgstate[2];
dw = scbinfo.rgstate[3];
dw = scbinfo.rgstate[4];
dw = scbinfo.rgstate[5];
if (scbinfo.rgstate[5] == STATE_SYSTEM_PRESSED)
{
int i = 0;
}