Answers were Sorted based on User's Feedback
Answer / 106743013743
CButton myButton1, myButton2, myButton3, myButton4;
// Create a push button.
myButton1.Create(_T("My button"), WS_CHILD|WS_VISIBLE|BS_PUSHBUTTON,
CRect(10,10,100,30), pParentWnd, 1);
// Create a radio button.
myButton2.Create(_T("My button"), WS_CHILD|WS_VISIBLE|BS_RADIOBUTTON,
CRect(10,40,100,70), pParentWnd, 2);
// Create an auto 3-state button.
myButton3.Create(_T("My button"), WS_CHILD|WS_VISIBLE|BS_AUTO3STATE,
CRect(10,70,100,100), pParentWnd, 3);
// Create an auto check box.
myButton4.Create(_T("My button"), WS_CHILD|WS_VISIBLE|BS_AUTOCHECKBOX,
CRect(10,100,100,130), pParentWnd, 4);
|Is This Answer Correct ?||1 Yes||0 No|
how many types of messages are their
What is difference between the TCP/IP and UDP socket
What is the difference between GetMessage and PeekMessage ?
1)does Frame Thickness in MFC?
2.create for 10 batch: Employee_Number Employee_name Employee_Dateofjoining Employee_address Employee_salary 1.select the employee name who deriving more than 10 thousand salary and joined before august 08. use structure and pointers
19)how to set Back Ground Picture to a Dialog Box in MFC ?
If application hangs while SendMessage is waiting for the result, how you handle it?
What is the use of message map ?
What are the advantages of using Doc/View or SDI over DialogBox
Explain Doc/View architecture
How can update edit control data of an executing application from other application?
What is the difference between the ASSERT and VERIFY macros?