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 |
what if we provide two message handler for same message ?
What is a message map, and what is the advantage of a message map over virtual functions?
Difference between Cclint DC & Cpaint Dc
Given two processes, how can they share memory?
What is the base class for most MFC classes?
How can i implement the dynamic menus in MFC plz give the code
is it possible to display a window .without using windowclass
How we call a dialog in another dialog?
How do I create a dialog box in mfc?
How can update edit control data of an executing application from other application?
What is the difference between the SDI and MDI
what is the size of a process