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 is the base class for most MFC classes?
How many types of combo box are their
2 Answers Aaditya Info Solutions, E Logic,
What is the difference between the SDI and MDI
How many types of dialog box are their
2.create for 10 batch: Employee_Number Employee_name Employee_Dateofjoining Employee_address Employee_salary 1.select the employee name who deriving more than 10 thousand salary and joined before august 08. use structure and pointers
How you find memory leaks?
How you create a button dynamically?
What is a message map, and what is the advantage of a message map over virtual functions?
What is the base class for MFC Framework ?
Have you ever used win32 APIs ?
1.Get string1,string2,string3 1.add string1 and 2,string1 and 3. 2.replace vowels with T 3.count number of T. 4.remove T 5.COPY string1 to stringf. 6.restore string1. print the following 1.Number of T 2.StringF 3.string1+string2+string3 Use pointers and functions
What is CArchive class dowes?