BOOL WINAPI SetWindowText( _In_ HWND hButton, _In_opt_ LPCTSTR lpString );
// IDC_BUTTON1 is the ID of Button // m_hWnd is the window( handle to the dialog) which holds the button. ::SetDlgItemText( m_hWnd, IDC_BUTTON1, "NewText" );
var
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)