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 |
Tell me about different kinds of synchranization objects ?
How can we create thread in MFC framework?
1) create ToolTip in MFC?
How to find the mouse entering an image?..while entering need to display next image...
how does the UIThread and worker thread communicates and handle events
How many types of combo box are their
2 Answers Aaditya Info Solutions, E Logic,
what is message Testing ?
Hi can anyone explain about the synchronization objects types and where we are using in the code.
General purpose classes in MFC
what is the difference between compiling and building?
Explain StretchBlt and BitBlt
What is socket?