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 is the difference between Synchronous sockets and asynchronous sockets?
What is the command routing in MFC framework?
1) Enable or disable a Cancel button at run time?
How many types of dialog box are their
What is LoadLibrary function returns?
What is the base class for MFC
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 the difference between hinsrtance and hprevinstance in WinMain function?
Do you have an idea about MFC?
Does the application have more than one object? If Yes, Briefly explain.
What four types of properties are supported by an ActiveX control?
1)To Remove WS_MINIMIZEBOX in a Frame ?