◄Function Group► ◄Overview► ◄Up► ◄Next► ◄Previous► ──────────────────────────────────────────────────────────────────────────── #define INCL_WINDIALOGS BOOL WinSetDlgItemText(hwndDlg, idItem, pszText); HWND hwndDlg; /* handle of the dialog box */ USHORT idItem; /* dialog-item identifier */ PSZ pszText; /* text to set */ The WinSetDlgItemText function sets the text in a dialog item. It is equivalent to the following: WinSetWindowText(WinWindowFromID(hwndDlg, idItem), pszText); Parameter Description ──────────────────────────────────────────────────────────────────────────── hwndDlg Identifies a dialog window. idItem Identifies the identifier of the dialog item. pszText Points to a null-terminated string that contains the text to be set for the dialog item. Return Value The return value is TRUE if the function is successful or FALSE if an error occurs. See Also WinSetWindowText, WinWindowFromID ♦