how to Initialize contents of a dialog?

Answers were Sorted based on User's Feedback



how to Initialize contents of a dialog?..

Answer / naviyr

In MFC, the contents of a dialog are initialized if they are
associated with their corresponding data members. This is
done through "UpdateData(FALSE)" function. The control data
is transferred to the data members through "UpdateData(TRUE)".

In WIN32, the dialog data in controls can be initialized
during WM_INITDIALOG call. The control data can be updated
to the dialog members using apppropriate "SendMessage"
functions.

Is This Answer Correct ?    9 Yes 1 No

how to Initialize contents of a dialog?..

Answer / mahesh

Using OnInitDialog API

Is This Answer Correct ?    3 Yes 1 No

Post New Answer

More Win32API Interview Questions

what is use of the createWindow object

4 Answers   HCL,


About GDI object?

2 Answers  


java is pure object oriented programming language why?

3 Answers   HCL,


What is Win32?

14 Answers   AAA, Genpact, HCL, Wipro,


How to load Bitmap at Dialogbakground in an MFC application?

1 Answers   SunSoft Technologies,


to take three string inputs in a two dimensional array of 3 rows and 15 columns and write a function that prints them.

0 Answers  


write About send message and post message

4 Answers  


what API used to hide window

2 Answers  


In win32 application if defining a variable of CString then it gives the error "CString:Undeclared identifier" how to solve the problem? What headerfile need to include??

2 Answers  


How will we unable and disable services in win 7 ?

2 Answers   McAfee, Microsoft,


Function entry for DLL in win3.1

3 Answers  


win 3.1 supports which type of multi tasking?

2 Answers   TISL,


Categories