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 Multithreading
What is the use of CObject::Dump function ?
In SDI how many view's are attached to document object and in MDI how many view's are attached to Document object?
How you find memory leaks?
What are the special requirements for dialog box resources used in a form view?
What is the base class for MFC Framework ?
What view class enables you to use an edit control as a view?
what is the updated verssion in vc++
what is the size of a process
What interface must be supported by an ActiveX control?
how do u identify RTTI in vc++
What is document-view architecture ? Give me one real time example for SDI ?