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 |
In SDI how many view's are attached to document object and in MDI how many view's are attached to Document object?
Difference between Cclint DC & Cpaint Dc
how does conditionally close the Dialog Box ?
how u can move CDC pointer to one line in cview?
What is the command routing in MFC framework?
What is model and modeless dialog box ? Give some examples?
Hi All, I have created one MFC Dialog Based application.now if i am running the application its working fine,instead of closing he application i minimized the application,if i run the application again,i am getting the Dialog. I want to prevent the calling of application multiple times. please give me the code and let me know in which method i need to make changes. Praveer
How do I create a dialog box in mfc?
1)set the Title for The File DialogBox, in MFC?
How can i implement the dynamic menus in MFC plz give the code
Difference between Debug and Release versions?
How to convert a CString variable to char* or LPTSTR?