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 |
How to handle RTTI in MFC ?
Does the application have more than one object? If Yes, Briefly explain.
I can i set size of integer variable should be fixed for different operating systems(Ex i want integer size is 2bytes in OS)
What is userdefine Messages in MFC?
what is the updated verssion in vc++
How to create a Modeless Dialog?
Tell me the work of HTREDUCE and HTZOOM
What is subclassing?
what do you mean by psychic window?
How do you change the properties for a tree view control that is part of the CTreeView class?
Why not virtual functions to handle messages?
how does conditionally close the Dialog Box ?