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

How will we unable and disable services in win 7 ?

2 Answers   McAfee, Microsoft,


sql query for delete duplicate records in sql datadbase

0 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 radio button is active in dialog box?

1 Answers  


What is System call executable binary file into a process?

0 Answers  






What is GDI object?

0 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 Win32?

14 Answers   AAA, Genpact, HCL, Wipro,


what are the design patterns of an MFC application

5 Answers   Samsung, SunSoft Technologies,


how to Initialize contents of a dialog?

2 Answers   TCS,


what is the function to repaint a window immediately?

2 Answers  


write About send message and post message

4 Answers  


Categories