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

Hi All, i got through he h1b Lotreey in india. US staming in the consulate is pendding . i applied from india for H1b but currently i am in germany for 1 year .i wanted to know can i attend the interview in germany.

1 Answers   MultiVision,


Function entry for DLL in win3.1

3 Answers  


explain WM_PAINT message ?????

0 Answers  


what are the design patterns of an MFC application

5 Answers   Samsung, SunSoft Technologies,


What is GDI object?

0 Answers  






what Message displayed when a window is destroyed

3 Answers  


what is the stack size in win 32 program

0 Answers  


What is Win32?

14 Answers   AAA, Genpact, HCL, Wipro,


In Win32 application can we use CString datatype?

4 Answers  


What is System call executable binary file into a process?

0 Answers  


About GDI object?

2 Answers  


java is pure object oriented programming language why?

3 Answers   HCL,


Categories