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)To Remove WS_MINIMIZEBOX in a Frame ?
What is Thread ?(VC++)What is the difference between Cmutex and Csemaphone?
What function is used to disable a control at runtime?
WHAT IS DIFFERENT BETWEN RELEASE MODE & DEBUGGING MODE
4 Answers Google, Microsoft, TCS,
how can u change button shape at run time
What is socket?
How to update windows title bar dynamically?
Do you have an idea about MFC?
How we can findout Memoryleaks, In what way it can be avoided
Explain the flow of SDI application?
How to convert the content of buffer into lower case character.
1)How to change a text of a button as Dynamically?