1)How to change the size of a button at run time ?
Answer / 106743013743
Hi,
below, code is running successfully, I hope that it might be
useful for you!!!!
BOOL Csample_button_name_changeDlg::OnInitDialog()
{
CDialog::OnInitDialog();
CButton *btnsample = (CButton *)GetDlgItem(IDC_BUTTON1);
//below, the Code to change Size of the button
btnsample->SetWindowPos(0,0,0,100,100,SWP_FRAMECHANGED);
return TRUE;
}
Code By Ctharam
Is This Answer Correct ? | 1 Yes | 1 No |
how u can move CDC pointer to one line in cview?
How many types of dialog box are their
what is functioning of DIalodDataXchange ..?
what is the difference between SDI and MDI
15 Answers CMC, HCL, Siemens,
Types of DLL's
how does conditionally close the Dialog Box ?
Why Array Index starts from Zero
1) Enable or disable a Cancel button at run time?
What is the base class for MFC Framework ?
How can i change the color of a dropdowncombobox elements
what is the use of CWinApp class?
visual Pogramming c++ coding for create a paint application.. (Please someone help me)