GetExtendedStyle Method (LISTVIEW)
PLBCMP GUI Only
The GetExtendedStyle method retrieves the extended style for a LISTVIEW object. The method uses the following format:
|
|
|
|
Where:
label
Optional. A Program Execution Label.
object
Required. A LISTVIEW object that is accessed.
return
Optional. A Numeric Variable which returns the extended LISTVIEW control style value.
Flags Affected: EOS, OVER, ZERO
Note the following:
{return} is one of the following extended styles:
|
Value |
Keyword |
Enables ... |
|
0x1 |
LVS_EX_GRIDLINES |
gridlines around items and sub items. This style is available only in conjunction with the LVS_REPORT type LISTVIEWs. |
|
0x4 |
LVS_CHECKBOXES |
check boxes for items in a LISTVIEW object. Check boxes are visible and functional with all LISTVIEW types. |
|
0x8 |
LVS_EX_TRACKSELECT |
hover selection in a LISTVIEW control. Hover selection (also called track selection) means that an item is automatically selected when the cursor remains over the item for a certain period. The delay can be changed from the default system setting with the LVM_SETHOVERTIME message. This style applies to all types of LISTVIEW types. |
|
0x10 |
LVS_EX_HEADERDRAGDROP |
drag-and-drop reordering of columns in a LISTVIEW control. This style is available only in conjunction with the LVS_REPORT type LISTVIEWs. |
|
0x20 |
LVS_EX_FULLROWSELECT |
highlighting of all subitems when an item is selected. This style is available only in conjunction with the LVS_REPORT type LISTVIEWs. |
|
0x40 |
LVS_EX_ONECLICKACTIVATE |
an ACTIVATE event when the user clicks an item in the LISTVIEW. This property also enables hot tracking in the LISTVIEW object. This style is available only in conjunction with the LVS_REPORT type LISTVIEWs. |
|
0x800 |
LVS_EX_UNDERLINEHOT |
hot items that are displayed with underlined text. This style is ignored if LVS_EX_ONECLICKACTIVATE is not set. |
|
0x1000 |
LVS_EX_UNDERLINECOLD |
non-hot items that are displayed with underlined text. This style is ignored if LVS_EX_ONECLICKACTIVATE is not set. |
If the value returned is zero, the ZERO Condition Flag is set.
The OVER and EOS Condition Flags are always cleared.
Extended styles are not available under the Windows 3.x operating system.
See Also: Method Syntax, LISTVIEW Methods
![]() |