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 Message to limit the size of window?

0 Answers  


java is pure object oriented programming language why?

3 Answers   HCL,


System call executable binary file into a process

2 Answers  


What is preemption ? context switching ?

3 Answers  


What is System call executable binary file into a process?

0 Answers  


Message to limit the size of window

3 Answers  


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  


How will we unable and disable services in win 7 ?

2 Answers   McAfee, Microsoft,


Explain Win32 Program Execution flow?

0 Answers  


sql query for delete duplicate records in sql datadbase

0 Answers  


What is an Hash Mapping in java?

0 Answers   Cisco, Syntel,


About GDI object?

2 Answers  


Categories