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("") ) ;
컨트롤에 텍스트를 입력한다.
'Programming > MFC' 카테고리의 다른 글
파일 폴더 오픈 다이얼로그 (0) | 2006.06.29 |
---|---|
Enter key를 눌렀을때 다이얼로그 종료되는 문제 해결 (0) | 2006.06.27 |
GetDlgItemText (0) | 2006.06.26 |
OnInitDialog()에서 컨트롤에 포커스 주기 (0) | 2006.06.26 |
LINK : warning LNK4089: all references to "SHELL32.dll" discarded by /OPT:REF ? (0) | 2006.05.26 |