public class ComboBox extends Common implements IComboBoxConsts
CB_ADDSTRING, CB_DELETESTRING, CB_DIR, CB_FINDSTRING, CB_FINDSTRINGEXACT, CB_GETCOUNT, CB_GETCURSEL, CB_GETDROPPEDCONTROLRECT, CB_GETDROPPEDSTATE, CB_GETDROPPEDWIDTH, CB_GETEDITSEL, CB_GETEXTENDEDUI, CB_GETHORIZONTALEXTENT, CB_GETITEMDATA, CB_GETITEMHEIGHT, CB_GETLBTEXT, CB_GETLBTEXTLEN, CB_GETLOCALE, CB_GETMINVISIBLE, CB_GETTOPINDEX, CB_INITSTORAGE, CB_INSERTSTRING, CB_LIMITTEXT, CB_RESETCONTENT, CB_SELECTSTRING, CB_SETCURSEL, CB_SETDROPPEDWIDTH, CB_SETEDITSEL, CB_SETEXTENDEDUI, CB_SETHORIZONTALEXTENT, CB_SETITEMDATA, CB_SETITEMHEIGHT, CB_SETLOCALE, CB_SETMINVISIBLE, CB_SETTOPINDEX, CB_SHOWDROPDOWN, CBN_CLOSEUP, CBN_DBLCLK, CBN_DROPDOWN, CBN_EDITCHANGE, CBN_EDITUPDATE, CBN_ERRSPACE, CBN_KILLFOCUS, CBN_SELCHANGE, CBN_SELENDCANCEL, CBN_SELENDOK, CBN_SETFOCUS
ICC_ALL, ICC_ANIMATE_CLASS, ICC_BAR_CLASSES, ICC_COOL_CLASSES, ICC_DATE_CLASSES, ICC_HOTKEY_CLASS, ICC_INTERNET_CLASSES, ICC_LINK_CLASS, ICC_LISTVIEW_CLASSES, ICC_NATIVEFNTCTL_CLASS, ICC_PAGESCROLLER_CLASS, ICC_PROGRESS_CLASS, ICC_STANDARD_CLASSES, ICC_TAB_CLASSES, ICC_TREEVIEW_CLASSES, ICC_UPDOWN_CLASS, ICC_USEREX_CLASSES, ICC_WIN95_CLASSES
Constructor and Description |
---|
ComboBox() |
Modifier and Type | Method and Description |
---|---|
int |
findItemData(long hwndCtl,
int indexStart,
com.sun.jna.platform.win32.WinDef.LPARAM data)
.
|
int |
findString(long hwndCtl,
int indexStart,
String lpszFind)
.
|
int |
findStringExact(long hwndCtl,
int indexStart,
String lpszFind)
.
|
int |
getCount(long hwndCtl)
.
|
int |
getCurSel(long hwndCtl)
.
|
int |
getDroppedState(long hwndCtl)
.
|
int |
getEditSel(long hwndCtl)
.
|
int |
getExtendedUI(long hwndCtl)
.
|
int |
getItemData(long hwndCtl,
int index)
.
|
int |
getItemHeight(long hwndCtl)
.
|
int |
getLBText(long hwndCtl,
int index,
String lpszBuffer)
.
|
int |
getLBTextLen(long hwndCtl,
int index)
.
|
String |
getText(long hwndCtl)
.
|
int |
getTextLength(long hwndCtl)
.
|
int |
resetContent(long hwndCtl)
.
|
int |
selectString(long hwndCtl,
int indexStart,
String lpszSelect)
.
|
int |
setCurSel(long hwndCtl,
int index)
.
|
int |
setEditSel(long hwndCtl,
int ichStart,
int ichEnd)
.
|
int |
setItemHeight(long hwndCtl,
int index,
int cyItem)
.
|
void |
setText(long hwndCtl,
String lpsz)
.
|
int |
showDropdown(long hwndCtl,
boolean fShow)
.
|
getCommCtl32, getDlg32, getKernel32, getShell32, getUser32, initCommonControls, longToHmenu, longToHwnd, makeLong, makeLParam, makeWParam, postMessage, sendMessage
public final int findItemData(long hwndCtl, int indexStart, com.sun.jna.platform.win32.WinDef.LPARAM data)
hwndCtl
- .indexStart
- .data
- .public final int findString(long hwndCtl, int indexStart, String lpszFind)
hwndCtl
- .indexStart
- .lpszFind
- .public final int findStringExact(long hwndCtl, int indexStart, String lpszFind)
hwndCtl
- .indexStart
- .lpszFind
- .public final int getCount(long hwndCtl)
hwndCtl
- .public final int getCurSel(long hwndCtl)
hwndCtl
- .public final int getDroppedState(long hwndCtl)
hwndCtl
- .public final int getEditSel(long hwndCtl)
hwndCtl
- .public final int getExtendedUI(long hwndCtl)
hwndCtl
- .public final int getItemData(long hwndCtl, int index)
hwndCtl
- .index
- .public final int getItemHeight(long hwndCtl)
hwndCtl
- .public final int getLBText(long hwndCtl, int index, String lpszBuffer)
hwndCtl
- .index
- .lpszBuffer
- .public final int getLBTextLen(long hwndCtl, int index)
hwndCtl
- .index
- .public final String getText(long hwndCtl)
hwndCtl
- .public final int getTextLength(long hwndCtl)
hwndCtl
- .public final int resetContent(long hwndCtl)
hwndCtl
- .public final int selectString(long hwndCtl, int indexStart, String lpszSelect)
hwndCtl
- .indexStart
- .lpszSelect
- .public final int setCurSel(long hwndCtl, int index)
hwndCtl
- .index
- .public final int setEditSel(long hwndCtl, int ichStart, int ichEnd)
hwndCtl
- .ichStart
- .ichEnd
- .public final int setItemHeight(long hwndCtl, int index, int cyItem)
hwndCtl
- .index
- .cyItem
- .public final void setText(long hwndCtl, String lpsz)
hwndCtl
- .lpsz
- .public final int showDropdown(long hwndCtl, boolean fShow)
hwndCtl
- .fShow
- .Copyright © 2013. All rights reserved.