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

Explain Win32 Program Execution flow?

0 Answers  


About GDI object?

2 Answers  


write About send message and post message

4 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  


what is the stack size in win 32 program

0 Answers  






What is an Hash Mapping in java?

0 Answers   Cisco, Syntel,


What Message to limit the size of window?

0 Answers  


explain WM_PAINT message ?????

0 Answers  


What is Function entry for DLL in win3.1?

0 Answers  


How will we unable and disable services in win 7 ?

2 Answers   McAfee, Microsoft,


java is pure object oriented programming language why?

3 Answers   HCL,


what is the difference between MFC and Win32

5 Answers   ArisGlobal, Microsoft,


Categories