indexing description: "ComboBox Windows Constants." legal: "See notice at end of class." status: "See notice at end of class." date: "$Date: 2006-03-22 23:29:03 -0800 (Wed, 22 Mar 2006) $" revision: "$Revision: 57641 $" class interface WEL_COMBO_BOX_CONSTANTS create default_create -- Process instances of classes with no creation clause. -- (Default: do nothing.) -- (from ANY) feature -- Access generating_type: STRING_8 -- Name of current object's generating type -- (type of which it is a direct instance) -- (from ANY) generator: STRING_8 -- Name of current object's generating class -- (base class of the type of which it is a direct instance) -- (from ANY) feature -- Comparison frozen deep_equal (some: ANY; other: like arg #1): BOOLEAN -- Are `some' and `other' either both void -- or attached to isomorphic object structures? -- (from ANY) ensure -- from ANY shallow_implies_deep: standard_equal (some, other) implies Result both_or_none_void: (some = Void) implies (Result = (other = Void)) same_type: (Result and (some /= Void)) implies some.same_type (other) symmetric: Result implies deep_equal (other, some) frozen equal (some: ANY; other: like arg #1): BOOLEAN -- Are `some' and `other' either both void or attached -- to objects considered equal? -- (from ANY) ensure -- from ANY definition: Result = (some = Void and other = Void) or else ((some /= Void and other /= Void) and then some.is_equal (other)) is_equal (other: like Current): BOOLEAN -- Is `other' attached to an object considered -- equal to current object? -- (from ANY) require -- from ANY other_not_void: other /= Void ensure -- from ANY symmetric: Result implies other.is_equal (Current) consistent: standard_is_equal (other) implies Result frozen standard_equal (some: ANY; other: like arg #1): BOOLEAN -- Are `some' and `other' either both void or attached to -- field-by-field identical objects of the same type? -- Always uses default object comparison criterion. -- (from ANY) ensure -- from ANY definition: Result = (some = Void and other = Void) or else ((some /= Void and other /= Void) and then some.standard_is_equal (other)) frozen standard_is_equal (other: like Current): BOOLEAN -- Is `other' attached to an object of the same type -- as current object, and field-by-field identical to it? -- (from ANY) require -- from ANY other_not_void: other /= Void ensure -- from ANY same_type: Result implies same_type (other) symmetric: Result implies other.standard_is_equal (Current) feature -- Status report conforms_to (other: ANY): BOOLEAN -- Does type of current object conform to type -- of `other' (as per Eiffel: The Language, chapter 13)? -- (from ANY) require -- from ANY other_not_void: other /= Void same_type (other: ANY): BOOLEAN -- Is type of current object identical to type of `other'? -- (from ANY) require -- from ANY other_not_void: other /= Void ensure -- from ANY definition: Result = (conforms_to (other) and other.conforms_to (Current)) feature -- Duplication copy (other: like Current) -- Update current object using fields of object attached -- to `other', so as to yield equal objects. -- (from ANY) require -- from ANY other_not_void: other /= Void type_identity: same_type (other) ensure -- from ANY is_equal: is_equal (other) frozen deep_copy (other: like Current) -- Effect equivalent to that of: -- copy (`other' . deep_twin) -- (from ANY) require -- from ANY other_not_void: other /= Void ensure -- from ANY deep_equal: deep_equal (Current, other) frozen deep_twin: like Current -- New object structure recursively duplicated from Current. -- (from ANY) ensure -- from ANY deep_equal: deep_equal (Current, Result) frozen standard_copy (other: like Current) -- Copy every field of `other' onto corresponding field -- of current object. -- (from ANY) require -- from ANY other_not_void: other /= Void type_identity: same_type (other) ensure -- from ANY is_standard_equal: standard_is_equal (other) frozen standard_twin: like Current -- New object field-by-field identical to `other'. -- Always uses default copying semantics. -- (from ANY) ensure -- from ANY standard_twin_not_void: Result /= Void equal: standard_equal (Result, Current) frozen twin: like Current -- New object equal to `Current' -- twin calls copy; to change copying/twining semantics, redefine copy. -- (from ANY) ensure -- from ANY twin_not_void: Result /= Void is_equal: Result.is_equal (Current) feature -- Basic operations frozen default: like Current -- Default value of object's type -- (from ANY) frozen default_pointer: POINTER -- Default value of type `POINTER' -- (Avoid the need to write `p'.default for -- some `p' of type `POINTER'.) -- (from ANY) default_rescue -- Process exception for routines with no Rescue clause. -- (Default: do nothing.) -- (from ANY) frozen do_nothing -- Execute a null action. -- (from ANY) feature -- Access : notification flags cbenf_dropdown: INTEGER_32 is 4 -- The user activated the drop-down list. -- -- Declared in Windows as CBENF_DROPDOWN cbenf_escape: INTEGER_32 is 3 -- The user pressed the ESCAPE key. -- -- Declared in Windows as CBENF_ESCAPE cbenf_killfocus: INTEGER_32 is 1 -- The edit box lost the keyboard focus. -- -- Declared in Windows as CBENF_KILLFOCUS cbenf_return: INTEGER_32 is 2 -- The user completed the edit operation by pressing -- the ENTER key. -- -- Declared in Windows as CBENF_RETURN feature -- Extended Messages cbem_deleteitem: INTEGER_32 is 324 -- Removes an item from a ComboBoxEx control. -- -- Declared in Windows as CBEM_DELETEITEM cbem_getcombocontrol: INTEGER_32 is 1030 -- Retrieves the handle to the child combo box control. -- -- Declared in Windows as CBEM_GETCOMBOCONTROL cbem_geteditcontrol: INTEGER_32 is 1031 -- Retrieves the handke to the edit control portion of -- a ComboBoxEc control. -- -- Declared in Windows as CBEM_GETEDITCONTROL cbem_getexstyle: INTEGER_32 is 1033 -- Retrieves the extended styles of a ComboBoxEx control. -- -- Declared in Windows as CBEM_GETEXSTYLE cbem_getimagelist: INTEGER_32 is 1027 -- Retrieves the handle to an image list assigned -- to a ComboBoxEx control. -- -- Declared in Windows as CBEM_GETIMAGELIST cbem_getitem: INTEGER_32 is 1037 -- Retrieves item information for a given ComboBoxEx item. -- -- Declared in Windows as CBEM_GETITEM cbem_haseditchanged: INTEGER_32 is 1034 -- Determines if the user has changed the contents of the -- ComboBoxEx edit control by typing. -- -- Declared in Windows as CBEM_HASEDITCHANGED cbem_insertitem: INTEGER_32 is 1035 -- Inserts a new item in a ComboBoxEx. -- -- Declared in Windows as CBEM_INSERTITEM cbem_setexstyle: INTEGER_32 is 1032 -- Sets extended styles within a ComboBoxEx control. -- -- Declared in Windows as CBEM_SETEXSTYLE cbem_setimagelist: INTEGER_32 is 1026 -- Sets an image list for a ComboBoxEx control. -- -- Declared in Windows as CBEM_SETIMAGELIST cbem_setitem: INTEGER_32 is 1036 -- Sets the attributes for an item in a ComboBoxEx control. -- -- Declared in Windows as CBEM_SETITEM feature -- Extended Notifications cben_beginedit: INTEGER_32 is -804 -- Sent when the user activates the drop-down list in the -- control's edit box. -- -- Declared in Windows as CBEN_BEGINEDIT cben_deleteitem: INTEGER_32 is -802 -- Sent when an item has been deleted. -- -- Declared in Windows as CBEN_DELETEITEM cben_endedit: INTEGER_32 is -806 -- Sent when the user has concluded an operation within -- the edit box or has selected an item from the control's -- drop-down list. -- -- Declared in Windows as CBEN_ENDEDIT cben_getdispinfo: INTEGER_32 is -807 -- Sent to retrieve display information about a callback item. -- -- Declared in Windows as CBEN_GETDISPINFO cben_insertitem: INTEGER_32 is -801 -- Send when a new item has been inserted in the control. -- -- Declared in Windows as CBEN_INSERTITEM feature -- Extended Style cbes_ex_noeditimage: INTEGER_32 is 1 -- The edit box will not display an item image. -- -- Declared in Windows as CBES_EX_NOEDITIMAGE cbes_ex_noeditimageindent: INTEGER_32 is 2 -- The edit box will not indend text to make room -- for an item image. -- -- Declared in Windows as CBES_EX_NOEDITIMAGEINDENT feature -- Messages cb_addstring: INTEGER_32 is 323 -- Declared in Windows as CB_ADDSTRING cb_deletestring: INTEGER_32 is 324 -- Declared in Windows as CB_DELETESTRING cb_dir: INTEGER_32 is 325 -- Declared in Windows as CB_DIR cb_err: INTEGER_32 is -1 -- Declared in Windows as CB_ERR cb_errspace: INTEGER_32 is -2 -- Declared in Windows as CB_ERRSPACE cb_findstring: INTEGER_32 is 332 -- Declared in Windows as CB_FINDSTRING cb_findstringexact: INTEGER_32 is 344 -- Declared in Windows as CB_FINDSTRINGEXACT cb_getcount: INTEGER_32 is 326 -- Declared in Windows as CB_GETCOUNT cb_getcursel: INTEGER_32 is 327 -- Declared in Windows as CB_GETCURSEL cb_getdroppedcontrolrect: INTEGER_32 is 338 -- Declared in Windows as CB_GETDROPPEDCONTROLRECT cb_getdroppedstate: INTEGER_32 is 343 -- Declared in Windows as CB_GETDROPPEDSTATE cb_geteditsel: INTEGER_32 is 320 -- Declared in Windows as CB_GETEDITSEL cb_getextendedui: INTEGER_32 is 342 -- Declared in Windows as CB_GETEXTENDEDUI cb_getitemdata: INTEGER_32 is 336 -- Declared in Windows as CB_GETITEMDATA cb_getitemheight: INTEGER_32 is 340 -- Declared in Windows as CB_GETITEMHEIGHT cb_getlbtext: INTEGER_32 is 328 -- Declared in Windows as CB_GETLBTEXT cb_getlbtextlen: INTEGER_32 is 329 -- Declared in Windows as CB_GETLBTEXTLEN cb_gettopindex: INTEGER_32 is 347 -- An application sends the CB_GETTOPINDEX message to -- retrieve the zero-based index of the first visible -- item in the list box portion of a combo box. -- -- Initially, the item with index 0 is at the top of -- the list box, but if the list box contents have -- been scrolled, another item may be at the top. cb_insertstring: INTEGER_32 is 330 -- Declared in Windows as CB_INSERTSTRING cb_limittext: INTEGER_32 is 321 -- Declared in Windows as CB_LIMITTEXT cb_okay: INTEGER_32 is 0 -- Declared in Windows as CB_OKAY cb_resetcontent: INTEGER_32 is 331 -- Declared in Windows as CB_RESETCONTENT cb_selectstring: INTEGER_32 is 333 -- Declared in Windows as CB_SELECTSTRING cb_setcursel: INTEGER_32 is 334 -- Declared in Windows as CB_SETCURSEL cb_seteditsel: INTEGER_32 is 322 -- Declared in Windows as CB_SETEDITSEL cb_setextendedui: INTEGER_32 is 341 -- Declared in Windows as CB_SETEXTENDEDUI cb_setitemdata: INTEGER_32 is 337 -- Declared in Windows as CB_SETITEMDATA cb_setitemheight: INTEGER_32 is 339 -- Declared in Windows as CB_SETITEMHEIGHT cb_settopindex: INTEGER_32 is 348 -- An application sends the CB_SETTOPINDEX message to -- ensure that a particular item is visible in the -- list box of a combo box. The system scrolls the -- list box contents so that either the specified -- item appears at the top of the list box or the -- maximum scroll range has been reached. cb_showdropdown: INTEGER_32 is 335 -- Declared in Windows as CB_SHOWDROPDOWN feature -- Notifications cbn_closeup: INTEGER_32 is 8 -- Declared in Windows as CBN_CLOSEUP cbn_dblclk: INTEGER_32 is 2 -- Declared in Windows as CBN_DBLCLK cbn_dropdown: INTEGER_32 is 7 -- Declared in Windows as CBN_DROPDOWN cbn_editchange: INTEGER_32 is 5 -- Declared in Windows as CBN_EDITCHANGE cbn_editupdate: INTEGER_32 is 6 -- Declared in Windows as CBN_EDITUPDATE cbn_errspace: INTEGER_32 is -1 -- Declared in Windows as CBN_ERRSPACE cbn_killfocus: INTEGER_32 is 4 -- Declared in Windows as CBN_KILLFOCUS cbn_selchange: INTEGER_32 is 1 -- Declared in Windows as CBN_SELCHANGE cbn_selendcancel: INTEGER_32 is 10 -- Declared in Windows as CBN_SELENDCANCEL cbn_selendok: INTEGER_32 is 9 -- Declared in Windows as CBN_SELENDOK cbn_setfocus: INTEGER_32 is 3 -- Declared in Windows as CBN_SETFOCUS feature -- Output io: STD_FILES -- Handle to standard file setup -- (from ANY) out: STRING_8 -- New string containing terse printable representation -- of current object -- Was declared in ANY as synonym of tagged_out. -- (from ANY) print (some: ANY) -- Write terse external representation of `some' -- on standard output. -- (from ANY) frozen tagged_out: STRING_8 -- New string containing terse printable representation -- of current object -- Was declared in ANY as synonym of out. -- (from ANY) feature -- Platform operating_environment: OPERATING_ENVIRONMENT -- Objects available from the operating system -- (from ANY) feature -- Structure Information cbeif_di_setitem: INTEGER_32 is 268435456 -- The control should store the item data and not ask -- for it again. This flag is used only with the -- CBEN_GETDISPINFO notification message. -- -- Declared in Windows as CBEIF_DI_SETITEM cbeif_image: INTEGER_32 is 2 -- The `image' member is valid or must be filled in. -- -- Declared in Windows as CBEIF_IMAGE cbeif_indent: INTEGER_32 is 16 -- The `indent' member is valid or must be filled in. -- -- Declared in Windows as CBEIF_INDENT cbeif_lparam: INTEGER_32 is 32 -- The `lparam' member is valid or must be filled in. -- -- Declared in Windows as CBEIF_LPARAM cbeif_overlay: INTEGER_32 is 8 -- The `overlay' member is valid or must be filled in. -- -- Declared in Windows as CBEIF_OVERLAY cbeif_selectedimage: INTEGER_32 is 4 -- The `selected_image' member is valid or must be -- filled in. -- -- Declared in Windows as CBEIF_SELECTEDIMAGE cbeif_text: INTEGER_32 is 1 -- The `text' member is valid or must be filled in. -- -- Declared in Windows as CBEIF_TEXT feature -- Style cbs_autohscroll: INTEGER_32 is 64 -- Automatically scrolls the text in an edit control to the right -- when the user types a character at the end of the line. If -- this style is not set, only text that fits within the -- rectangular boundary is allowed. -- -- Declared in Windows as CBS_AUTOHSCROLL cbs_disablenoscroll: INTEGER_32 is 2048 -- Shows a disabled vertical scroll bar in the list box when the -- box does not contain enough items to scroll. Without this -- style, the scroll bar is hidden when the list box does not -- contain enough items. -- Declared in Windows as CBS_DISABLENOSCROLL cbs_dropdown: INTEGER_32 is 2 -- Similar to CBS_SIMPLE, except that the list box is not -- displayed unless the user selects an icon next to the edit -- control. -- -- Declared in Windows as CBS_DROPDOWN cbs_dropdownlist: INTEGER_32 is 3 -- Similar to CBS_DROPDOWN, except that the edit control is -- replaced by a static text item that displays the current -- selection in the list box. -- -- Declared in Windows as CBS_DROPDOWNLIST cbs_hasstrings: INTEGER_32 is 512 -- Specifies that an owner-drawn combo box contains items -- consisting of strings. The combo box maintains the memory and -- address for the strings so the application can use the -- CB_GETLBTEXT message to retrieve the text for a particular -- item. -- -- Declared in Windows as CBS_HASSTRINGS cbs_lowercase: INTEGER_32 is 16384 -- Converts to lowercase all text in both the selection field -- and the list. -- -- Declared in Windows as CBS_LOWERCASE cbs_nointegralheight: INTEGER_32 is 1024 -- Specifies that the size of the combo box is exactly the size -- specified by the application when it created the combo box. -- Normally, the system sizes a combo box so that it does not -- display partial items. -- -- Declared in Windows as CBS_NOINTEGRALHEIGHT cbs_oemconvert: INTEGER_32 is 128 -- Converts text entered in the combo box edit control from the -- Windows character set to the OEM character set and then back -- to the Windows set. This ensures proper character conversion -- when the application calls the CharToOem function to convert a -- Windows string in the combo box to OEM characters. This style -- is most useful for combo boxes that contain file names and -- applies only to combo boxes created with the CBS_SIMPLE or -- CBS_DROPDOWN style. -- -- Declared in Windows as CBS_OEMCONVERT cbs_ownerdrawfixed: INTEGER_32 is 16 -- Specifies that the owner of the list box is responsible for -- drawing its contents and that the items in the list box are -- all the same height. The owner window receives a -- WM_MEASUREITEM message when the combo box is created and a -- WM_DRAWITEM message when a visual aspect of the combo box has -- changed. -- -- Declared in Windows as CBS_OWNERDRAWFIXED cbs_ownerdrawvariable: INTEGER_32 is 32 -- Specifies that the owner of the list box is responsible for -- drawing its contents and that the items in the list box are -- variable in height. The owner window receives a WM_MEASUREITEM -- message for each item in the combo box when you create the -- combo box and a WM_DRAWITEM message when a visual aspect of -- the combo box has changed. -- -- Declared in Windows as CBS_OWNERDRAWVARIABLE cbs_simple: INTEGER_32 is 1 -- Displays the list box at all times. The current selection in -- the list box is displayed in the edit control. -- -- Declared in Windows as CBS_SIMPLE cbs_sort: INTEGER_32 is 256 -- Automatically sorts strings added to the list box. -- Declared in Windows as CBS_SORT cbs_uppercase: INTEGER_32 is 8192 -- Converts to uppercase all text in both the selection field and -- the list. -- -- Declared in Windows as CBS_UPPERCASE invariant -- from ANY reflexive_equality: standard_is_equal (Current) reflexive_conformance: conforms_to (Current) indexing copyright: "Copyright (c) 1984-2006, Eiffel Software and others" license: "Eiffel Forum License v2 (see http://www.eiffel.com/licensing/forum.txt)" source: "[ Eiffel Software 356 Storke Road, Goleta, CA 93117 USA Telephone 805-685-1006, Fax 805-685-6869 Website http://www.eiffel.com Customer support http://support.eiffel.com ]" end -- class WEL_COMBO_BOX_CONSTANTS