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 |
Which MFC function is used to display output?
Difference between Debug and Release versions?
1)set the Title for The File DialogBox, in MFC?
What is Multithreading
What function is used to disable a control at runtime?
What interface must be supported by an ActiveX control?
how to repaint when working with horizontal scroll bar
how u can move CDC pointer to one line in cview?
I can i set size of integer variable should be fixed for different operating systems(Ex i want integer size is 2bytes in OS)
1)How to change a text of a button in runtime?
What is a message map?
Difference between Cclint DC & Cpaint Dc