Programming/MFC
SetDlgItemText
_Erato
2006. 6. 26. 22:55
CWnd::SetDlgItemText
voidSetDlgItemText(intnID,LPCTSTRlpszString);
Parameters
nID
Identifies the control whose text is to be set.
lpszString
Points to aCStringobject or null-terminated string that contains the text to be copied to the control.
Remarks
Sets the caption or text of a control owned by a window or dialog box.
SetDlgItemTextsends aWM_SETTEXTmessage to the given control.
CWnd Overview| Class Members| Hierarchy Chart
See Also ::SetDlgItemText,WM_SETTEXT,CWnd::GetDlgItemText
SetDlgItemText( IDC_EDIT_BITRATE, _T("") ) ;
컨트롤에 텍스트를 입력한다.