X11 Work Bench Toolkit  1.0
_WB_LIST_CURSEL_ Struct Reference

Structure containing information about the current selection in a list. More...

#include <dialog_support.h>

Data Fields

int iCurSel
 current selection
 
int iTopIndex
 index of item at top of window
 
int iHeight
 calculated height of window in "entries" (see next member)
 
int iEntryHeight
 cached display height of each entry (calculated by Expose handler)
 

Detailed Description

Structure containing information about the current selection in a list.

typedef struct _WB_LIST_CURSEL_
{
int iCurSel; // current selection
int iTopIndex; // index of item at top of window
int iHeight; // calculated height of window in "entries" (see next member)
int iEntryHeight; // cached display height of each entry (calculated by Expose handler)

Typically used in a listbox or combo box, this structure specifies the current list selection info for a listbox, combo box, or tree control.
NOTE: this structure must immediately follow the WBDialogControl members in the control's structure for a control that has the CONTROL_SupportListInfo flag.

Definition at line 257 of file dialog_support.h.


The documentation for this struct was generated from the following file: