[熱情]

GetDlgItem 함수 본문

카테고리 없음

GetDlgItem 함수

rootkaien 2014. 4. 9. 16:46

GetDlgItem


Retrieves a pointer to the specified control or child window in a dialog box or other window.


CWnd* GetDlgItem(
   int nID 
) const;
void GetDlgItem(
   int nID,
   HWND* phWnd
) const;



// uses GetDlgItem to return a pointer to a user interface control
  CEdit* pBoxOne;
  pBoxOne = (CEdit*)GetDlgItem(IDC_MYEDIT);
  GotoDlgCtrl(pBoxOne);



Comments