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 thread & process?
Does the application have more than one object? If Yes, Briefly explain.
What are the advantages of using Doc/View or SDI over DialogBox
How can i implement the dynamic menus in MFC plz give the code
What MFC base classes provide support for ActiveX controls?
What is the difference between workrer thread and UI thread
Which Macro is a Super set of other two macro DECLARE_SERIAL,DECLARE_DYNAMIC and DECLARE_DYNCREATE. ?
What is CArchive class dowes?
if i modified data in 1 view how does the other view knows
what is the updated verssion in vc++
Why not virtual functions to handle messages?
1)How to load an icon on a button as Dynamically ?