Main Page   Class Hierarchy   Alphabetical List   Compound List   File List   Compound Members   File Members  

listbox.cpp File Reference

#include <string.h>
#include <stdlib.h>
#include <stdio.h>
#include <os2win.h>
#include "controls.h"
#include "winerror.h"
#include "combo.h"
#include <misc.h>
#include "heapstring.h"
#include "dbglocal.h"

Include dependency graph for listbox.cpp:

Include dependency graph

Go to the source code of this file.

Compounds

struct  LB_ITEMDATA
struct  LB_DESCR

Defines

#define DBG_LOCALLOG   DBG_listbox
#define MAX_DOS_DRIVES   26
#define LB_ARRAY_GRANULARITY   16
#define LB_SCROLL_TIMEOUT   50
#define LB_TIMER_ID   2
#define IS_OWNERDRAW(descr)   ((descr)->style & (LBS_OWNERDRAWFIXED | LBS_OWNERDRAWVARIABLE))
#define HAS_STRINGS(descr)   (!IS_OWNERDRAW(descr) || ((descr)->style & LBS_HASSTRINGS))
#define HAS_NODATA(descr)   ((descr)->style & LBS_NODATA)
#define IS_MULTISELECT(descr)   ((descr)->style & LBS_MULTIPLESEL || ((descr)->style & LBS_EXTENDEDSEL))
#define SEND_NOTIFICATION(hwnd, descr, code)
#define CHECK_DRIVE(item)
#define ATTRIBS
#define lpcs   ((LPCREATESTRUCTA)lParam)

Enumerations

enum  TIMER_DIRECTION {
  LB_TIMER_NONE, LB_TIMER_UP, LB_TIMER_LEFT, LB_TIMER_DOWN,
  LB_TIMER_RIGHT
}

Functions

BOOL DRIVE_IsValid (int drive)
INT LISTBOX_GetCurrentPageSize (HWND hwnd, LB_DESCR *descr)
INT LISTBOX_GetMaxTopIndex (HWND hwnd, LB_DESCR *descr)
void LISTBOX_UpdateScroll (HWND hwnd, LB_DESCR *descr)
LRESULT LISTBOX_SetTopItem (HWND hwnd, LB_DESCR *descr, INT index, BOOL scroll)
void LISTBOX_UpdatePage (HWND hwnd, LB_DESCR *descr)
void LISTBOX_UpdateSize (HWND hwnd, LB_DESCR *descr)
LRESULT LISTBOX_GetItemRect (HWND hwnd, LB_DESCR *descr, INT index, RECT *rect)
INT LISTBOX_GetItemFromPoint (HWND hwnd, LB_DESCR *descr, INT x, INT y)
void LISTBOX_DrawItem (HWND hwnd, LB_DESCR *descr, HDC hdc, const RECT *rect, INT index, UINT action)
LRESULT LISTBOX_SetRedraw (HWND hwnd, LB_DESCR *descr, BOOL on)
void LISTBOX_RepaintItem (HWND hwnd, LB_DESCR *descr, INT index, UINT action)
LRESULT LISTBOX_InitStorage (HWND hwnd, LB_DESCR *descr, INT nb_items, DWORD bytes)
BOOL LISTBOX_SetTabStops (HWND hwnd, LB_DESCR *descr, INT count, LPINT tabs, BOOL short_ints)
LRESULT LISTBOX_GetText (HWND hwnd, LB_DESCR *descr, INT index, LPSTR buffer)
INT LISTBOX_FindStringPos (HWND hwnd, LB_DESCR *descr, LPCSTR str, BOOL exact)
INT LISTBOX_FindFileStrPos (HWND hwnd, LB_DESCR *descr, LPCSTR str)
INT LISTBOX_FindString (HWND hwnd, LB_DESCR *descr, INT start, LPCSTR str, BOOL exact)
LRESULT LISTBOX_GetSelCount (HWND hwnd, LB_DESCR *descr)
LRESULT LISTBOX_GetSelItems (HWND hwnd, LB_DESCR *descr, INT max, LPINT array)
LRESULT LISTBOX_Draw (HWND hwnd, LB_DESCR *descr, HDC hdc)
void LISTBOX_InvalidateItems (HWND hwnd, LB_DESCR *descr, INT index)
LRESULT LISTBOX_GetItemHeight (HWND hwnd, LB_DESCR *descr, INT index)
LRESULT LISTBOX_SetItemHeight (HWND hwnd, LB_DESCR *descr, INT index, UINT height)
void LISTBOX_SetHorizontalPos (HWND hwnd, LB_DESCR *descr, INT pos)
LRESULT LISTBOX_SetHorizontalExtent (HWND hwnd, LB_DESCR *descr, UINT extent)
LRESULT LISTBOX_SetColumnWidth (HWND hwnd, LB_DESCR *descr, UINT width)
LRESULT LISTBOX_SetFont (HWND hwnd, LB_DESCR *descr, WPARAM wParam, LPARAM lParam)
void LISTBOX_MakeItemVisible (HWND hwnd, LB_DESCR *descr, INT index, BOOL fully)
LRESULT LISTBOX_SelectItemRange (HWND hwnd, LB_DESCR *descr, INT first, INT last, BOOL on)
LRESULT LISTBOX_SetCaretIndex (HWND hwnd, LB_DESCR *descr, INT index, BOOL fully_visible)
LRESULT LISTBOX_SetSelection (HWND hwnd, LB_DESCR *descr, INT index, BOOL on, BOOL send_notify)
void LISTBOX_MoveCaret (HWND hwnd, LB_DESCR *descr, INT index, BOOL fully_visible)
LRESULT LISTBOX_InsertItem (HWND hwnd, LB_DESCR *descr, INT index, LPSTR str, DWORD data)
LRESULT LISTBOX_InsertString (HWND hwnd, LB_DESCR *descr, INT index, LPCSTR str)
LRESULT LISTBOX_AddString (HWND hwnd, LB_DESCR *descr, WPARAM wParam, LPARAM lParam)
LRESULT LISTBOX_AddFile (HWND hwnd, LB_DESCR *descr, WPARAM wParam, LPARAM lParam)
void LISTBOX_DeleteItem (HWND hwnd, LB_DESCR *descr, INT index)
LRESULT LISTBOX_RemoveItem (HWND hwnd, LB_DESCR *descr, INT index)
LRESULT LISTBOX_DeleteString (HWND hwnd, LB_DESCR *descr, WPARAM wParam, LPARAM lParam)
LRESULT LISTBOX_ResetContent (HWND hwnd, LB_DESCR *descr, BOOL refresh)
LRESULT LISTBOX_SetCount (HWND hwnd, LB_DESCR *descr, INT count)
LRESULT LISTBOX_Directory (HWND hwnd, LB_DESCR *descr, UINT attrib, LPCSTR filespec, BOOL long_names)
LRESULT LISTBOX_HandleVScroll (HWND hwnd, LB_DESCR *descr, WPARAM wParam, LPARAM lParam)
LRESULT LISTBOX_HandleHScroll (HWND hwnd, LB_DESCR *descr, WPARAM wParam, LPARAM lParam)
LRESULT LISTBOX_HandleMouseWheel (HWND hwnd, LB_DESCR *descr, WPARAM wParam, LPARAM lParam)
LRESULT LISTBOX_HandleLButtonDown (HWND hwnd, LB_DESCR *descr, WPARAM wParam, INT x, INT y)
LRESULT LISTBOX_HandleLButtonDownCombo (HWND hwnd, LB_DESCR *pDescr, UINT msg, WPARAM wParam, INT x, INT y)
LRESULT LISTBOX_HandleLButtonUp (HWND hwnd, LB_DESCR *descr)
LRESULT LISTBOX_HandleTimer (HWND hwnd, LB_DESCR *descr, INT index, TIMER_DIRECTION dir)
LRESULT LISTBOX_HandleSystemTimer (HWND hwnd, LB_DESCR *descr)
LRESULT LISTBOX_HandleMouseMove (HWND hwnd, LB_DESCR *descr, INT x, INT y)
LRESULT LISTBOX_HandleKeyDown (HWND hwnd, LB_DESCR *descr, WPARAM wParam)
LRESULT LISTBOX_HandleChar (HWND hwnd, LB_DESCR *descr, WPARAM wParam)
LRESULT LISTBOX_Create (HWND hwnd, LPHEADCOMBO lphc)
LRESULT LISTBOX_NCCreate (HWND hwnd, WPARAM wParam, LPARAM lParam)
BOOL LISTBOX_Destroy (HWND hwnd, LB_DESCR *descr)
LRESULT LISTBOX_GetItemData (HWND hwnd, LB_DESCR *descr, WPARAM wParam, LPARAM lParam)
LRESULT LISTBOX_SetItemData (HWND hwnd, LB_DESCR *descr, WPARAM wParam, LPARAM lParam)
LRESULT LISTBOX_GetCount (HWND hwnd, LB_DESCR *descr, WPARAM wParam, LPARAM lParam)
LRESULT LISTBOX_GetTextLen (HWND hwnd, LB_DESCR *descr, WPARAM wParam, LPARAM lParam)
LRESULT LISTBOX_GetCurSel (HWND hwnd, LB_DESCR *descr, WPARAM wParam, LPARAM lParam)
LRESULT LISTBOX_GetTopIndex (HWND hwnd, LB_DESCR *descr, WPARAM wParam, LPARAM lParam)
LRESULT LISTBOX_ItemFromPoint (HWND hwnd, LB_DESCR *descr, WPARAM wParam, LPARAM lParam)
LRESULT LISTBOX_HandleSetCaretIndex (HWND hwnd, LB_DESCR *descr, WPARAM wParam, LPARAM lParam)
LRESULT LISTBOX_GetCaretIndex (HWND hwnd, LB_DESCR *descr, WPARAM wParam, LPARAM lParam)
LRESULT LISTBOX_SelectString (HWND hwnd, LB_DESCR *descr, WPARAM wParam, LPARAM lParam)
LRESULT LISTBOX_GetSel (HWND hwnd, LB_DESCR *descr, WPARAM wParam, LPARAM lParam)
LRESULT LISTBOX_SetCurSel (HWND hwnd, LB_DESCR *descr, WPARAM wParam, LPARAM lParam)
LRESULT LISTBOX_SelItemRange (HWND hwnd, LB_DESCR *descr, WPARAM wParam, LPARAM lParam)
LRESULT LISTBOX_SelItemRangeEx (HWND hwnd, LB_DESCR *descr, WPARAM wParam, LPARAM lParam)
LRESULT LISTBOX_GetHorizontalExtent (HWND hwnd, LB_DESCR *descr, WPARAM wParam, LPARAM lParam)
LRESULT LISTBOX_GetAnchorIndex (HWND hwnd, LB_DESCR *descr, WPARAM wParam, LPARAM lParam)
LRESULT LISTBOX_SetAnchorIndex (HWND hwnd, LB_DESCR *descr, WPARAM wParam, LPARAM lParam)
LRESULT LISTBOX_GetLocale (HWND hwnd, LB_DESCR *descr, WPARAM wParam, LPARAM lParam)
LRESULT LISTBOX_SetLocale (HWND hwnd, LB_DESCR *descr, WPARAM wParam, LPARAM lParam)
LRESULT LISTBOX_CaretOn (HWND hwnd, LB_DESCR *descr, WPARAM wParam, LPARAM lParam)
LRESULT LISTBOX_CaretOff (HWND hwnd, LB_DESCR *descr, WPARAM wParam, LPARAM lParam)
LRESULT LISTBOX_Enable (HWND hwnd, LB_DESCR *descr, WPARAM wParam, LPARAM lParam)
LRESULT LISTBOX_GetDlgCode (HWND hwnd, LB_DESCR *descr, WPARAM wParam, LPARAM lParam)
LRESULT LISTBOX_Paint (HWND hwnd, LB_DESCR *descr, WPARAM wParam, LPARAM lParam)
LRESULT LISTBOX_Size (HWND hwnd, LB_DESCR *descr, WPARAM wParam, LPARAM lParam)
LRESULT LISTBOX_GetFont (HWND hwnd, LB_DESCR *descr, WPARAM wParam, LPARAM lParam)
LRESULT LISTBOX_SetFocus (HWND hwnd, LB_DESCR *descr, WPARAM wParam, LPARAM lParam)
LRESULT LISTBOX_KillFocus (HWND hwnd, LB_DESCR *descr, WPARAM wParam, LPARAM lParam)
LRESULT LISTBOX_MouseActivate (HWND hwnd, LB_DESCR *descr, WPARAM wParam, LPARAM lParam)
LRESULT LISTBOX_LButtonDblClk (HWND hwnd, LB_DESCR *descr, WPARAM wParam, LPARAM lParam)
LRESULT LISTBOX_EraseBackground (HWND hwnd, LB_DESCR *descr, WPARAM wParam, LPARAM lParam)
LRESULT LISTBOX_DropFiles (HWND hwnd, LB_DESCR *descr, WPARAM wParam, LPARAM lParam)
LRESULT LISTBOX_HandleDragDrop (HWND hwnd, LB_DESCR *descr, UINT msg, WPARAM wParam, LPARAM lParam)
LRESULT WINAPI ListBoxWndProc (HWND hwnd, UINT msg, WPARAM wParam, LPARAM lParam)
LRESULT COMBO_Directory (LPHEADCOMBO lphc, UINT attrib, LPSTR dir, BOOL bLong)
LRESULT WINAPI ComboLBWndProc (HWND hwnd, UINT msg, WPARAM wParam, LPARAM lParam)
BOOL LISTBOX_Register ()
BOOL LISTBOX_Unregister ()
BOOL COMBOLBOX_Register ()
BOOL COMBOLBOX_Unregister ()

Variables

TIMER_DIRECTION LISTBOX_Timer = LB_TIMER_NONE


Define Documentation

#define DBG_LOCALLOG   DBG_listbox
 

Definition at line 25 of file listbox.cpp.

#define MAX_DOS_DRIVES   26
 

Definition at line 50 of file listbox.cpp.

#define LB_ARRAY_GRANULARITY   16
 

Definition at line 60 of file listbox.cpp.

#define LB_SCROLL_TIMEOUT   50
 

Definition at line 63 of file listbox.cpp.

#define LB_TIMER_ID   2
 

Definition at line 66 of file listbox.cpp.

#define IS_OWNERDRAW descr       ((descr)->style & (LBS_OWNERDRAWFIXED | LBS_OWNERDRAWVARIABLE))
 

Definition at line 107 of file listbox.cpp.

Referenced by LISTBOX_DeleteItem(), LISTBOX_Draw(), LISTBOX_DrawItem(), LISTBOX_EraseBackground(), and LISTBOX_SetFont().

#define HAS_STRINGS descr       (!IS_OWNERDRAW(descr) || ((descr)->style & LBS_HASSTRINGS))
 

Definition at line 110 of file listbox.cpp.

Referenced by LISTBOX_DeleteItem(), LISTBOX_FindFileStrPos(), LISTBOX_FindString(), LISTBOX_FindStringPos(), LISTBOX_GetText(), LISTBOX_GetTextLen(), LISTBOX_InsertString(), and LISTBOX_SetCount().

#define HAS_NODATA descr       ((descr)->style & LBS_NODATA)
 

Definition at line 113 of file listbox.cpp.

Referenced by LISTBOX_SetCount().

#define IS_MULTISELECT descr       ((descr)->style & LBS_MULTIPLESEL || ((descr)->style & LBS_EXTENDEDSEL))
 

Definition at line 116 of file listbox.cpp.

Referenced by LISTBOX_GetCurSel(), LISTBOX_HandleChar(), LISTBOX_HandleKeyDown(), LISTBOX_HandleSetCaretIndex(), LISTBOX_RemoveItem(), and LISTBOX_SetCurSel().

#define SEND_NOTIFICATION hwnd,
descr,
code   
 

Value:

(SendMessageA( (descr)->owner, WM_COMMAND, \
     MAKEWPARAM(GetWindowLongA(hwnd,GWL_ID), (code)), hwnd ))

Definition at line 119 of file listbox.cpp.

Referenced by LISTBOX_HandleChar(), LISTBOX_HandleKeyDown(), LISTBOX_HandleLButtonDownCombo(), LISTBOX_HandleLButtonUp(), LISTBOX_InitStorage(), LISTBOX_InsertItem(), LISTBOX_InsertString(), LISTBOX_KillFocus(), LISTBOX_LButtonDblClk(), LISTBOX_SetCount(), LISTBOX_SetFocus(), and LISTBOX_SetSelection().

#define CHECK_DRIVE item   
 

Value:

if ((item)->str[0] == '[') \
    { \
        if (!lstrcmpiA( str, (item)->str+1)) return i; \
        if (((item)->str[1] == '-') && !lstrcmpiA(str,(item)->str+2)) \
        return i; \
    }

Referenced by LISTBOX_FindString().

#define ATTRIBS
 

Value:

(FILE_ATTRIBUTE_READONLY | FILE_ATTRIBUTE_HIDDEN | \
                 FILE_ATTRIBUTE_SYSTEM | FILE_ATTRIBUTE_ARCHIVE )

#define lpcs   ((LPCREATESTRUCTA)lParam)
 


Enumeration Type Documentation

enum TIMER_DIRECTION
 

Enumeration values:
LB_TIMER_NONE 
LB_TIMER_UP 
LB_TIMER_LEFT 
LB_TIMER_DOWN 
LB_TIMER_RIGHT 

Definition at line 124 of file listbox.cpp.


Function Documentation

BOOL DRIVE_IsValid int    drive
 

Definition at line 52 of file listbox.cpp.

Referenced by LISTBOX_Directory().

INT LISTBOX_GetCurrentPageSize HWND    hwnd,
LB_DESCR   descr
[static]
 

Definition at line 141 of file listbox.cpp.

Referenced by LISTBOX_HandleKeyDown(), LISTBOX_HandleTimer(), and LISTBOX_UpdateScroll().

INT LISTBOX_GetMaxTopIndex HWND    hwnd,
LB_DESCR   descr
[static]
 

Definition at line 159 of file listbox.cpp.

Referenced by LISTBOX_SetTopItem().

void LISTBOX_UpdateScroll HWND    hwnd,
LB_DESCR   descr
[static]
 

Definition at line 191 of file listbox.cpp.

Referenced by LISTBOX_InsertItem(), LISTBOX_RemoveItem(), LISTBOX_ResetContent(), LISTBOX_SetCount(), LISTBOX_SetHorizontalExtent(), LISTBOX_SetHorizontalPos(), LISTBOX_SetItemHeight(), LISTBOX_SetRedraw(), LISTBOX_SetTopItem(), and LISTBOX_UpdateSize().

LRESULT LISTBOX_SetTopItem HWND    hwnd,
LB_DESCR   descr,
INT    index,
BOOL    scroll
[static]
 

Definition at line 263 of file listbox.cpp.

Referenced by LISTBOX_HandleHScroll(), LISTBOX_HandleMouseWheel(), LISTBOX_HandleVScroll(), LISTBOX_MakeItemVisible(), LISTBOX_RemoveItem(), LISTBOX_UpdatePage(), and ListBoxWndProc().

void LISTBOX_UpdatePage HWND    hwnd,
LB_DESCR   descr
[static]
 

Definition at line 321 of file listbox.cpp.

Referenced by LISTBOX_SetColumnWidth(), LISTBOX_SetItemHeight(), and LISTBOX_UpdateSize().

void LISTBOX_UpdateSize HWND    hwnd,
LB_DESCR   descr
[static]
 

Definition at line 341 of file listbox.cpp.

Referenced by LISTBOX_Size().

LRESULT LISTBOX_GetItemRect HWND    hwnd,
LB_DESCR   descr,
INT    index,
RECT *    rect
[static]
 

Definition at line 380 of file listbox.cpp.

Referenced by LISTBOX_InvalidateItems(), LISTBOX_RepaintItem(), and ListBoxWndProc().

INT LISTBOX_GetItemFromPoint HWND    hwnd,
LB_DESCR   descr,
INT    x,
INT    y
[static]
 

Definition at line 432 of file listbox.cpp.

Referenced by LISTBOX_HandleDragDrop(), LISTBOX_HandleLButtonDown(), LISTBOX_HandleMouseMove(), and LISTBOX_ItemFromPoint().

void LISTBOX_DrawItem HWND    hwnd,
LB_DESCR   descr,
HDC    hdc,
const RECT *    rect,
INT    index,
UINT    action
[static]
 

Definition at line 480 of file listbox.cpp.

Referenced by LISTBOX_Draw(), and LISTBOX_RepaintItem().

LRESULT LISTBOX_SetRedraw HWND    hwnd,
LB_DESCR   descr,
BOOL    on
[static]
 

Definition at line 574 of file listbox.cpp.

Referenced by ListBoxWndProc().

void LISTBOX_RepaintItem HWND    hwnd,
LB_DESCR   descr,
INT    index,
UINT    action
[static]
 

Definition at line 593 of file listbox.cpp.

Referenced by LISTBOX_CaretOff(), LISTBOX_CaretOn(), LISTBOX_KillFocus(), LISTBOX_MoveCaret(), LISTBOX_SelectItemRange(), LISTBOX_SetCaretIndex(), LISTBOX_SetFocus(), and LISTBOX_SetSelection().

LRESULT LISTBOX_InitStorage HWND    hwnd,
LB_DESCR   descr,
INT    nb_items,
DWORD    bytes
[static]
 

Definition at line 624 of file listbox.cpp.

Referenced by ListBoxWndProc().

BOOL LISTBOX_SetTabStops HWND    hwnd,
LB_DESCR   descr,
INT    count,
LPINT    tabs,
BOOL    short_ints
[static]
 

Definition at line 647 of file listbox.cpp.

Referenced by ListBoxWndProc().

LRESULT LISTBOX_GetText HWND    hwnd,
LB_DESCR   descr,
INT    index,
LPSTR    buffer
[static]
 

Definition at line 683 of file listbox.cpp.

Referenced by ListBoxWndProc().

INT LISTBOX_FindStringPos HWND    hwnd,
LB_DESCR   descr,
LPCSTR    str,
BOOL    exact
[static]
 

Definition at line 707 of file listbox.cpp.

Referenced by LISTBOX_AddString(), LISTBOX_FindFileStrPos(), and LISTBOX_FindString().

INT LISTBOX_FindFileStrPos HWND    hwnd,
LB_DESCR   descr,
LPCSTR    str
[static]
 

Definition at line 750 of file listbox.cpp.

Referenced by LISTBOX_AddFile(), and LISTBOX_Directory().

INT LISTBOX_FindString HWND    hwnd,
LB_DESCR   descr,
INT    start,
LPCSTR    str,
BOOL    exact
[static]
 

Definition at line 794 of file listbox.cpp.

Referenced by LISTBOX_HandleChar(), LISTBOX_SelectString(), and ListBoxWndProc().

LRESULT LISTBOX_GetSelCount HWND    hwnd,
LB_DESCR   descr
[static]
 

Definition at line 855 of file listbox.cpp.

Referenced by ListBoxWndProc().

LRESULT LISTBOX_GetSelItems HWND    hwnd,
LB_DESCR   descr,
INT    max,
LPINT    array
[static]
 

Definition at line 870 of file listbox.cpp.

Referenced by ListBoxWndProc().

LRESULT LISTBOX_Draw HWND    hwnd,
LB_DESCR   descr,
HDC    hdc
[static]
 

Definition at line 886 of file listbox.cpp.

Referenced by LISTBOX_Paint().

void LISTBOX_InvalidateItems HWND    hwnd,
LB_DESCR   descr,
INT    index
[static]
 

Definition at line 1011 of file listbox.cpp.

Referenced by LISTBOX_InsertItem(), LISTBOX_RemoveItem(), and LISTBOX_SetItemHeight().

LRESULT LISTBOX_GetItemHeight HWND    hwnd,
LB_DESCR   descr,
INT    index
[static]
 

Definition at line 1036 of file listbox.cpp.

Referenced by ListBoxWndProc().

LRESULT LISTBOX_SetItemHeight HWND    hwnd,
LB_DESCR   descr,
INT    index,
UINT    height
[static]
 

Definition at line 1050 of file listbox.cpp.

Referenced by LISTBOX_SetFont(), and ListBoxWndProc().

void LISTBOX_SetHorizontalPos HWND    hwnd,
LB_DESCR   descr,
INT    pos
[static]
 

Definition at line 1080 of file listbox.cpp.

Referenced by LISTBOX_HandleHScroll(), and LISTBOX_SetHorizontalExtent().

LRESULT LISTBOX_SetHorizontalExtent HWND    hwnd,
LB_DESCR   descr,
UINT    extent
[static]
 

Definition at line 1103 of file listbox.cpp.

Referenced by ListBoxWndProc().

LRESULT LISTBOX_SetColumnWidth HWND    hwnd,
LB_DESCR   descr,
UINT    width
[static]
 

Definition at line 1124 of file listbox.cpp.

Referenced by ListBoxWndProc().

LRESULT LISTBOX_SetFont HWND    hwnd,
LB_DESCR   descr,
WPARAM    wParam,
LPARAM    lParam
[static]
 

Definition at line 1140 of file listbox.cpp.

Referenced by LISTBOX_Create(), and ListBoxWndProc().

void LISTBOX_MakeItemVisible HWND    hwnd,
LB_DESCR   descr,
INT    index,
BOOL    fully
[static]
 

Definition at line 1174 of file listbox.cpp.

Referenced by LISTBOX_MoveCaret(), and LISTBOX_SetCaretIndex().

LRESULT LISTBOX_SelectItemRange HWND    hwnd,
LB_DESCR   descr,
INT    first,
INT    last,
BOOL    on
[static]
 

Definition at line 1211 of file listbox.cpp.

Referenced by LISTBOX_MoveCaret(), LISTBOX_SelItemRange(), LISTBOX_SelItemRangeEx(), and LISTBOX_SetSelection().

LRESULT LISTBOX_SetCaretIndex HWND    hwnd,
LB_DESCR   descr,
INT    index,
BOOL    fully_visible
[static]
 

Definition at line 1255 of file listbox.cpp.

Referenced by LISTBOX_HandleLButtonDown(), LISTBOX_HandleSetCaretIndex(), LISTBOX_InsertItem(), LISTBOX_SetCount(), and LISTBOX_SetCurSel().

LRESULT LISTBOX_SetSelection HWND    hwnd,
LB_DESCR   descr,
INT    index,
BOOL    on,
BOOL    send_notify
[static]
 

Definition at line 1277 of file listbox.cpp.

Referenced by LISTBOX_HandleChar(), LISTBOX_HandleKeyDown(), LISTBOX_HandleLButtonDown(), LISTBOX_HandleLButtonDownCombo(), LISTBOX_MoveCaret(), LISTBOX_SelectString(), LISTBOX_SetCurSel(), and ListBoxWndProc().

void LISTBOX_MoveCaret HWND    hwnd,
LB_DESCR   descr,
INT    index,
BOOL    fully_visible
[static]
 

Definition at line 1325 of file listbox.cpp.

Referenced by ComboLBWndProc(), LISTBOX_HandleChar(), LISTBOX_HandleKeyDown(), LISTBOX_HandleLButtonDown(), and LISTBOX_HandleTimer().

LRESULT LISTBOX_InsertItem HWND    hwnd,
LB_DESCR   descr,
INT    index,
LPSTR    str,
DWORD    data
[static]
 

Definition at line 1376 of file listbox.cpp.

Referenced by LISTBOX_InsertString().

LRESULT LISTBOX_InsertString HWND    hwnd,
LB_DESCR   descr,
INT    index,
LPCSTR    str
[static]
 

Definition at line 1454 of file listbox.cpp.

Referenced by LISTBOX_AddFile(), LISTBOX_AddString(), LISTBOX_Directory(), and ListBoxWndProc().

LRESULT LISTBOX_AddString HWND    hwnd,
LB_DESCR   descr,
WPARAM    wParam,
LPARAM    lParam
[static]
 

Definition at line 1484 of file listbox.cpp.

Referenced by ListBoxWndProc().

LRESULT LISTBOX_AddFile HWND    hwnd,
LB_DESCR   descr,
WPARAM    wParam,
LPARAM    lParam
[static]
 

Definition at line 1490 of file listbox.cpp.

Referenced by ListBoxWndProc().

void LISTBOX_DeleteItem HWND    hwnd,
LB_DESCR   descr,
INT    index
[static]
 

Definition at line 1501 of file listbox.cpp.

Referenced by LISTBOX_RemoveItem(), and LISTBOX_ResetContent().

LRESULT LISTBOX_RemoveItem HWND    hwnd,
LB_DESCR   descr,
INT    index
[static]
 

Definition at line 1530 of file listbox.cpp.

Referenced by LISTBOX_DeleteString().

LRESULT LISTBOX_DeleteString HWND    hwnd,
LB_DESCR   descr,
WPARAM    wParam,
LPARAM    lParam
[static]
 

Definition at line 1590 of file listbox.cpp.

Referenced by ListBoxWndProc().

LRESULT LISTBOX_ResetContent HWND    hwnd,
LB_DESCR   descr,
BOOL    refresh
[static]
 

Definition at line 1601 of file listbox.cpp.

Referenced by LISTBOX_Destroy(), and ListBoxWndProc().

LRESULT LISTBOX_SetCount HWND    hwnd,
LB_DESCR   descr,
INT    count
[static]
 

Definition at line 1626 of file listbox.cpp.

Referenced by ListBoxWndProc().

LRESULT LISTBOX_Directory HWND    hwnd,
LB_DESCR   descr,
UINT    attrib,
LPCSTR    filespec,
BOOL    long_names
[static]
 

Definition at line 1699 of file listbox.cpp.

Referenced by COMBO_Directory(), and ListBoxWndProc().

LRESULT LISTBOX_HandleVScroll HWND    hwnd,
LB_DESCR   descr,
WPARAM    wParam,
LPARAM    lParam
[static]
 

Definition at line 1766 of file listbox.cpp.

Referenced by ListBoxWndProc().

LRESULT LISTBOX_HandleHScroll HWND    hwnd,
LB_DESCR   descr,
WPARAM    wParam,
LPARAM    lParam
[static]
 

Definition at line 1811 of file listbox.cpp.

Referenced by ListBoxWndProc().

LRESULT LISTBOX_HandleMouseWheel HWND    hwnd,
LB_DESCR   descr,
WPARAM    wParam,
LPARAM    lParam
[static]
 

Definition at line 1899 of file listbox.cpp.

Referenced by ListBoxWndProc().

LRESULT LISTBOX_HandleLButtonDown HWND    hwnd,
LB_DESCR   descr,
WPARAM    wParam,
INT    x,
INT    y
[static]
 

Definition at line 1923 of file listbox.cpp.

Referenced by LISTBOX_HandleLButtonDownCombo(), and ListBoxWndProc().

LRESULT LISTBOX_HandleLButtonDownCombo HWND    hwnd,
LB_DESCR   pDescr,
UINT    msg,
WPARAM    wParam,
INT    x,
INT    y
[static]
 

Definition at line 2002 of file listbox.cpp.

Referenced by ComboLBWndProc().

LRESULT LISTBOX_HandleLButtonUp HWND    hwnd,
LB_DESCR   descr
[static]
 

Definition at line 2071 of file listbox.cpp.

Referenced by ComboLBWndProc(), and ListBoxWndProc().

LRESULT LISTBOX_HandleTimer HWND    hwnd,
LB_DESCR   descr,
INT    index,
TIMER_DIRECTION    dir
[static]
 

Definition at line 2094 of file listbox.cpp.

Referenced by LISTBOX_HandleMouseMove(), and LISTBOX_HandleSystemTimer().

LRESULT LISTBOX_HandleSystemTimer HWND    hwnd,
LB_DESCR   descr
[static]
 

Definition at line 2129 of file listbox.cpp.

Referenced by ListBoxWndProc().

LRESULT LISTBOX_HandleMouseMove HWND    hwnd,
LB_DESCR   descr,
INT    x,
INT    y
[static]
 

Definition at line 2146 of file listbox.cpp.

Referenced by ComboLBWndProc(), and ListBoxWndProc().

LRESULT LISTBOX_HandleKeyDown HWND    hwnd,
LB_DESCR   descr,
WPARAM    wParam
[static]
 

Definition at line 2198 of file listbox.cpp.

Referenced by ComboLBWndProc(), and ListBoxWndProc().

LRESULT LISTBOX_HandleChar HWND    hwnd,
LB_DESCR   descr,
WPARAM    wParam
[static]
 

Definition at line 2305 of file listbox.cpp.

Referenced by ListBoxWndProc().

LRESULT LISTBOX_Create HWND    hwnd,
LPHEADCOMBO    lphc
[static]
 

Definition at line 2338 of file listbox.cpp.

Referenced by ComboLBWndProc(), and ListBoxWndProc().

LRESULT LISTBOX_NCCreate HWND    hwnd,
WPARAM    wParam,
LPARAM    lParam
[static]
 

Definition at line 2417 of file listbox.cpp.

Referenced by ListBoxWndProc().

BOOL LISTBOX_Destroy HWND    hwnd,
LB_DESCR   descr
[static]
 

Definition at line 2438 of file listbox.cpp.

Referenced by ListBoxWndProc().

LRESULT LISTBOX_GetItemData HWND    hwnd,
LB_DESCR   descr,
WPARAM    wParam,
LPARAM    lParam
[static]
 

Definition at line 2447 of file listbox.cpp.

Referenced by ListBoxWndProc().

LRESULT LISTBOX_SetItemData HWND    hwnd,
LB_DESCR   descr,
WPARAM    wParam,
LPARAM    lParam
[static]
 

Definition at line 2454 of file listbox.cpp.

Referenced by ListBoxWndProc().

LRESULT LISTBOX_GetCount HWND    hwnd,
LB_DESCR   descr,
WPARAM    wParam,
LPARAM    lParam
[static]
 

Definition at line 2462 of file listbox.cpp.

Referenced by ListBoxWndProc().

LRESULT LISTBOX_GetTextLen HWND    hwnd,
LB_DESCR   descr,
WPARAM    wParam,
LPARAM    lParam
[static]
 

Definition at line 2467 of file listbox.cpp.

Referenced by ListBoxWndProc().

LRESULT LISTBOX_GetCurSel HWND    hwnd,
LB_DESCR   descr,
WPARAM    wParam,
LPARAM    lParam
[static]
 

Definition at line 2475 of file listbox.cpp.

Referenced by ListBoxWndProc().

LRESULT LISTBOX_GetTopIndex HWND    hwnd,
LB_DESCR   descr,
WPARAM    wParam,
LPARAM    lParam
[static]
 

Definition at line 2490 of file listbox.cpp.

Referenced by ListBoxWndProc().

LRESULT LISTBOX_ItemFromPoint HWND    hwnd,
LB_DESCR   descr,
WPARAM    wParam,
LPARAM    lParam
[static]
 

Definition at line 2495 of file listbox.cpp.

Referenced by ListBoxWndProc().

LRESULT LISTBOX_HandleSetCaretIndex HWND    hwnd,
LB_DESCR   descr,
WPARAM    wParam,
LPARAM    lParam
[static]
 

Definition at line 2511 of file listbox.cpp.

Referenced by ListBoxWndProc().

LRESULT LISTBOX_GetCaretIndex HWND    hwnd,
LB_DESCR   descr,
WPARAM    wParam,
LPARAM    lParam
[static]
 

Definition at line 2520 of file listbox.cpp.

Referenced by ListBoxWndProc().

LRESULT LISTBOX_SelectString HWND    hwnd,
LB_DESCR   descr,
WPARAM    wParam,
LPARAM    lParam
[static]
 

Definition at line 2525 of file listbox.cpp.

Referenced by ListBoxWndProc().

LRESULT LISTBOX_GetSel HWND    hwnd,
LB_DESCR   descr,
WPARAM    wParam,
LPARAM    lParam
[static]
 

Definition at line 2535 of file listbox.cpp.

Referenced by ListBoxWndProc().

LRESULT LISTBOX_SetCurSel HWND    hwnd,
LB_DESCR   descr,
WPARAM    wParam,
LPARAM    lParam
[static]
 

Definition at line 2542 of file listbox.cpp.

Referenced by ListBoxWndProc().

LRESULT LISTBOX_SelItemRange HWND    hwnd,
LB_DESCR   descr,
WPARAM    wParam,
LPARAM    lParam
[static]
 

Definition at line 2549 of file listbox.cpp.

Referenced by ListBoxWndProc().

LRESULT LISTBOX_SelItemRangeEx HWND    hwnd,
LB_DESCR   descr,
WPARAM    wParam,
LPARAM    lParam
[static]
 

Definition at line 2559 of file listbox.cpp.

Referenced by ListBoxWndProc().

LRESULT LISTBOX_GetHorizontalExtent HWND    hwnd,
LB_DESCR   descr,
WPARAM    wParam,
LPARAM    lParam
[static]
 

Definition at line 2567 of file listbox.cpp.

Referenced by ListBoxWndProc().

LRESULT LISTBOX_GetAnchorIndex HWND    hwnd,
LB_DESCR   descr,
WPARAM    wParam,
LPARAM    lParam
[static]
 

Definition at line 2572 of file listbox.cpp.

Referenced by ListBoxWndProc().

LRESULT LISTBOX_SetAnchorIndex HWND    hwnd,
LB_DESCR   descr,
WPARAM    wParam,
LPARAM    lParam
[static]
 

Definition at line 2577 of file listbox.cpp.

Referenced by ListBoxWndProc().

LRESULT LISTBOX_GetLocale HWND    hwnd,
LB_DESCR   descr,
WPARAM    wParam,
LPARAM    lParam
[static]
 

Definition at line 2585 of file listbox.cpp.

Referenced by ListBoxWndProc().

LRESULT LISTBOX_SetLocale HWND    hwnd,
LB_DESCR   descr,
WPARAM    wParam,
LPARAM    lParam
[static]
 

Definition at line 2590 of file listbox.cpp.

Referenced by ListBoxWndProc().

LRESULT LISTBOX_CaretOn HWND    hwnd,
LB_DESCR   descr,
WPARAM    wParam,
LPARAM    lParam
[static]
 

Definition at line 2596 of file listbox.cpp.

Referenced by ListBoxWndProc().

LRESULT LISTBOX_CaretOff HWND    hwnd,
LB_DESCR   descr,
WPARAM    wParam,
LPARAM    lParam
[static]
 

Definition at line 2606 of file listbox.cpp.

Referenced by ListBoxWndProc().

LRESULT LISTBOX_Enable HWND    hwnd,
LB_DESCR   descr,
WPARAM    wParam,
LPARAM    lParam
[static]
 

Definition at line 2616 of file listbox.cpp.

Referenced by ListBoxWndProc().

LRESULT LISTBOX_GetDlgCode HWND    hwnd,
LB_DESCR   descr,
WPARAM    wParam,
LPARAM    lParam
[static]
 

Definition at line 2622 of file listbox.cpp.

Referenced by ListBoxWndProc().

LRESULT LISTBOX_Paint HWND    hwnd,
LB_DESCR   descr,
WPARAM    wParam,
LPARAM    lParam
[static]
 

Definition at line 2627 of file listbox.cpp.

Referenced by ListBoxWndProc().

LRESULT LISTBOX_Size HWND    hwnd,
LB_DESCR   descr,
WPARAM    wParam,
LPARAM    lParam
[static]
 

Definition at line 2639 of file listbox.cpp.

Referenced by ListBoxWndProc().

LRESULT LISTBOX_GetFont HWND    hwnd,
LB_DESCR   descr,
WPARAM    wParam,
LPARAM    lParam
[static]
 

Definition at line 2645 of file listbox.cpp.

Referenced by ListBoxWndProc().

LRESULT LISTBOX_SetFocus HWND    hwnd,
LB_DESCR   descr,
WPARAM    wParam,
LPARAM    lParam
[static]
 

Definition at line 2650 of file listbox.cpp.

Referenced by ListBoxWndProc().

LRESULT LISTBOX_KillFocus HWND    hwnd,
LB_DESCR   descr,
WPARAM    wParam,
LPARAM    lParam
[static]
 

Definition at line 2660 of file listbox.cpp.

Referenced by ListBoxWndProc().

LRESULT LISTBOX_MouseActivate HWND    hwnd,
LB_DESCR   descr,
WPARAM    wParam,
LPARAM    lParam
[static]
 

Definition at line 2669 of file listbox.cpp.

Referenced by ListBoxWndProc().

LRESULT LISTBOX_LButtonDblClk HWND    hwnd,
LB_DESCR   descr,
WPARAM    wParam,
LPARAM    lParam
[static]
 

Definition at line 2674 of file listbox.cpp.

Referenced by ListBoxWndProc().

LRESULT LISTBOX_EraseBackground HWND    hwnd,
LB_DESCR   descr,
WPARAM    wParam,
LPARAM    lParam
[static]
 

Definition at line 2681 of file listbox.cpp.

Referenced by ListBoxWndProc().

LRESULT LISTBOX_DropFiles HWND    hwnd,
LB_DESCR   descr,
WPARAM    wParam,
LPARAM    lParam
[static]
 

Definition at line 2695 of file listbox.cpp.

Referenced by ListBoxWndProc().

LRESULT LISTBOX_HandleDragDrop HWND    hwnd,
LB_DESCR   descr,
UINT    msg,
WPARAM    wParam,
LPARAM    lParam
[static]
 

Definition at line 2703 of file listbox.cpp.

Referenced by ListBoxWndProc().

LRESULT WINAPI ListBoxWndProc HWND    hwnd,
UINT    msg,
WPARAM    wParam,
LPARAM    lParam
 

Definition at line 2720 of file listbox.cpp.

Referenced by ComboLBWndProc().

LRESULT COMBO_Directory LPHEADCOMBO    lphc,
UINT    attrib,
LPSTR    dir,
BOOL    bLong
 

Definition at line 2956 of file listbox.cpp.

Referenced by COMBO_Dir().

LRESULT WINAPI ComboLBWndProc HWND    hwnd,
UINT    msg,
WPARAM    wParam,
LPARAM    lParam
 

Definition at line 2981 of file listbox.cpp.

BOOL LISTBOX_Register  
 

Definition at line 3122 of file listbox.cpp.

Referenced by CONTROLS_Register().

BOOL LISTBOX_Unregister  
 

Definition at line 3142 of file listbox.cpp.

Referenced by CONTROLS_Unregister().

BOOL COMBOLBOX_Register  
 

Definition at line 3149 of file listbox.cpp.

Referenced by CONTROLS_Register().

BOOL COMBOLBOX_Unregister  
 

Definition at line 3168 of file listbox.cpp.

Referenced by CONTROLS_Unregister().


Variable Documentation

TIMER_DIRECTION LISTBOX_Timer = LB_TIMER_NONE [static]
 

Definition at line 133 of file listbox.cpp.


Generated on Wed Jan 23 23:18:52 2002 for ODIN-user32 by doxygen1.2.11.1 written by Dimitri van Heesch, © 1997-2001