VisListViewDropDown

PPJ.Runtime.Vis.VisListViewDropDown

Namespace: PPJ.Runtime.Vis

Assembly: PPJ.Runtime.Vis.49 (4.9.0.0)

Combo box with drop down cListView

public class VisListViewDropDown : VisDropDownBase

Constructors

Constructor

Methods

Adds an image to control's internal ImageLists at the index specified.

ParameterTypeDescription

hpicLarge

hpicSmall

Returns: SalNumber.

Aligns items on a grid.

ParameterTypeDescription

nCode

Returns: SalBoolean.

Assigns columns to be used for 'details' view. TIP: You can reassign columns on the fly without having to repopulate the control. For instance, you can use SetItemText() to add four subitems to an item, but only assign four columns (remember: 1 item + 4 subitems = 5 columns,) thus giving you a hidden column that you can display later by assigning five columns.

ParameterTypeDescription

saTitles

naAlignments

naWidths

nNumColumns

Returns: SalBoolean.

Removes all items from the control.

Returns: SalBoolean.

Removes an item from control and returns count of remaining items.

ParameterTypeDescription

nItem

Returns: SalNumber.

Ensures that an item is visible

ParameterTypeDescription

nItem

fPartialOK

Returns: SalBoolean.

Searches for an item by text or position.

ParameterTypeDescription

nFlags

sItemText

nItemStart

Returns: SalNumber.

Returns the control associated with the handle.

ParameterTypeDescription

handle

Returns: VisListViewDropDown.

Retrieves array of all selected items and returns count.

ParameterTypeDescription

naSelections

Returns: SalNumber.

Retrieves the color used for the control's overall background.

Returns: SalNumber.

ParameterTypeDescription

nColumn

sTitle

nAlignment

nWidth

Returns: SalBoolean.

ParameterTypeDescription

nColumn

Returns: SalNumber.

Retrieves a column's text.

ParameterTypeDescription

nColumn

Returns: SalString.

Retrieves a column's width.

ParameterTypeDescription

nColumn

Returns: SalNumber.

Calculates the number of items that can fit vertically in control.

Returns: SalNumber.

Returns: SalBoolean.

Retrieves index of item with input focus.

Returns: SalNumber.

Retrieves the number of images in control. TIP: Remember that a listview defaults to one image (Windows logo) unless you remove/replace it.

Returns: SalNumber.

ParameterTypeDescription

nItem

nSubItem

sItemText

nItemValue

nImage

Returns: SalBoolean.

Retrieves the number of items in control.

Returns: SalNumber.

Retrieves the position of an item.

ParameterTypeDescription

nItem

ptPosition

Returns: SalBoolean.

Retrieves the bounding rectangle for an item.

ParameterTypeDescription

nItem

rcItem

nCode

Returns: SalBoolean.

Retrieves an item's state.

ParameterTypeDescription

nItem

nMask

Returns: SalNumber.

Retrieves an item's text.

ParameterTypeDescription

nItem

nSubItem

Returns: SalString.

Retrieves an item's user data.

ParameterTypeDescription

nItem

Returns: SalNumber.

Searches for an item by sequence, relation or state.

ParameterTypeDescription

nItem

nFlags

Returns: SalNumber.

Retrieves the current view origin for control.

ParameterTypeDescription

ptOrigin

Returns: SalBoolean.

Retrieves the number of selected items in control.

Returns: SalNumber.

Returns: SalNumber.

Retrieves default sort column (subitem.)

Returns: SalNumber.

Retrieves default sort order (ascending/descending)

Returns: SalNumber.

Determines the minimum column width necessary to display all of a given string.

ParameterTypeDescription

sCompare

Returns: SalNumber.

Retrieves current style bits for control.

Returns: SalNumber.

Retrieves the color used for item and subitem text background.

Returns: SalNumber.

Retrieves the color used for item and subitem text.

Returns: SalNumber.

Retrieves the index of the topmost visible item.

Returns: SalNumber.

Retrieves the bounding rectangle of all items in the control.

ParameterTypeDescription

rcView

Returns: SalBoolean.

ParameterTypeDescription

ptTest

nFlags

Returns: SalNumber.

ParameterTypeDescription

nX

nY

nFlags

Returns: SalNumber.

Inserts a new item into control and supplies subitem text for item. TIP: Use this instead of the InsertItem*() functions to specify items with multiple columns in one function call when you already have your data populated in an array.

ParameterTypeDescription

nItem

saText

nImage

Returns: SalNumber.

Inserts a new item in control, copies picture into control and uses copy for new item. TIP: You should use AddImage() & InsertDetails() where possible to avoid duplicate images being stored.

ParameterTypeDescription

nItem

saText

hpicLarge

hpicSmall

Returns: SalNumber.

Inserts a new item into control and supplies subitem text for item; also assigns user data for item.

ParameterTypeDescription

nItem

saText

nItemValue

nImage

Returns: SalNumber.

Inserts a new item into control and supplies subitem text for item; also assigns user data for item. TIP: You should use AddImage() and InsertDetailsValue() where possible to avoid duplicate images being stored.

ParameterTypeDescription

nItem

saText

nItemValue

hpicLarge

hpicSmall

Returns: SalNumber.

Inserts an item in control and returns index of new item or -1 if unsuccessful. TIP: Do not assume that the item you add with InsertItem() is given the index you requested; InsertItem() returns the actual index of the item added. If you insert past the upper bound of the control, your item is added to the end.

ParameterTypeDescription

nItem

sText

nImage

Returns: SalNumber.

Inserts a new item in control, copies picture into control and uses copy for new item. Returns index of new item or -1 if unsuccessful. TIP: You should use AddImage() and InsertItem() where possible to avoid duplicate images being stored.

ParameterTypeDescription

nItem

sText

hpicLarge

hpicSmall

Returns: SalNumber.

Inserts a new item in control and assigns user data for item. Returns index of new item or -1 if unsuccessful.

ParameterTypeDescription

nItem

sText

nItemValue

nImage

Returns: SalNumber.

Inserts a new item in control, copies picture into control and uses copy for new item. Also assigns user data for item. Returns index of new item or -1 if unsuccessful. TIP: You should use AddImage() and InsertItemValue() where possible to avoid duplicate images being stored.

ParameterTypeDescription

nItem

sText

nItemValue

hpicLarge

hpicSmall

Returns: SalNumber.

Removes all images from control.

Returns: SalBoolean.

Removes an image from control's internal ImageLists. TIP: All other images will shift downward when you remove an image from the control. Bear in mind that this will affect the images each item displays, since images are references by position.

ParameterTypeDescription

nIndex

Returns: SalBoolean.

Replaces an image in control's internal ImageLists.

ParameterTypeDescription

nIndex

hpicLarge

hpicSmall

Returns: SalBoolean.

Scrolls the contents of control.

ParameterTypeDescription

size

Returns: SalBoolean.

Assigns the color used for the control's overall background.

ParameterTypeDescription

nNewColor

Returns: SalBoolean.

Sets the attributes of a column.

ParameterTypeDescription

nColumn

nMask

sTitle

nAlignment

nWidth

Returns: SalBoolean.

ParameterTypeDescription

nColumn

nAlignment

Returns: SalBoolean.

Sets a column's text.

ParameterTypeDescription

nColumn

sTitle

Returns: SalBoolean.

Sets a column's width.

ParameterTypeDescription

nColumn

nWidth

Returns: SalBoolean.

ParameterTypeDescription

fEditable

Returns: SalBoolean.

Assigns focus to the specified item.

ParameterTypeDescription

nItem

Returns: SalBoolean.

Sets an item's attributes.

ParameterTypeDescription

nItem

nSubItem

nMask

sItemText

nItemValue

nImage

Returns: SalBoolean.

Moves an item to a specified position in control.

ParameterTypeDescription

nItem

ptPosition

Returns: SalBoolean.

Assigns an item's state (LVIS_Focused, LVIS_Selected, etc..)

ParameterTypeDescription

nItem

nNewState

nStateMask

Returns: SalBoolean.

Sets an item's or subitem's text. TIP: When using this function to assign subitem text for new items, do not assume that the item you just added with InsertItem() was given the index you requested; InsertItem() returns the actual index of the item, use that value.

ParameterTypeDescription

nItem

nSubItem

sItemText

Returns: SalBoolean.

Assigns an item's user data.

ParameterTypeDescription

nItem

nItemValue

Returns: SalBoolean.

ParameterTypeDescription

nWidth

nHeight

Returns: SalBoolean.

Assigns default column (subitem) to sort on.

ParameterTypeDescription

nColumn

Returns: SalBoolean.

Assigns default sort order (LVSORT_Ascending/LVSORT_Descending.)

ParameterTypeDescription

nOrder

Returns: SalBoolean.

Sets style bits for control.

ParameterTypeDescription

nStyle

fOn

Returns: SalNumber.

Assigns the color used for item and subitem text background.

ParameterTypeDescription

nNewColor

Returns: SalBoolean.

Assigns the color used for item and subitem text.

ParameterTypeDescription

nNewColor

Returns: SalBoolean.

Sorts the items based on default column (subitem) and order settings.

Returns: SalBoolean.

Tells control to display 'details' view.' This view is similar to the 'small icon' view, with the exception that subitem text is also displayed in resizeable, sortable columns to the right of the item text. NOTE: Clicking on subitem text does NOT change focus,

Returns: SalNumber.

Tells control to display 'large icons' view. This view is similar to Windows' program manager groups; a large icon is displayed with the item text underneath.

Returns: SalNumber.

Tells control to display 'list' view. This view is similar to the 'small icon' view, with the exception that rather than exceed the vertical display space, the list is broken into multiple screens, or 'columns.'

Returns: SalNumber.

Tells control to display 'small icons' view. This view is a vertical list of item text with a small icon to the left of each item.

Returns: SalNumber.

Implements

Last updated