Annotation of os232sdk/toolkt20/c/samples/style/sty_dlg.ipf, revision 1.1

1.1     ! root        1: .*==============================================================*\
        !             2: .*
        !             3: .* Dlg.ipf - Information Tag Language file for the screens
        !             4: .*              for help on the dialog boxes.
        !             5: .*
        !             6: .*==============================================================*/
        !             7: 
        !             8: .*--------------------------------------------------------------*\
        !             9: .*  Help for DEMOMSGBOX
        !            10: .*      res = PANEL_DEMOMSGBOX
        !            11: .*--------------------------------------------------------------*/
        !            12: :h1 res=3100 name=PANEL_DEMOMSGBOX.Demo Message Box
        !            13: :p.This dialog demonstrates the different attributes of a Message
        !            14: Box created with the WinMessageBox() function.
        !            15: 
        !            16: 
        !            17: .*--------------------------------------------------------------*\
        !            18: .*  Demo Message Box Ok button
        !            19: .*      res = PANEL_DEMOMSGBOX_OK
        !            20: .*--------------------------------------------------------------*/
        !            21: :h1 res=3110 name=PANEL_DEMOMSGBOX_OK.OK
        !            22: :p.This button closes the dialog.
        !            23: 
        !            24: .*--------------------------------------------------------------*\
        !            25: .*  Demo Message Box Help button
        !            26: .*      res = PANEL_DEMOMSGBOX_HELP
        !            27: .*--------------------------------------------------------------*/
        !            28: :h1 res=3120 name=PANEL_DEMOMSGBOX_HELP.Help
        !            29: :p.This button calls the help screen for the selected item.
        !            30: 
        !            31: 
        !            32: 
        !            33: .*--------------------------------------------------------------*\
        !            34: .*  Help for BUTTONSDLG
        !            35: .*      res = PANEL_BUTTONSDLG
        !            36: .*--------------------------------------------------------------*/
        !            37: :h1 res=4100 name=PANEL_BUTTONSDLG.Button Demo Dialog
        !            38: :p.This dialog demonstrates the differnt styles of button controls.
        !            39: 
        !            40: 
        !            41: .*--------------------------------------------------------------*\
        !            42: .*  Buttons Demo Dialog Radio buttons
        !            43: .*      res = PANEL_BUTTONSDLG_RADIO
        !            44: .*--------------------------------------------------------------*/
        !            45: :h1 res=4110 name=PANEL_BUTTONSDLG_RADIO.Radio
        !            46: :p.This button is an example of a radio button.  Only one radio
        !            47: button in a group of buttons can be selected at one time.  When
        !            48: this button is selected, all other radio buttons in the same
        !            49: group are automatically unselected.
        !            50: 
        !            51: .*--------------------------------------------------------------*\
        !            52: .*  Buttons Demo Dialog Check Box
        !            53: .*      res = PANEL_BUTTONSDLG_CHECKBOX
        !            54: .*--------------------------------------------------------------*/
        !            55: :h1 res=4120 name=PANEL_BUTTONSDLG_CHECKBOX.Check Box
        !            56: :p.A check box is a small square window that is empty when it is
        !            57: unselected, and contains an "x" when selected.  Check box text is
        !            58: displayed to the right of the check box.
        !            59: 
        !            60: .*--------------------------------------------------------------*\
        !            61: .*  Buttons Demo Dialog Three State
        !            62: .*      res = PANEL_BUTTONSDLG_THREESTATE
        !            63: .*--------------------------------------------------------------*/
        !            64: :h1 res=4130 name=PANEL_BUTTONSDLG_THREESTATE.Three State
        !            65: :p.Similar to a check box, except that it toggles between selected,
        !            66: unselected, and halftone states.
        !            67: 
        !            68: .*--------------------------------------------------------------*\
        !            69: .*  Buttons Demo Dialog Push button
        !            70: .*      res = PANEL_BUTTONSDLG_PUSHBUTTON
        !            71: .*--------------------------------------------------------------*/
        !            72: :h1 res=4140 name=PANEL_BUTTONSDLG_PUSHBUTTON.Push Button
        !            73: :p.A push button.  The button posts a WM_COMMAND message to its
        !            74: owner window when selected.
        !            75: 
        !            76: .*--------------------------------------------------------------*\
        !            77: .*  Buttons Demo Dialog Ok button
        !            78: .*      res = PANEL_BUTTONSDLG_OK
        !            79: .*--------------------------------------------------------------*/
        !            80: :h1 res=4150 name=PANEL_BUTTONSDLG_OK.OK
        !            81: :p.This button closes the dialog.
        !            82: 
        !            83: .*--------------------------------------------------------------*\
        !            84: .*  Buttons Demo Dialog Help button
        !            85: .*      res = PANEL_BUTTONSDLG_HELP
        !            86: .*--------------------------------------------------------------*/
        !            87: :h1 res=4160 name=PANEL_BUTTONSDLG_HELP.Help
        !            88: :p.This button calls the help screen for the selected item.
        !            89: 
        !            90: 
        !            91: 
        !            92: .*--------------------------------------------------------------*\
        !            93: .*  Help for LISTBOXDLG
        !            94: .*      res = PANEL_LISTBOXDLG
        !            95: .*--------------------------------------------------------------*/
        !            96: :h1 res=5100 name=PANEL_LISTBOXDLG.List Box Demo Dialog
        !            97: :p.This dialog demonstrates the different styles of list boxes.
        !            98: 
        !            99: 
        !           100: .*--------------------------------------------------------------*\
        !           101: .*  LISTBOX Demo Dialog Radio Single
        !           102: .*      res = PANEL_LISTBOXDLG_SINGLE
        !           103: .*--------------------------------------------------------------*/
        !           104: :h1 res=5110 name=PANEL_LISTBOXDLG_SINGLE.Single Entry
        !           105: :p.This listbox is an example of a single entry list box.  Only
        !           106: one item at a time can be selected.
        !           107: 
        !           108: .*--------------------------------------------------------------*\
        !           109: .*  LISTBOX Demo Dialog Multiple
        !           110: .*      res = PANEL_LISTBOXDLG_MULTIPLE
        !           111: .*--------------------------------------------------------------*/
        !           112: :h1 res=5120 name=PANEL_LISTBOXDLG_MULTIPLE.Multiple Entry
        !           113: :p.This listbox is an example of a multiple entry list box.  More
        !           114: than one item can be selected at a time.
        !           115: 
        !           116: .*--------------------------------------------------------------*\
        !           117: .*  LISTBOX Demo Dialog Ok button
        !           118: .*      res = PANEL_LISTBOXDLG_OK
        !           119: .*--------------------------------------------------------------*/
        !           120: :h1 res=5130 name=PANEL_LISTBOXDLG_OK.OK
        !           121: :p.This button closes the dialog.
        !           122: 
        !           123: .*--------------------------------------------------------------*\
        !           124: .*  LISTBOX Demo Dialog Help button
        !           125: .*      res = PANEL_LISTBOXDLG_HELP
        !           126: .*--------------------------------------------------------------*/
        !           127: :h1 res=5140 name=PANEL_LISTBOXDLG_HELP.Help
        !           128: :p.This button calls the help screen for the selected item.
        !           129: 
        !           130: 
        !           131: 
        !           132: .*--------------------------------------------------------------*\
        !           133: .*  Help for COMBOBOXDLG
        !           134: .*      res = PANEL_COMBOBOXDLG
        !           135: .*--------------------------------------------------------------*/
        !           136: :h1 res=6100 name=PANEL_COMBOBOXDLG.ComboBox Demo Dialog
        !           137: :p.This dialog demonstrates the different styles of combo boxes.
        !           138: 
        !           139: 
        !           140: .*--------------------------------------------------------------*\
        !           141: .*  Combo Box Demo Dialog Simple
        !           142: .*      res = PANEL_COMBOBOXDLG_SIMPLE
        !           143: .*--------------------------------------------------------------*/
        !           144: :h1 res=6110 name=PANEL_COMBOBOXDLG_SIMPLE.Simple Combo Box
        !           145: :p.This combo box is an example of a Simple combo box.  Simple
        !           146: combo boxes are made up of a listbox control and an entry field
        !           147: control that are visible at all times.
        !           148: 
        !           149: .*--------------------------------------------------------------*\
        !           150: .*  Combo Box Demo Dialog Drop-down
        !           151: .*      res = PANEL_COMBOBOXDLG_DROPDOWN
        !           152: .*--------------------------------------------------------------*/
        !           153: :h1 res=6120 name=PANEL_COMBOBOXDLG_DROPDOWN.Drop-down
        !           154: :p.This combo box is an example of a drop-down combo box.  A drop-down
        !           155: combo box is made up of an entry field control and a button.  When the
        !           156: user selects the button, a listbox control appears.
        !           157: 
        !           158: .*--------------------------------------------------------------*\
        !           159: .*  Combo Box Demo Dialog Drop-down List
        !           160: .*      res = PANEL_COMBOBOXDLG_DROPDOWNLIST
        !           161: .*--------------------------------------------------------------*/
        !           162: :h1 res=6130 name=PANEL_COMBOBOXDLG_DROPDOWNLIST.Drop-down List
        !           163: :p.This combo box is an example of a Drop-down List combo box.  A
        !           164: Drop-down List combo box is similar to a Drop-down combo box, but
        !           165: the user cannot enter or edit text in the entry field.
        !           166: 
        !           167: .*--------------------------------------------------------------*\
        !           168: .*  Combo Box Demo Dialog Ok button
        !           169: .*      res = PANEL_COMBOBOXDLG_OK
        !           170: .*--------------------------------------------------------------*/
        !           171: :h1 res=6140 name=PANEL_COMBOBOXDLG_OK.OK
        !           172: :p.This button closes the dialog.
        !           173: 
        !           174: .*--------------------------------------------------------------*\
        !           175: .*  Combo Box Demo Dialog Help button
        !           176: .*      res = PANEL_COMBOBOXDLG_HELP
        !           177: .*--------------------------------------------------------------*/
        !           178: :h1 res=6150 name=PANEL_COMBOBOXDLG_HELP.Help
        !           179: :p.This button calls the help screen for the selected item.
        !           180: 
        !           181: 
        !           182: 
        !           183: .*--------------------------------------------------------------*\
        !           184: .*  Help for ENTRYFIELDDLG
        !           185: .*      res = PANEL_ENTRYFIELDDLG
        !           186: .*--------------------------------------------------------------*/
        !           187: :h1 res=7100 name=PANEL_ENTRYFIELDDLG.Entry Field Demo Dialog
        !           188: :p.This dialog demonstrates the different styles of entry fields.
        !           189: 
        !           190: 
        !           191: .*--------------------------------------------------------------*\
        !           192: .*  Entry Field Demo Dialog Single line
        !           193: .*      res = PANEL_ENTRYFIELDDLG_ENTRY
        !           194: .*--------------------------------------------------------------*/
        !           195: :h1 res=7110 name=PANEL_ENTRYFIELDDLG_SIMPLE.Entry Field
        !           196: :p.This entry field is an example of a Single line entry field.
        !           197: The entry field only accepts a single line of text but will scroll
        !           198: horizontally should the text length be longer than the visible
        !           199: area of the control.
        !           200: 
        !           201: .*--------------------------------------------------------------*\
        !           202: .*  Entry Field Demo Dialog MLE
        !           203: .*      res = PANEL_ENTRYFIELDDLG_MLE
        !           204: .*--------------------------------------------------------------*/
        !           205: :h1 res=7120 name=PANEL_ENTRYFIELDDLG_MLE.Multiple Line Entry Field
        !           206: :p.This entry field is an example of a multiple line entry field (MLE).
        !           207: An MLE is a very sophisticated control window that users use to view
        !           208: and edit multiple lines of text.  An MLE plrovides all the text-
        !           209: editing capability of a simple text editor, making these features
        !           210: readily available to applications.
        !           211: 
        !           212: .*--------------------------------------------------------------*\
        !           213: .*  Entry Field Demo Dialog Ok button
        !           214: .*      res = PANEL_ENTRYFIELDDLG_OK
        !           215: .*--------------------------------------------------------------*/
        !           216: :h1 res=7130 name=PANEL_ENTRYFIELDDLG_OK.OK
        !           217: :p.This button closes the dialog.
        !           218: 
        !           219: .*--------------------------------------------------------------*\
        !           220: .*  Entry Field Demo Dialog Help button
        !           221: .*      res = PANEL_ENTRYFIELDDLG_HELP
        !           222: .*--------------------------------------------------------------*/
        !           223: :h1 res=7140 name=PANEL_ENTRYFIELDDLG_HELP.Help
        !           224: :p.This button calls the help screen for the selected item.
        !           225: 
        !           226: 
        !           227: .*--------------------------------------------------------------*\
        !           228: .*  Help for STATICDLG
        !           229: .*      res = PANEL_STATICDLG
        !           230: .*--------------------------------------------------------------*/
        !           231: :h1 res=8100 name=PANEL_STATICDLG.Static Demo Dialog
        !           232: :p.This dialog demonstrates the different styles of static controls.
        !           233: 
        !           234: .*--------------------------------------------------------------*\
        !           235: .*  Static Demo Dlg Ok button
        !           236: .*      res = PANEL_STATICDLG_OK
        !           237: .*--------------------------------------------------------------*/
        !           238: :h1 res=8110 name=PANEL_STATICDLG_OK.OK
        !           239: :p.This button closes the dialog.
        !           240: 
        !           241: .*--------------------------------------------------------------*\
        !           242: .*  Static Demo Dlg Help button
        !           243: .*      res = PANEL_STATICDLG_HELP
        !           244: .*--------------------------------------------------------------*/
        !           245: :h1 res=8120 name=PANEL_STATICDLG_HELP.Help
        !           246: :p.This button calls the help screen for the selected item.
        !           247: 
        !           248: 
        !           249: 
        !           250: .*--------------------------------------------------------------*\
        !           251: .*  Help Panels for PPDEMODLG
        !           252: .*      res = PANEL_PPDEMODLG
        !           253: .*--------------------------------------------------------------*/
        !           254: :h1 res=9100 name=PANEL_PPDEMODLG.Pres. Param. Demo Dialog
        !           255: :p.This dialog demonstrates how to use Presentation Parameters with
        !           256: control windows.  Presentation Parameters are used to set display
        !           257: attributes of a particular control window.  Such attributes include
        !           258: foreground and background color as well as the font the control
        !           259: uses to display its text.
        !           260: :p.This dialog allows you to set the foreground color, background
        !           261: color, and font for two controls.  The two controls used, a static
        !           262: text box and a check box button, are on the left side of the center
        !           263: dividing line of the dialog.  On the right side of the dialog are
        !           264: three combo boxes, which are used to set the three attributes.
        !           265: :p.To set an attribute for the controls, select the value desired
        !           266: from the appropriate combo box.  For example, to set the foreground
        !           267: color of the controls to blue, select blue from the Foreground
        !           268: combo box.  Select the Ok button when you have set all the attributes
        !           269: you want.  The foreground color, background color, and font
        !           270: presentation parameters of both controls will be set to the values
        !           271: you specified.
        !           272: :p.When finished with the dialog, select the Apply button.
        !           273: 
        !           274: .*--------------------------------------------------------------*\
        !           275: .*  Pres. Param Demo Dialog Foreground Color List
        !           276: .*      res = PANEL_PPDEMODLG_FORECOLORLIST
        !           277: .*--------------------------------------------------------------*/
        !           278: :h1 res=9110 name=PANEL_PPDEMODLG_FORECOLORLIST.Foreground Color List
        !           279: :p.This combo box allows you to set the foreground color of the
        !           280: controls.  Simply select the foreground color desired and select the
        !           281: Ok button.
        !           282: 
        !           283: .*--------------------------------------------------------------*\
        !           284: .*  Pres. Param Demo Dialog Background Color List
        !           285: .*      res = PANEL_PPDEMODLG_BACKCOLORLIST
        !           286: .*--------------------------------------------------------------*/
        !           287: :h1 res=9120 name=PANEL_PPDEMODLG_BACKCOLORLIST.Background Color List
        !           288: :p.This combo box allows you to set the background color of the
        !           289: controls.  Simply select the background color desired and select the
        !           290: Ok button.
        !           291: 
        !           292: .*--------------------------------------------------------------*\
        !           293: .*  Pres. Param Demo Dialog Font List
        !           294: .*      res = PANEL_PPDEMODLG_FONTLIST
        !           295: .*--------------------------------------------------------------*/
        !           296: :h1 res=9130 name=PANEL_PPDEMODLG_FONTLIST.Font List
        !           297: :p.This combo box allows you to set the font for the text of the
        !           298: controls.  Simply select the font desired and select the Ok button.
        !           299: 
        !           300: .*--------------------------------------------------------------*\
        !           301: .*  Pres. Param Demo Dialog Test button
        !           302: .*      res = PANEL_PPDEMODLG_FONTLIST
        !           303: .*--------------------------------------------------------------*/
        !           304: :h1 res=9140 name=PANEL_PPDEMODLG_TESTBUTTON.Test Button
        !           305: :p.This button is used to show the effect of changing the
        !           306: presentation parameters of a check box button.  The button's
        !           307: foreground color, background color, and font can be changed by
        !           308: selecting the appropriate attribute and selecting the Ok button.
        !           309: 
        !           310: .*--------------------------------------------------------------*\
        !           311: .*  Pres. Param Demo Dialog Apply button
        !           312: .*      res = PANEL_PPDEMODLG_APPLY
        !           313: .*--------------------------------------------------------------*/
        !           314: :h1 res=9150 name=PANEL_PPDEMODLG_APPLY.Apply
        !           315: :p.This button causes the presentation parameters of the two
        !           316: test controls to be set to the values selected.
        !           317: 
        !           318: .*--------------------------------------------------------------*\
        !           319: .*  Pres. Param Demo Dialog Cancel button
        !           320: .*      res = PANEL_PPDEMODLG_CANCEL
        !           321: .*--------------------------------------------------------------*/
        !           322: :h1 res=9160 name=PANEL_PPDEMODLG_CANCEL.Cancel
        !           323: :p.This button closes the dialog.
        !           324: 
        !           325: .*--------------------------------------------------------------*\
        !           326: .*  Pres. Param Demo Dialog Help button
        !           327: .*      res = PANEL_PPDEMODLG_HELP
        !           328: .*--------------------------------------------------------------*/
        !           329: :h1 res=9170 name=PANEL_PPDEMODLG_HELP.Help
        !           330: :p.This button calls the help screen for the selected item.
        !           331: 
        !           332: 
        !           333: .*--------------------------------------------------------------*\
        !           334: .*  Help for ABOUTBOX
        !           335: .*      res = PANEL_ABOUTBOX
        !           336: .*--------------------------------------------------------------*/
        !           337: :h1 res=10100 name=PANEL_ABOUTBOX.About Box
        !           338: :p.This dialog displays the version number, copyright notice,
        !           339: and any other pertinent information for the application.
        !           340: 
        !           341: .*--------------------------------------------------------------*\
        !           342: .*  About Box Dlg Ok button
        !           343: .*      res = PANEL_ABOUTBOX_OK
        !           344: .*--------------------------------------------------------------*/
        !           345: :h1 res=10110 name=PANEL_ABOUTBOX_OK.OK
        !           346: :p.This button closes the dialog.
        !           347: 
        !           348: 
        !           349: .*--------------------------------------------------------------*\
        !           350: .*  Help for the unknown dialog
        !           351: .*      res = PANEL_UNKNOWNDLG
        !           352: .*--------------------------------------------------------------*/
        !           353: :h1 res=20100 name=PANEL_UNKNOWNDLG.Unknown Dialog Box
        !           354: :p.This panel is displayed for any dialog box that does not have
        !           355: a help panel created for it.  Make sure you have a help panel
        !           356: created for this dialog.
        !           357: 
        !           358: 
        !           359: .*--------------------------------------------------------------*\
        !           360: .*  Help panel for an unknown dialog item
        !           361: .*      res = PANEL_UNKNOWN
        !           362: .*--------------------------------------------------------------*/
        !           363: :h1 res=20110 name=PANEL_UNKNOWN.Unknown Dialog Item
        !           364: :p.This panel is displayed for any dialog box item that does not
        !           365: have a help panel created for it.  Make sure that you have a help
        !           366: panel created for all dialog box items.

unix.superglobalmegacorp.com

This archive runs on limited infrastructure. Preserving old code on modern bandwidth. Automated agents are requested to crawl responsibly.