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

  • Q : Web based programming homework

    Component 2 Task b: Task Description Computing students at this University who study on undergraduate courses require a method to view their module marks and to see how they are progressing on the module. You have been asked to develop a web

  • Q : Define Divide and conquer Divide and

    Divide and conquer: An approach to trouble solving which attempts to decrease an overall single big trouble into multiple simpler troubles.

  • Q : What is High level programming language

    High level programming language: Languages like Ada, Java, C++, and so on which give programmers with features like control structures, classes, methods, packages, and so forth. Such features are mostly independent of any specific instruction set, and

  • Q : Write a program that prints out 20

    Write a program that prints out 20 random cards form a standard deck of 52 cards. Make sure the program prints out different sets of cards from one run to the next.

  • Q : Choices in the Choice Activity Normal 0

    Normal 0 false false

  • Q : What is an Object Object : It is an

    Object: It is an instance of a particular class. In common, any number of objects might be constructed from a class definition. The class to which an object belongs states the common characteristics of all instances of that class. In those characteris

  • Q : What is Pattern Pattern : It is a

    Pattern: It is a recurring theme in class usage or design. Interfaces like Iterator encapsulate a pattern of admission to the items in a collection, whereas freeing the client from the requirement to know details of the way in which the collection is

  • Q : What is an Unary operator What is an

    What is an Unary operator: It is an operator which takes a single operand. Java's unary operators are as -, +, !, !, ++ and --.

  • Q : Explain in process verses out of

    Explain in process verses out of process component.

©TutorsGlobe All rights reserved 2022-2023.