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

write About send message and post message

4 Answers  


What is Win32?

14 Answers   AAA, Genpact, HCL, Wipro,


describe process of creating a new class of windows ??

1 Answers  


how radio button is active in dialog box?

1 Answers  


what API used to hide window

2 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  


What is System call executable binary file into a process?

0 Answers  


What is Function entry for DLL in win3.1?

0 Answers  


what is the function to repaint a window immediately?

2 Answers  


What is preemption ? context switching ?

3 Answers  


what is the stack size in win 32 program

0 Answers  


win 3.1 supports which type of multi tasking?

2 Answers   TISL,


Categories