Property | Type | Description | |
---|---|---|---|
ComboListBox | System | ||
FindAndHighlightItemStartingWith | bool | ||
SetWindowLong | int | ||
SetWindowPos | bool | ||
ShowInactiveTopmost | void | ||
ShowWindow | bool | ||
m_ListForm_Deactivate | void |
Method | Description | |
---|---|---|
AdjustSize ( int maxWidth, int maxHeight ) : void |
Adjust the size of the list box, so it is just large enough to show all items, or at most the size specified by the arguments (or at least 100x10).
|
|
HideForm ( ) : void |
Hide the containing form (and thus the list box as a whole).
|
|
HighlightItemStartingWith ( string start ) : void |
Cycle the selection to the next item that begins with the specified text. (Case insensitive. Trims whitespace in list items.)
|
|
Launch ( |
Launch the ComboListBox. Typical usage, where 'this' is a control that the list should appear below: m_listBox.Launch(Parent.RectangleToScreen(Bounds), Screen.GetWorkingArea(this)); Or, where rect is a rectangle in the client area of control 'this': m_listBox.Launch(RectangleToScreen(rect), Screen.GetWorkingArea(this); (Be sure to set the height and width of the ComboListBox first.)
|
|
OnCapturedClick ( ) : void |
This is called when the embedded InnerFwListBox detects a click outside its bounds, which happens only when it has been told to capture the mouse. ComboListBox overrides this to close the list box.
|
Method | Description | |
---|---|---|
Dispose ( bool disposing ) : void |
Clean up any resources being used.
|
|
OnLostFocus ( |
If a combo list box loses focus, hide it.
|
Method | Description | |
---|---|---|
ComboListBox ( ) : System | ||
FindAndHighlightItemStartingWith ( int iStarting, int iEnding, string startKey ) : bool |
Highlight the item whose text starts with the given startKey string (if item exists).
|
|
SetWindowLong ( |
||
SetWindowPos ( int hWnd, int hWndInsertAfter, int X, int Y, int cx, int cy, uint uFlags ) : bool | ||
ShowInactiveTopmost ( |
||
ShowWindow ( |
||
m_ListForm_Deactivate ( object sender, |
public AdjustSize ( int maxWidth, int maxHeight ) : void | ||
maxWidth | int | |
maxHeight | int | |
return | void |
public HighlightItemStartingWith ( string start ) : void | ||
start | string | the search key |
return | void |
public Launch ( |
||
launcherBounds | A rectangle in 'screen' coordinates indicating where to display the list. Typically, as shown /// above, the location of something the user clicked to make the list display. It's significance is that /// the list will usually be shown with its top left just to the right of the bottom left of the rectangle, and /// (if the list width has not already been set explicitly) its width will match the rectangle. If there is not /// room to displya the list below this rectangle, it will be displayed above instead. | |
screenBounds | A rectangle in 'screen' coordinates indicating the location of the actual screen /// that the list is to appear on. | |
return | void |
protected OnLostFocus ( |
||
e | ||
return | void |