CComboBox::GetDroppedControlRect
호출 하는 GetDroppedControlRect 화면 좌표 표시 (삭제) 목록 상자의 드롭다운 콤보 상자를 검색 하는 멤버 함수입니다.
void GetDroppedControlRect(
LPRECT lprect
) const;
매개 변수
- lprect
가리키는 있는 RECT 좌표를 수신 하는 구조입니다.
예제
// This example move a combo box so that the upper left
// corner of the combo box is at a specific point.
// The point to move the combo box to.
CPoint myPoint(30, 10);
CRect r;
m_pComboBox->GetDroppedControlRect(&r);
m_pComboBox->GetParent()->ScreenToClient(&r);
r.OffsetRect(myPoint - r.TopLeft());
m_pComboBox->MoveWindow(&r);
요구 사항
헤더: afxwin.h