1)dynamic creation of a Button ?
Answers were Sorted based on User's Feedback
Answer / rishabh
CButton myButton1;
// Create a push button.
myButton1.Create(_T("My button"), WS_CHILD|WS_VISIBLE|BS_PUSHBUTTON,
CRect(10,10,100,30), pParentWnd, 1);
| Is This Answer Correct ? | 5 Yes | 1 No |
Answer / ctharam
BOOL Ctharam::OnInitDialog()
{
CButton* pLogin;
pLogin = (CButton*)GetDlgItem(IDOK);
pLogin->SetWindowTextA("Login");
}
| Is This Answer Correct ? | 3 Yes | 12 No |
Explain StretchBlt and BitBlt
If application hangs while SendMessage is waiting for the result, how you handle it?
Have you ever used win32 APIs ?
What is the range of intensity of RGB
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
What four types of properties are supported by an ActiveX control?
Explain in sort What is CTargetObject?
Whats is DDX & DDV in MFC?
how can u change button shape at run time
is it possible to display a window .without using windowclass
How can update edit control data of an executing application from other application?
How many types of combo box are their
2 Answers Aaditya Info Solutions, E Logic,