Retro video games delivered to your door every month!
Click above to get retro games delivered to your door ever month!
X-Hacker.org- FiveWin 1.9.2 - January 97 - dialogbox() creates a modal dialog box from resources http://www.X-Hacker.org [<<Previous Entry] [^^Up^^] [Next Entry>>] [Menu] [About The Guide]
 DialogBox()            Creates a modal dialog box from resources
--------------------------------------------------------------------------------

   Syntax:              DialogBox( <hInstance>, <cTemplate>, <hWndOwner> )
                                   --> nResult

                        This function creates and executes a Modal DialogBox
                        from a Dialog Box template resource.

   Parameters:

   <hInstance>          Identifies an instance of the module whose executable
                        file contains the dialog box template. FiveWin supplies
                        a GetResources() function that returns the Instance
                        of the EXE or the handle of the resources DLL in use.

   <cTemplateName>      The name given to the DialogBox template in the
                        resources.

   <hWndOwner>          The handle of the window which is the owner of the
                        DialogBox. By default it is GetActiveWindow().

   Returns:

   <nResult>            The parameter supplied to the function
                        EndDialog() used to terminate the execution of the
                        Dialog Box.

   Observations:        Use FiveWin Classes and xBase commands. They are
                        much more powerful and easy to manage.

   Source code:         Not provided. See SOURCE\\WINAPI\\Dlogbox.c

   See also:            EndDialog() CreateDlg() CreateDlgI()
                        DialogBoxIndirect()


Online resources provided by: http://www.X-Hacker.org --- NG 2 HTML conversion by Dave Pearson