![]() |
#2
十一月天2006-08-17 13:35
SetDlgItemText Function -------------------------------------------------------------------------------- The SetDlgItemText function sets the title or text of a control in a dialog box. Syntax BOOL SetDlgItemText( HWND hDlg, hDlg If the function succeeds, the return value is nonzero. If the function fails, the return value is zero. To get extended error information, call GetLastError.
The SetDlgItemText function sends a WM_SETTEXT message to the specified control. Windows 95/98/Me: SetDlgItemTextW is supported by the Microsoft® Layer for Unicode (MSLU). To use this, you must add certain files to your application, as outlined in Microsoft Layer for Unicode on Windows 95/98/Me Systems. Example For an example, see Creating a Simple List Box. Function Information Header Declared in Winuser.h, include Windows.h |
大家好:
刚刚上路的新手,请大家多多关照!!
我有个问题,请问用SetDlgItemText时,如何不覆盖原来的内容!!
谢谢大家