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 |
what do you mean by psychic window?
I want recent paper pattern for HP company?
In MFC By Using Communication Between Dialog Boxes,How Can We Send Message Of one Dialog Box To Another Dialog.?
3 Answers Financial Technologies,
what is the use of Mutex and critical section
What is the difference between the Encapsulation and Abstraction
25 Answers HCL, Invensys, TCS, Wipro,
What is the base class for MFC Framework ?
Can you explaing the relashionship between document,frame and view ?
What?s the difference between Modal and Modeless Dialog?
Tell me the work of HTREDUCE and HTZOOM
How do I create a dialog box in mfc?
Types of DLL's
If i derive a new class from CObject what are the basic features my derived wil get ?