Explain the way to initialize contents of a dialog

Explain the way to initialize contents of a dialog.

E

Expert

Verified

Within MFC, the contents of a dialog are initialized when they are related with their corresponding data members. It is done by "UpdateData(FALSE)" function. There control data is transferred to the data members by "UpdateData(TRUE)".
Within WIN32, the dialog data in controls can be initialized throughout WM_INITDIALOG call. There control data can be updated to the dialog members by using suitable "SendMessage" functions.

   Related Questions in Programming Languages

©TutorsGlobe All rights reserved 2022-2023.