WDS : Sample Code WDS Sample - Add a Dialog The actual dialog is defined using the resource editor which comes with your compiler. As in the previous example, the dialog function is associated with a menu option such that when the user selects the appropriate menu option the dialog function will be evoked. The dialog function simply loads, performs and frees the indicated dialog. Code may be added between the gPerform() and gDispose() in order to obtain the values the user entered into the dialog. In addition, code may be added between the mNewDialog() and gPerform() in order to set default values for the controls within the dialog. #include "generics.h" [ Back to Top ] |
:
. |