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 |
1)how to Display the File Dialog Box, in MFC ?
What is stack size in win32 program?
Tell me about different kinds of synchranization objects ?
what is message loop how mfc does it internally?
what is the updated verssion in vc++
What four types of properties are supported by an ActiveX control?
How we can findout Memoryleaks, In what way it can be avoided
What is thread & process?
In VC++ How to transfer between one exe to another exe while running..
What is #progma and where it is used?
1) How do you Destroy a Dialog Box ?
What is userdefine Messages in MFC?