1)How to change a text of a button as Dynamically?
Answer / 106743013743
OK button to become Login
BOOL Csample_button_name_changeDlg::OnInitDialog()
{
CDialog::OnInitDialog();
// Below Below, to change text on button in runtime
CButton* pLogin;
pLogin = (CButton*)GetDlgItem(IDOK);
pLogin->SetWindowTextW(L"Login");
return TRUE; // return TRUE unless you set the
focus to a control
}
| Is This Answer Correct ? | 1 Yes | 0 No |
1)set the Title for The File DialogBox, in MFC?
1)How to load an icon on a button as Dynamically ?
Which Macro is a Super set of other two macro DECLARE_SERIAL,DECLARE_DYNAMIC and DECLARE_DYNCREATE. ?
Why not virtual functions to handle messages?
How to handle dynamic menus in MFC?
What is stack size in win32 program?
what do you mean by psychic window?
What is the initial function to be called in MFC and what it will do
What is the base class for most MFC classes?
What is the difference between Extension DLL and Regular DLL?
List out the basic features of MFC.
what is the use of AFX_MANAGE_STATE ?