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.

Descriptions of the Library Routines 2Use the DLGSET functions to set the values of variables associated with your dialog box controls.Each control has at least one of the integer, logical, or character variables associated with it, butnot necessarily all. The control variables are listed in the table in "Control Indexes" in your user’sguide. The types of controls they are associated with are listed in the table in "Available Indexesfor Each Dialog Control" in your user’s guide.You can use DLGSET to set any control variable. You can also use DLGSETINT to set an integervariable, or DLGSETLOG and DLGSETCHAR to set logical and character values, respectively. Ifyou use DLGSET, you do not have to worry about matching the function to the variable type. Ifyou use the wrong function type for a variable or try to set a variable type that is not available, theDLGSET functions return .FALSE..Calling DLGSET does not cause a callback routine to be called for the changing value of acontrol. In particular, when inside a callback, performing a DLGSET on a control does not causethe associated callback for that control to be called. Callbacks are invoked automatically only byuser action on the controls in the dialog box. If the callback routine needs to be called, you can callit manually after the DLGSET is executed.If two or more controls have the same controlid, you cannot use these controls in a DLGSEToperation. In this case the function returns .FALSE..CompatibilityCONSOLE STANDARD GRAPHICS QUICKWIN GRAPHICS WINDOWS LIBSee Also: “DLGSETSUB”, “DLGGET, DLGGETINT, DLGGETLOG, DLGGETCHAR”,"Using Dialogs", "Dialog Functions", and "Dialog Controls" in your user’s guideExampleUSE IFLOGMINCLUDE "DLGRADAR.FD"TYPE (DIALOG) dlgLOGICAL retlog...retlog = DLGSET (dlg, IDC_SCROLLBAR1, 400, dlg_range)retlog = DLGSET (dlg, IDC_CHECKBOX1, .FALSE., dlg_status)retlog = DLGSET (dlg, IDC_RADIOBUTTON1, "Hot Button", dlg_title)...DLGSETCTRLEVENTHANDLERDialog Function: Assigns user-written event handlers to ActiveX* controls in a dialog box. Thisfunction is only available on Windows* systems on IA-32 processors.Module: USE IFLOGM2-63

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

Saved successfully!

Ooh no, something went wrong!