how to Initialize contents of a dialog?

Answer Posted / 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



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

what is the stack size in win 32 program

928


What is preemption and context switching?

650


What is Function entry for DLL in win3.1?

658


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

2153


explain WM_PAINT message ?????

2761






What is GDI object?

685


What Message to limit the size of window?

659


What is System call executable binary file into a process?

667


What is an Hash Mapping in java?

2551