
Click above to get retro games delivered to your door ever month!
X-Hacker.org- FiveWin 1.9.2 - January 97 - createdlg() creates a modeless dialogbox from resources
[<<Previous Entry] [^^Up^^] [Next Entry>>] [Menu] [About The Guide]
CreateDlg() Creates a modeless DialogBox from resources
--------------------------------------------------------------------------------
Syntax: CreateDlg( <hInstance>, <cTemplateName>,
<hWndOwner> ) --> <hDlg>
This function creates a Modeless DialogBox from
resources, giving the name of the resource.
All these functions are used automatically from
the FiveWin classes. Use the TDialog Class as it
is much more powerful and easy to use.
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:
<hDlg> The handle ( like hWnd ) of the Dialog Box.
Source code: Not provided. See SOURCE\\WINAPI\\DlogBox.c
See also: CreateDlgIndirect() DialogBox() DialogBoxIndirect()
Online resources provided by: http://www.X-Hacker.org --- NG 2 HTML conversion by Dave Pearson