12.07.2015 Views

Intel® Fortran Libraries Reference

Intel® Fortran Libraries Reference

Intel® Fortran Libraries Reference

SHOW MORE
SHOW LESS

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

2 Intel <strong>Fortran</strong> <strong>Libraries</strong> <strong>Reference</strong>Syntaxresult = DLGINIT (id, dlg)result = DLGINITWITHRESOURCEHANDLE (id, hinst, dlg)id(Input) INTEGER(4). Dialog identifier. Can be either the symbolic name for the dialog or theidentifier number, both listed in the Include file (with extension .FD).dlg(Output) Derived type dialog. Contains dialog box parameters.hinst(Input) INTEGER(4). Module instance handle in which the dialog resource can be found.Results:The result type is LOGICAL(4). The result is .TRUE. if successful; otherwise, the result is.FALSE..DLGINIT must be called to initialize a dialog box before it can be used with DLGMODAL,DLGMODELESS, or any other dialog function.DLGINIT will only search for the dialog box resource in the main application. For example, it willnot find a dialog box resource that has been built into a dynamic link library.DLGINITWITHRESOURCEHANDLE can be used when the dialog resource is not in the mainapplication. If the dialog resource is in a dynamic link library (DLL), hinst must be the valuepassed as the first argument to the DLLMAIN procedure.Dialogs can be used from any application, including console, QuickWin, and Windowsapplications.CompatibilityCONSOLE STANDARD GRAPHICS QUICKWIN GRAPHICS WINDOWS LIBSee Also: “DLGEXIT”, “DLGMODAL, DLGMODALWITHPARENT”, “DLGMODELESS”,“DLGUNINIT”ExampleUSE IFLOGMINCLUDE 'DLG1.FD'LOGICAL retlogTYPE (DIALOG) thisdlg...retlog = DLGINIT (IDD_DLG3, thisdlg)IF (.not. retlog) THEN2-54

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!