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 |
is it possible to display a window .without using windowclass
How you find memory leaks?
What is the use of OninitDialog ?
I can i set size of integer variable should be fixed for different operating systems(Ex i want integer size is 2bytes in OS)
In VC++ How to transfer between one exe to another exe while running..
What is the command routing in MFC framework?
What is the difference between the ASSERT and VERIFY macros?
What function is called by a document class to notify views that the document has been changed?
what is functioning of DIalodDataXchange ..?
What is the difference between workrer thread and UI thread
What are the advantages of using Doc/View or SDI over DialogBox
What is the difference between Struts and JSF? Pls list some most suitable differences.