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

936


What is Function entry for DLL in win3.1?

666


What is an Hash Mapping in java?

2560


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

2163


explain WM_PAINT message ?????

2771






What Message to limit the size of window?

669


What is GDI object?

689


What is System call executable binary file into a process?

672


What is preemption and context switching?

659