16,551
社区成员
发帖
与我相关
我的任务
分享//MFC类库
CWnd::MessageBox
int MessageBox( LPCTSTR lpszText, LPCTSTR lpszCaption = NULL, UINT nType = MB_OK );
CWnd::SetDlgItemText
void SetDlgItemText( int nID, LPCTSTR lpszString );
//Platform SDK
int MessageBox(
HWND hWnd, // handle to owner window
LPCTSTR lpText, // text in message box
LPCTSTR lpCaption, // message box title
UINT uType // message box style
);
BOOL SetDlgItemText(
HWND hDlg, // handle to dialog box
int nIDDlgItem, // control identifier
LPCTSTR lpString // text to set
);