#include <string.h>
#include <os2win.h>
#include "controls.h"
#include "combo.h"
#include "initterm.h"
#include "dbglocal.h"
Include dependency graph for combo.cpp:
Go to the source code of this file.
Defines | |
#define | DBG_LOCALLOG DBG_combo |
#define | KEYDATA_ALT 0x2000 |
#define | KEYDATA_PREVSTATE 0x4000 |
#define | CB_NOTIFY(lphc, code) |
#define | CB_GETEDITTEXTLENGTH(lphc) (SendMessageA( (lphc)->hWndEdit, WM_GETTEXTLENGTH, 0, 0 )) |
#define | COMBO_YBORDERGAP 5 |
#define | COMBO_XBORDERSIZE() ( 2 ) |
#define | COMBO_YBORDERSIZE() ( 2 ) |
#define | COMBO_EDITBUTTONSPACE() ( 0 ) |
#define | EDIT_CONTROL_PADDING() ( 1 ) |
#define | lpIS ((LPDELETEITEMSTRUCT)lParam) |
#define | lpIS ((LPDRAWITEMSTRUCT)lParam) |
#define | lpIS ((LPCOMPAREITEMSTRUCT)lParam) |
Functions | |
LRESULT | COMBO_NCCreate (HWND hwnd, WPARAM wParam, LPARAM lParam) |
LRESULT | COMBO_NCDestroy (HWND hwnd, WPARAM wParam, LPARAM lParam) |
INT | CBGetTextAreaHeight (HWND hwnd, LPHEADCOMBO lphc) |
void | CBForceDummyResize (LPHEADCOMBO lphc) |
void | CBCalcPlacement (HWND hwnd, LPHEADCOMBO lphc, LPRECT lprEdit, LPRECT lprButton, LPRECT lprLB) |
void | CBGetDroppedControlRect (LPHEADCOMBO lphc, LPRECT lpRect) |
LRESULT | COMBO_WindowPosChanging (HWND hwnd, WPARAM wParam, LPARAM lParam) |
LRESULT | COMBO_Create (HWND hwnd, WPARAM wParam, LPARAM lParam) |
void | CBPaintButton (LPHEADCOMBO lphc, HDC hdc, RECT rectButton) |
void | CBPaintText (LPHEADCOMBO lphc, HDC hdc, RECT rectEdit) |
void | CBPaintBorder (HWND hwnd, LPHEADCOMBO lphc, HDC hdc) |
HBRUSH | COMBO_PrepareColors (HWND hwnd, LPHEADCOMBO lphc, HDC hDC) |
LRESULT | COMBO_EraseBackground (HWND hwnd, WPARAM wParam, LPARAM lParam) |
LRESULT | COMBO_GetDlgCode (HWND hwnd, WPARAM wParam, LPARAM lParam) |
LRESULT | COMBO_Paint (HWND hwnd, WPARAM wParam, LPARAM lParam) |
LRESULT | COMBO_PrintClient (HWND hwnd, WPARAM wParam, LPARAM lParam) |
INT | CBUpdateLBox (LPHEADCOMBO lphc, BOOL bSelect) |
void | CBUpdateEdit (LPHEADCOMBO lphc, INT index) |
void | CBDropDown (LPHEADCOMBO lphc) |
void | CBRollUp (LPHEADCOMBO lphc, BOOL ok, BOOL bButton) |
BOOL | COMBO_FlipListbox (LPHEADCOMBO lphc, BOOL ok, BOOL bRedrawButton) |
void | CBRepaintButton (LPHEADCOMBO lphc) |
VOID | COMBO_EditSetFocus (LPHEADCOMBO lphc) |
LRESULT | COMBO_SetFocus (HWND hwnd, WPARAM wParam, LPARAM lParam) |
VOID | COMBO_EditKillFocus (LPHEADCOMBO lphc) |
LRESULT | COMBO_KillFocus (HWND hwnd, WPARAM wParam, LPARAM lParam) |
LRESULT | COMBO_Command (HWND hwnd, WPARAM wParam, LPARAM lParam) |
LRESULT | COMBO_HandleItem (HWND hwnd, UINT msg, WPARAM wParam, LPARAM lParam) |
LRESULT | COMBO_GetText (HWND hwnd, WPARAM wParam, LPARAM lParam) |
LRESULT | COMBO_GetTextLength (HWND hwnd, WPARAM wParam, LPARAM lParam) |
LRESULT | COMBO_HandleText (HWND hwnd, UINT message, WPARAM wParam, LPARAM lParam) |
void | CBResetPos (LPHEADCOMBO lphc, LPRECT rectEdit, LPRECT rectLB, BOOL bRedraw) |
LRESULT | COMBO_Size (HWND hwnd, WPARAM wParam, LPARAM lParam) |
LRESULT | COMBO_SetFont (HWND hwnd, WPARAM wParam, LPARAM lParam) |
LRESULT | COMBO_GetFont (HWND hwnd, WPARAM wParam, LPARAM lParam) |
LRESULT | COMBO_LButtonDown (HWND hwnd, WPARAM wParam, LPARAM lParam) |
LRESULT | COMBO_LButtonUp (HWND hwnd, WPARAM wParam, LPARAM lParam) |
LRESULT | COMBO_MouseMove (HWND hwnd, WPARAM wParam, LPARAM lParam) |
LRESULT | COMBO_MouseWheel (HWND hwnd, WPARAM wParam, LPARAM lParam) |
LRESULT | COMBO_Enable (HWND hwnd, WPARAM wParam, LPARAM lParam) |
LRESULT | COMBO_SetRedraw (HWND hwnd, WPARAM wParam, LPARAM lParam) |
LRESULT | COMBO_SysKeyDown (HWND hwnd, WPARAM wParam, LPARAM lParam) |
LRESULT | COMBO_HandleKey (HWND hwnd, UINT message, WPARAM wParam, LPARAM lParam) |
LRESULT | COMBO_AddString (HWND hwnd, WPARAM wParam, LPARAM lParam) |
LRESULT | COMBO_InsertString (HWND hwnd, WPARAM wParam, LPARAM lParam) |
LRESULT | COMBO_DeleteString (HWND hwnd, WPARAM wParam, LPARAM lParam) |
LRESULT | COMBO_SelectString (HWND hwnd, WPARAM wParam, LPARAM lParam) |
LRESULT | COMBO_FindString (HWND hwnd, WPARAM wParam, LPARAM lParam) |
LRESULT | COMBO_FindStringExact (HWND hwnd, WPARAM wParam, LPARAM lParam) |
LRESULT | COMBO_SetItemHeight (HWND hwnd, WPARAM wParam, LPARAM lParam) |
LRESULT | COMBO_GetItemHeight (HWND hwnd, WPARAM wParam, LPARAM lParam) |
LRESULT | COMBO_ResetContent (HWND hwnd, WPARAM wParam, LPARAM lParam) |
LRESULT | COMBO_InitStorage (HWND hwnd, WPARAM wParam, LPARAM lParam) |
LRESULT | COMBO_GetHorizontalExtent (HWND hwnd, WPARAM wParam, LPARAM lParam) |
LRESULT | COMBO_SetHorizontalExtent (HWND hwnd, WPARAM wParam, LPARAM lParam) |
LRESULT | COMBO_GetTopIndex (HWND hwnd, WPARAM wParam, LPARAM lParam) |
LRESULT | COMBO_GetLocale (HWND hwnd, WPARAM wParam, LPARAM lParam) |
LRESULT | COMBO_SetLocale (HWND hwnd, WPARAM wParam, LPARAM lParam) |
LRESULT | COMBO_GetDroppedWidth (HWND hwnd, WPARAM wParam, LPARAM lParam) |
LRESULT | COMBO_SetDroppedWidth (HWND hwnd, WPARAM wParam, LPARAM lParam) |
LRESULT | COMBO_GetDroppedControlRect (HWND hwnd, WPARAM wParam, LPARAM lParam) |
LRESULT | COMBO_GetDroppedState (HWND hwnd, WPARAM wParam, LPARAM lParam) |
LRESULT | COMBO_Dir (HWND hwnd, WPARAM wParam, LPARAM lParam) |
LRESULT | COMBO_ShowDropDown (HWND hwnd, WPARAM wParam, LPARAM lParam) |
LRESULT | COMBO_GetCount (HWND hwnd, WPARAM wParam, LPARAM lParam) |
LRESULT | COMBO_GetCurSel (HWND hwnd, WPARAM wParam, LPARAM lParam) |
LRESULT | COMBO_SetCurSel (HWND hwnd, WPARAM wParam, LPARAM lParam) |
LRESULT | COMBO_GetLBText (HWND hwnd, WPARAM wParam, LPARAM lParam) |
LRESULT | COMBO_GetLBTextLen (HWND hwnd, WPARAM wParam, LPARAM lParam) |
LRESULT | COMBO_GetItemData (HWND hwnd, WPARAM wParam, LPARAM lParam) |
LRESULT | COMBO_SetItemData (HWND hwnd, WPARAM wParam, LPARAM lParam) |
LRESULT | COMBO_GetEditSel (HWND hwnd, WPARAM wParam, LPARAM lParam) |
LRESULT | COMBO_SetEditSel (HWND hwnd, WPARAM wParam, LPARAM lParam) |
LRESULT | COMBO_SetExtendedUI (HWND hwnd, WPARAM wParam, LPARAM lParam) |
LRESULT | COMBO_GetExtendedUI (HWND hwnd, WPARAM wParam, LPARAM lParam) |
LRESULT WINAPI | ComboWndProc (HWND hwnd, UINT message, WPARAM wParam, LPARAM lParam) |
BOOL | COMBOBOX_Register () |
BOOL | COMBOBOX_Unregister () |
|
|
|
|
|
|
|
Value: (SendMessageA( (lphc)->owner, WM_COMMAND, \ MAKEWPARAM(GetWindowLongA((lphc)->hwndself,GWL_ID), (code)), (lphc)->hwndself)) Definition at line 38 of file combo.cpp. Referenced by CBDropDown(), CBRollUp(), COMBO_Command(), COMBO_EditKillFocus(), and COMBO_EditSetFocus().
|
|
Definition at line 41 of file combo.cpp. Referenced by CBUpdateLBox().
|
|
|
|
Definition at line 48 of file combo.cpp. Referenced by CBCalcPlacement(), CBPaintBorder(), and COMBO_EraseBackground().
|
|
Definition at line 49 of file combo.cpp. Referenced by CBCalcPlacement(), CBDropDown(), CBForceDummyResize(), CBGetTextAreaHeight(), CBPaintBorder(), COMBO_Create(), COMBO_EraseBackground(), and COMBO_WindowPosChanging().
|
|
Definition at line 50 of file combo.cpp. Referenced by CBCalcPlacement(), CBDropDown(), and COMBO_Create().
|
|
Definition at line 51 of file combo.cpp. Referenced by CBCalcPlacement(), and CBPaintBorder().
|
|
|
|
|
|
|
|
Definition at line 56 of file combo.cpp. Referenced by ComboWndProc().
|
|
Definition at line 99 of file combo.cpp. Referenced by ComboWndProc().
|
|
Definition at line 128 of file combo.cpp. Referenced by CBCalcPlacement(), CBForceDummyResize(), COMBO_GetItemHeight(), and COMBO_WindowPosChanging().
|
|
Definition at line 231 of file combo.cpp. Referenced by COMBO_Create(), COMBO_SetFont(), and COMBO_SetItemHeight().
|
|
Definition at line 262 of file combo.cpp. Referenced by COMBO_Create(), COMBO_SetFont(), COMBO_SetItemHeight(), and COMBO_Size().
|
|
Definition at line 465 of file combo.cpp. Referenced by COMBO_GetDroppedControlRect().
|
|
Definition at line 480 of file combo.cpp. Referenced by ComboWndProc().
|
|
Definition at line 523 of file combo.cpp. Referenced by ComboWndProc().
|
|
Definition at line 694 of file combo.cpp. Referenced by COMBO_Paint().
|
|
Definition at line 723 of file combo.cpp. Referenced by COMBO_Paint().
|
|
Definition at line 846 of file combo.cpp. Referenced by COMBO_Paint().
|
|
Definition at line 876 of file combo.cpp. Referenced by COMBO_EraseBackground(), and COMBO_Paint().
|
|
Definition at line 924 of file combo.cpp. Referenced by COMBO_PrintClient(), and ComboWndProc().
|
|
Definition at line 960 of file combo.cpp. Referenced by ComboWndProc().
|
|
Definition at line 978 of file combo.cpp. Referenced by COMBO_PrintClient(), and ComboWndProc().
|
|
Definition at line 1027 of file combo.cpp. Referenced by ComboWndProc().
|
|
Definition at line 1039 of file combo.cpp. Referenced by CBDropDown(), COMBO_Command(), COMBO_LButtonUp(), and COMBO_MouseMove().
|
|
Definition at line 1077 of file combo.cpp. Referenced by CBDropDown(), COMBO_Command(), COMBO_LButtonUp(), COMBO_SelectString(), and COMBO_SetCurSel().
|
|
Definition at line 1116 of file combo.cpp. Referenced by COMBO_FlipListbox(), COMBO_LButtonDown(), and COMBO_ShowDropDown().
|
|
Definition at line 1212 of file combo.cpp. Referenced by COMBO_Command(), COMBO_EditKillFocus(), COMBO_FlipListbox(), COMBO_HandleKey(), COMBO_LButtonDown(), and COMBO_ShowDropDown().
|
|
Definition at line 1263 of file combo.cpp. Referenced by COMBO_SysKeyDown(), ComboLBWndProc(), and LISTBOX_HandleLButtonDownCombo().
|
|
Definition at line 1278 of file combo.cpp. Referenced by COMBO_LButtonDown(), COMBO_LButtonUp(), and COMBO_MouseMove().
|
|
Definition at line 1284 of file combo.cpp. Referenced by COMBO_Command(), and COMBO_SetFocus().
|
|
Definition at line 1303 of file combo.cpp. Referenced by ComboWndProc().
|
|
Definition at line 1322 of file combo.cpp. Referenced by COMBO_Command(), and COMBO_KillFocus().
|
|
Definition at line 1346 of file combo.cpp. Referenced by ComboWndProc().
|
|
Definition at line 1361 of file combo.cpp. Referenced by ComboWndProc().
|
|
Definition at line 1507 of file combo.cpp. Referenced by ComboWndProc().
|
|
Definition at line 1542 of file combo.cpp. Referenced by ComboWndProc().
|
|
Definition at line 1589 of file combo.cpp. Referenced by ComboWndProc().
|
|
Definition at line 1606 of file combo.cpp. Referenced by ComboWndProc().
|
|
Definition at line 1633 of file combo.cpp. Referenced by COMBO_SetFont(), COMBO_SetItemHeight(), and COMBO_Size().
|
|
Definition at line 1675 of file combo.cpp. Referenced by ComboWndProc().
|
|
Definition at line 1699 of file combo.cpp. Referenced by ComboWndProc().
|
|
Definition at line 1736 of file combo.cpp. Referenced by ComboWndProc().
|
|
Definition at line 1747 of file combo.cpp. Referenced by ComboWndProc().
|
|
Definition at line 1797 of file combo.cpp. Referenced by ComboWndProc().
|
|
Definition at line 1830 of file combo.cpp. Referenced by ComboWndProc().
|
|
Definition at line 1869 of file combo.cpp. Referenced by ComboWndProc().
|
|
Definition at line 1880 of file combo.cpp. Referenced by ComboWndProc().
|
|
Definition at line 1894 of file combo.cpp. Referenced by ComboWndProc().
|
|
Definition at line 1910 of file combo.cpp. Referenced by ComboWndProc().
|
|
Definition at line 1921 of file combo.cpp. Referenced by ComboWndProc().
|
|
Definition at line 1939 of file combo.cpp. Referenced by ComboWndProc().
|
|
Definition at line 1946 of file combo.cpp. Referenced by ComboWndProc().
|
|
Definition at line 1953 of file combo.cpp. Referenced by ComboWndProc().
|
|
Definition at line 1963 of file combo.cpp. Referenced by ComboWndProc().
|
|
Definition at line 1982 of file combo.cpp. Referenced by ComboWndProc().
|
|
Definition at line 1989 of file combo.cpp. Referenced by ComboWndProc().
|
|
Definition at line 1999 of file combo.cpp. Referenced by ComboWndProc().
|
|
Definition at line 2037 of file combo.cpp. Referenced by ComboWndProc().
|
|
Definition at line 2047 of file combo.cpp. Referenced by ComboWndProc().
|
|
Definition at line 2057 of file combo.cpp. Referenced by ComboWndProc().
|
|
Definition at line 2064 of file combo.cpp. Referenced by ComboWndProc().
|
|
Definition at line 2071 of file combo.cpp. Referenced by ComboWndProc().
|
|
Definition at line 2078 of file combo.cpp. Referenced by ComboWndProc().
|
|
Definition at line 2085 of file combo.cpp. Referenced by ComboWndProc().
|
|
Definition at line 2092 of file combo.cpp. Referenced by ComboWndProc().
|
|
Definition at line 2099 of file combo.cpp. Referenced by ComboWndProc().
|
|
Definition at line 2109 of file combo.cpp. Referenced by ComboWndProc().
|
|
Definition at line 2119 of file combo.cpp. Referenced by ComboWndProc().
|
|
Definition at line 2128 of file combo.cpp. Referenced by ComboWndProc().
|
|
Definition at line 2135 of file combo.cpp. Referenced by ComboWndProc().
|
|
Definition at line 2143 of file combo.cpp. Referenced by ComboWndProc().
|
|
Definition at line 2162 of file combo.cpp. Referenced by ComboWndProc().
|
|
Definition at line 2169 of file combo.cpp. Referenced by ComboWndProc().
|
|
Definition at line 2176 of file combo.cpp. Referenced by ComboWndProc().
|
|
Definition at line 2199 of file combo.cpp. Referenced by ComboWndProc().
|
|
Definition at line 2206 of file combo.cpp. Referenced by ComboWndProc().
|
|
Definition at line 2213 of file combo.cpp. Referenced by ComboWndProc().
|
|
Definition at line 2220 of file combo.cpp. Referenced by ComboWndProc().
|
|
Definition at line 2227 of file combo.cpp. Referenced by ComboWndProc().
|
|
Definition at line 2243 of file combo.cpp. Referenced by ComboWndProc().
|
|
Definition at line 2254 of file combo.cpp. Referenced by ComboWndProc().
|
|
Definition at line 2266 of file combo.cpp. Referenced by ComboWndProc().
|
|
|
|
Definition at line 2479 of file combo.cpp. Referenced by CONTROLS_Register().
|
|
Definition at line 2498 of file combo.cpp. Referenced by CONTROLS_Unregister().
|