Documentation ¶
Overview ¶
Package widget 封装了所有窗口组件.
Button, ComboBox, DateTime, Edit, Editor, Element, LayoutEle, LayoutFrame, List, ListBox, ListView, Menu, MenuBar, MonthCal, Pane, ProgressBar, ScrollBar, ScrollView, Shape, ShapeEllipse, ShapeGif, ShapeGroupBox, ShapeLine, ShapePicture, ShapeRect, ShapeText, SliderBar, TabBar, Table, TextLink, ToolBar, Tree.
Index ¶
- type Button
- func (b *Button) AddAnimationFrame(hImage int, uElapse int) int
- func (b *Button) EnableAnimation(bEnable bool, bLoopPlay bool) int
- func (b *Button) Event_BUTTON_CHECK(pFun XE_BUTTON_CHECK) bool
- func (b *Button) Event_BUTTON_CHECK1(pFun XE_BUTTON_CHECK1) bool
- func (b *Button) Event_BnClick(pFun XE_BNCLICK) bool
- func (b *Button) Event_BnClick1(pFun XE_BNCLICK1) bool
- func (b *Button) GetBindEle() int
- func (b *Button) GetGroupID() int
- func (b *Button) GetIcon(nType int) int
- func (b *Button) GetState() xcc.Common_State3_
- func (b *Button) GetStateEx() xcc.Button_State_
- func (b *Button) GetText() string
- func (b *Button) GetTextAlign() xcc.TextFormatFlag_
- func (b *Button) IsCheck() bool
- func (b *Button) SetBindEle(hBindEle int) int
- func (b *Button) SetCheck(bCheck bool) bool
- func (b *Button) SetGroupID(nID int) int
- func (b *Button) SetIcon(hImage int) int
- func (b *Button) SetIconAlign(align xcc.Button_Icon_Align_) int
- func (b *Button) SetIconDisable(hImage int) int
- func (b *Button) SetIconSpace(size int) int
- func (b *Button) SetOffset(x int, y int) int
- func (b *Button) SetOffsetIcon(x int, y int) int
- func (b *Button) SetState(nState xcc.Common_State3_) int
- func (b *Button) SetText(pName string) int
- func (b *Button) SetTextAlign(nFlags xcc.TextFormatFlag_) int
- func (b *Button) SetTypeEx(nType xcc.XC_OBJECT_TYPE_EX) int
- type ComboBox
- func (c *ComboBox) AddItemImage(hImage int) int
- func (c *ComboBox) AddItemImageEx(pName string, hImage int) int
- func (c *ComboBox) AddItemText(pText string) int
- func (c *ComboBox) AddItemTextEx(pName string, pText string) int
- func (c *ComboBox) BindAdapter(hAdapter int) int
- func (c *ComboBox) CreateAdapter() int
- func (c *ComboBox) DeleteColumnAll() int
- func (c *ComboBox) DeleteItem(iItem int) bool
- func (c *ComboBox) DeleteItemAll() int
- func (c *ComboBox) DeleteItemEx(iItem int, nCount int) bool
- func (c *ComboBox) EnableDrawButton(bEnable bool) int
- func (c *ComboBox) EnableDropHeightFixed(bEnable bool) int
- func (c *ComboBox) EnableEdit(bEdit bool) int
- func (c *ComboBox) Event_COMBOBOX_EXIT_LIST(pFun XE_COMBOBOX_EXIT_LIST) bool
- func (c *ComboBox) Event_COMBOBOX_EXIT_LIST1(pFun XE_COMBOBOX_EXIT_LIST1) bool
- func (c *ComboBox) Event_COMBOBOX_POPUP_LIST(pFun XE_COMBOBOX_POPUP_LIST) bool
- func (c *ComboBox) Event_COMBOBOX_POPUP_LIST1(pFun XE_COMBOBOX_POPUP_LIST1) bool
- func (c *ComboBox) Event_COMBOBOX_SELECT(pFun XE_COMBOBOX_SELECT) bool
- func (c *ComboBox) Event_COMBOBOX_SELECT1(pFun XE_COMBOBOX_SELECT1) bool
- func (c *ComboBox) Event_ComboBox_Select_End(pFun XE_COMBOBOX_SELECT_END) bool
- func (c *ComboBox) Event_ComboBox_Select_End1(pFun XE_COMBOBOX_SELECT_END1) bool
- func (c *ComboBox) GetAdapter() int
- func (c *ComboBox) GetButtonRect(pRect *xc.RECT) int
- func (c *ComboBox) GetCount() int
- func (c *ComboBox) GetCountColumn() int
- func (c *ComboBox) GetDropHeight() int
- func (c *ComboBox) GetItemFloat(iItem int, iColumn int, pOutValue *float32) bool
- func (c *ComboBox) GetItemFloatEx(iItem int, pName string, pOutValue *float32) bool
- func (c *ComboBox) GetItemImage(iItem int, iColumn int) int
- func (c *ComboBox) GetItemImageEx(iItem int, pName string) int
- func (c *ComboBox) GetItemInt(iItem int, iColumn int, pOutValue *int) bool
- func (c *ComboBox) GetItemIntEx(iItem int, pName string, pOutValue *int) bool
- func (c *ComboBox) GetItemText(iItem int, iColumn int) string
- func (c *ComboBox) GetItemTextEx(iItem int, pName string) string
- func (c *ComboBox) GetSelItem() int
- func (c *ComboBox) GetState() xcc.ComboBox_State_
- func (c *ComboBox) InsertItemImage(iItem int, hImage int) int
- func (c *ComboBox) InsertItemImageEx(iItem int, pName string, hImage int) int
- func (c *ComboBox) InsertItemText(iItem int, pText string) int
- func (c *ComboBox) InsertItemTextEx(iItem int, pName string, pText string) int
- func (c *ComboBox) PopupDropList() int
- func (c *ComboBox) SetBindName(pName string) int
- func (c *ComboBox) SetButtonSize(size int) int
- func (c *ComboBox) SetDropHeight(height int) int
- func (c *ComboBox) SetItemFloat(iItem int, iColumn int, fFloat float32) bool
- func (c *ComboBox) SetItemFloatEx(iItem int, pName string, fFloat float32) bool
- func (c *ComboBox) SetItemImage(iItem int, iColumn int, hImage int) bool
- func (c *ComboBox) SetItemImageEx(iItem int, pName string, hImage int) bool
- func (c *ComboBox) SetItemInt(iItem int, iColumn int, nValue int) bool
- func (c *ComboBox) SetItemIntEx(iItem int, pName string, nValue int) bool
- func (c *ComboBox) SetItemTemplate(hTemp int) int
- func (c *ComboBox) SetItemTemplateXML(pXmlFile string) int
- func (c *ComboBox) SetItemTemplateXMLFromString(pStringXML string) int
- func (c *ComboBox) SetItemText(iItem int, iColumn int, pText string) bool
- func (c *ComboBox) SetItemTextEx(iItem int, pName string, pText string) bool
- func (c *ComboBox) SetSelItem(iIndex int) bool
- type DateTime
- func (d *DateTime) EnableSplitSlash(bSlash bool) int
- func (d *DateTime) Event_DATETIME_CHANGE(pFun XE_DATETIME_CHANGE) bool
- func (d *DateTime) Event_DATETIME_CHANGE1(pFun XE_DATETIME_CHANGE1) bool
- func (d *DateTime) Event_DATETIME_EXIT_MONTHCAL(pFun XE_DATETIME_EXIT_MONTHCAL) bool
- func (d *DateTime) Event_DATETIME_EXIT_MONTHCAL1(pFun XE_DATETIME_EXIT_MONTHCAL1) bool
- func (d *DateTime) Event_DATETIME_POPUP_MONTHCAL(pFun XE_DATETIME_POPUP_MONTHCAL) bool
- func (d *DateTime) Event_DATETIME_POPUP_MONTHCAL1(pFun XE_DATETIME_POPUP_MONTHCAL1) bool
- func (d *DateTime) GetButton(nType int) int
- func (d *DateTime) GetDate(pnYear *int, pnMonth *int, pnDay *int) int
- func (d *DateTime) GetSelBkColor() int
- func (d *DateTime) GetStyle() int
- func (d *DateTime) GetTime(pnHour *int, pnMinute *int, pnSecond *int) int
- func (d *DateTime) Popup() int
- func (d *DateTime) SetDate(nYear int, nMonth int, nDay int) int
- func (d *DateTime) SetSelBkColor(crSelectBk int) int
- func (d *DateTime) SetStyle(nStyle int) int
- func (d *DateTime) SetTime(nHour int, nMinute int, nSecond int) int
- type Edit
- func (e *Edit) AddByStyle(iStyle int) int
- func (e *Edit) AddChatBegin(hImageAvatar int, hImageBubble int, nFlag xcc.Chat_Flag_) int
- func (e *Edit) AddChatEnd() int
- func (e *Edit) AddData(pData *xc.Edit_Data_Copy_, styleTable []uint16, nStyleCount int) int
- func (e *Edit) AddObject(hObj int) int
- func (e *Edit) AddStyle(hFont_image_Obj int, color int, bColor bool) int
- func (e *Edit) AddStyleEx(fontName string, fontSize int, fontStyle xcc.FontStyle_, color int, ...) int
- func (e *Edit) AddText(pString string) int
- func (e *Edit) AddTextEx(pString string, iStyle int) int
- func (e *Edit) AddTextUser(pString string) int
- func (e *Edit) AutoScroll() bool
- func (e *Edit) AutoScrollEx(iRow int, iCol int) bool
- func (e *Edit) CancelSelect() bool
- func (e *Edit) ClipboardCopy() bool
- func (e *Edit) ClipboardCut() bool
- func (e *Edit) ClipboardPaste() bool
- func (e *Edit) Delete(iStartRow int, iStartCol int, iEndRow int, iEndCol int) bool
- func (e *Edit) DeleteRow(iRow int) bool
- func (e *Edit) DeleteSelect() bool
- func (e *Edit) EnableAutoCancelSel(bEnable bool) int
- func (e *Edit) EnableAutoSelAll(bEnable bool) int
- func (e *Edit) EnableAutoWrap(bEnable bool) int
- func (e *Edit) EnableMultiLine(bEnable bool) int
- func (e *Edit) EnablePassword(bEnable bool) int
- func (e *Edit) EnableReadOnly(bEnable bool) int
- func (e *Edit) Event_EDIT_CHANGED(pFun XE_EDIT_CHANGED) bool
- func (e *Edit) Event_EDIT_CHANGED1(pFun XE_EDIT_CHANGED1) bool
- func (e *Edit) Event_EDIT_DRAWROW(pFun XE_EDIT_DRAWROW) bool
- func (e *Edit) Event_EDIT_DRAWROW1(pFun XE_EDIT_DRAWROW1) bool
- func (e *Edit) Event_EDIT_ENTER_GET_TABALIGN(pFun XE_EDIT_ENTER_GET_TABALIGN) bool
- func (e *Edit) Event_EDIT_ENTER_GET_TABALIGN1(pFun XE_EDIT_ENTER_GET_TABALIGN1) bool
- func (e *Edit) Event_EDIT_POS_CHANGED(pFun XE_EDIT_POS_CHANGED) bool
- func (e *Edit) Event_EDIT_POS_CHANGED1(pFun XE_EDIT_POS_CHANGED1) bool
- func (e *Edit) Event_EDIT_ROW_CHANGED(pFun XE_EDIT_ROW_CHANGED) bool
- func (e *Edit) Event_EDIT_ROW_CHANGED1(pFun XE_EDIT_ROW_CHANGED1) bool
- func (e *Edit) Event_EDIT_SET(pFun XE_EDIT_SET) bool
- func (e *Edit) Event_EDIT_SET1(pFun XE_EDIT_SET1) bool
- func (e *Edit) Event_EDIT_STYLE_CHANGED(pFun XE_EDIT_STYLE_CHANGED) bool
- func (e *Edit) Event_EDIT_STYLE_CHANGED1(pFun XE_EDIT_STYLE_CHANGED1) bool
- func (e *Edit) FreeData(pData *xc.Edit_Data_Copy_) int
- func (e *Edit) GetAt(iRow int, iCol int) int
- func (e *Edit) GetCurCol() int
- func (e *Edit) GetCurPos() int
- func (e *Edit) GetCurPosEx(iRow *int, iCol *int) int
- func (e *Edit) GetCurRow() int
- func (e *Edit) GetData() xc.Edit_Data_Copy_
- func (Editor *Edit) GetExpandState() string
- func (Editor *Edit) GetIndentation(iRow int) int
- func (e *Edit) GetLength() int
- func (e *Edit) GetLengthRow(iRow int) int
- func (e *Edit) GetPoint(iRow int, iCol int, pOut *xc.POINT) int
- func (e *Edit) GetRowCount() int
- func (e *Edit) GetSelectRange(pBegin *xc.Position_, pEnd *xc.Position_) bool
- func (e *Edit) GetSelectText(pOut *string, nOutLen int) int
- func (e *Edit) GetSelectTextLength() int
- func (e *Edit) GetStyleInfo(iStyle int, info *xc.Edit_Style_Info_) bool
- func (e *Edit) GetText(pOut *string, nOutlen int) int
- func (e *Edit) GetTextRow(iRow int, pOut *string, nOutlen int) int
- func (e *Edit) GetVisibleRowRange(piStart *int, piEnd *int) int
- func (e *Edit) InsertText(iRow int, iCol int, pString string) int
- func (e *Edit) IsAutoWrap() bool
- func (e *Edit) IsEmpty() bool
- func (Editor *Edit) IsEmptyRow(iRow int) int
- func (e *Edit) IsInSelect(iRow int, iCol int) bool
- func (e *Edit) IsMultiLine() bool
- func (e *Edit) IsPassword() bool
- func (e *Edit) IsReadOnly() bool
- func (e *Edit) ModifyStyle(iStyle int, hFont int, color int, bColor bool) bool
- func (e *Edit) MoveEnd() int
- func (e *Edit) PosToRowCol(iPos int, pInfo *xc.Position_) int
- func (e *Edit) Redo() bool
- func (e *Edit) ReleaseStyle(iStyle int) bool
- func (e *Edit) RowColToPos(iRow int, iCol int) int
- func (e *Edit) SelectAll() bool
- func (e *Edit) SetBackFont(hFont int) int
- func (e *Edit) SetCaretColor(color int) int
- func (e *Edit) SetCaretWidth(nWidth int) int
- func (e *Edit) SetCharSpaceSize(size int, sizeZh int) int
- func (e *Edit) SetChatIndentation(nIndentation int) int
- func (e *Edit) SetCurPos(iRow int) int
- func (e *Edit) SetCurPosEx(iRow int, iCol int) int
- func (e *Edit) SetCurStyle(iStyle int) int
- func (e *Edit) SetDefaultText(pString string) int
- func (e *Edit) SetDefaultTextColor(color int) int
- func (Editor *Edit) SetExpandState(pString string) int
- func (e *Edit) SetPasswordCharacter(ch int) int
- func (e *Edit) SetRowHeight(nHeight int) int
- func (e *Edit) SetRowHeightEx(iRow int, nHeight int) int
- func (e *Edit) SetRowSpace(nSpace int) int
- func (e *Edit) SetSelect(iStartRow int, iStartCol int, iEndRow int, iEndCol int) bool
- func (e *Edit) SetSelectBkColor(color int) int
- func (e *Edit) SetSelectTextStyle(iStyle int) int
- func (e *Edit) SetSpaceSize(size int) int
- func (e *Edit) SetTabSpace(nSpace int) int
- func (e *Edit) SetText(pString string) int
- func (e *Edit) SetTextAlign(align xcc.Edit_TextAlign_Flag_) int
- func (e *Edit) SetTextInt(nValue int) int
- func (e *Edit) Undo() bool
- type Editor
- func (e *Editor) AddConst(pKey string) int
- func (e *Editor) AddExcludeDefVarKeyword(pKeyword string) int
- func (e *Editor) AddFunction(pKey string) int
- func (e *Editor) AddKeyword(pKey string, iStyle int) int
- func (e *Editor) ClearBreakpoint() int
- func (e *Editor) EnableAutoMatchSpaseSelect(bEnable bool) int
- func (e *Editor) Event_EDITOR_AUTOMATCH_SELECT(pFun XE_EDITOR_AUTOMATCH_SELECT) bool
- func (e *Editor) Event_EDITOR_AUTOMATCH_SELECT1(pFun XE_EDITOR_AUTOMATCH_SELECT1) bool
- func (e *Editor) Event_EDITOR_MODIFY_ROWS(pFun XE_EDITOR_MODIFY_ROWS) bool
- func (e *Editor) Event_EDITOR_MODIFY_ROWS1(pFun XE_EDITOR_MODIFY_ROWS1) bool
- func (e *Editor) Event_EDITOR_REMOVEBREAKPOINT(pFun XE_EDITOR_REMOVEBREAKPOINT) bool
- func (e *Editor) Event_EDITOR_REMOVEBREAKPOINT1(pFun XE_EDITOR_REMOVEBREAKPOINT1) bool
- func (e *Editor) Event_EDITOR_SETBREAKPOINT(pFun XE_EDITOR_SETBREAKPOINT) bool
- func (e *Editor) Event_EDITOR_SETBREAKPOINT1(pFun XE_EDITOR_SETBREAKPOINT1) bool
- func (e *Editor) Expand(iRow int, bExpand bool) int
- func (e *Editor) ExpandAll(bExpand bool) int
- func (e *Editor) ExpandEx(iRow int) int
- func (e *Editor) GetBreakpointCount() int
- func (e *Editor) GetBreakpoints(aPoints *[]int32, nCount int) int
- func (e *Editor) GetColor(pInfo *xc.Editor_Color_) int
- func (e *Editor) GetDepth(iRow int) int
- func (e *Editor) IsBreakpoint(iRow int) bool
- func (e *Editor) RemoveBreakpoint(iRow int) bool
- func (e *Editor) SetBreakpoint(iRow int, bActivate bool) bool
- func (e *Editor) SetColor(pInfo *xc.Editor_Color_) int
- func (e *Editor) SetCurRow(iRow int) int
- func (e *Editor) SetRunRow(iRow int) bool
- func (e *Editor) SetStyleClass(iStyle int) int
- func (e *Editor) SetStyleComment(iStyle int) int
- func (e *Editor) SetStyleDataType(iStyle int) int
- func (e *Editor) SetStyleFunction(iStyle int) int
- func (e *Editor) SetStyleKeyword(iStyle int) int
- func (e *Editor) SetStyleMacro(iStyle int) int
- func (e *Editor) SetStyleNumber(iStyle int) int
- func (e *Editor) SetStyleString(iStyle int) int
- func (e *Editor) SetStyleVar(iStyle int) int
- func (e *Editor) ToExpandRow(iRow int) int
- type Element
- func (e *Element) AddBkBorder(nState xcc.CombinedState, color int, width int) int
- func (e *Element) AddBkFill(nState xcc.CombinedState, color int) int
- func (e *Element) AddBkImage(nState xcc.CombinedState, hImage int) int
- func (e *Element) AddChild(hChild int) bool
- func (e *Element) AdjustLayout(nAdjustNo uint32) int
- func (e *Element) AdjustLayoutEx(nFlags xcc.AdjustLayout_, nAdjustNo uint32) int
- func (e *Element) ClearBkInfo() int
- func (e *Element) Destroy() int
- func (e *Element) DrawEle(hDraw int) int
- func (e *Element) DrawFocus(hDraw int, pRect *xc.RECT) bool
- func (e *Element) Enable(bEnable bool) int
- func (e *Element) EnableBkTransparent(bEnable bool) int
- func (e *Element) EnableCanvas(bEnable bool) int
- func (e *Element) EnableDrawBorder(bEnable bool) int
- func (e *Element) EnableDrawFocus(bEnable bool) int
- func (e *Element) EnableEvent_XE_MOUSEWHEEL(bEnable bool) int
- func (e *Element) EnableEvent_XE_PAINT_END(bEnable bool) int
- func (e *Element) EnableFocus(bEnable bool) int
- func (e *Element) EnableKeyTab(bEnable bool) int
- func (e *Element) EnableMouseThrough(bEnable bool) int
- func (e *Element) EnableSwitchFocus(bEnable bool) int
- func (e *Element) EnableTopmost(bTopmost bool) bool
- func (e *Element) EnableTransparentChannel(bEnable bool) int
- func (e *Element) Event_ADJUSTLAYOUT(pFun XE_ADJUSTLAYOUT) bool
- func (e *Element) Event_ADJUSTLAYOUT1(pFun XE_ADJUSTLAYOUT1) bool
- func (e *Element) Event_ADJUSTLAYOUT_END(pFun XE_ADJUSTLAYOUT_END) bool
- func (e *Element) Event_ADJUSTLAYOUT_END1(pFun XE_ADJUSTLAYOUT_END1) bool
- func (e *Element) Event_CHAR(pFun XE_CHAR) bool
- func (e *Element) Event_CHAR1(pFun XE_CHAR1) bool
- func (e *Element) Event_DESTROY(pFun XE_DESTROY) bool
- func (e *Element) Event_DESTROY1(pFun XE_DESTROY1) bool
- func (e *Element) Event_DESTROY_END(pFun XE_DESTROY_END) bool
- func (e *Element) Event_DESTROY_END1(pFun XE_DESTROY_END1) bool
- func (e *Element) Event_DROPFILES(pFun XE_DROPFILES) bool
- func (e *Element) Event_DROPFILES1(pFun XE_DROPFILES1) bool
- func (e *Element) Event_ELEPROCE(pFun XE_ELEPROCE) bool
- func (e *Element) Event_ELEPROCE1(pFun XE_ELEPROCE1) bool
- func (e *Element) Event_KEYDOWN(pFun XE_KEYDOWN) bool
- func (e *Element) Event_KEYDOWN1(pFun XE_KEYDOWN1) bool
- func (e *Element) Event_KEYUP(pFun XE_KEYUP) bool
- func (e *Element) Event_KEYUP1(pFun XE_KEYUP1) bool
- func (e *Element) Event_KILLCAPTURE(pFun XE_KILLCAPTURE) bool
- func (e *Element) Event_KILLCAPTURE1(pFun XE_KILLCAPTURE1) bool
- func (e *Element) Event_KILLFOCUS(pFun XE_KILLFOCUS) bool
- func (e *Element) Event_KILLFOCUS1(pFun XE_KILLFOCUS1) bool
- func (e *Element) Event_LBUTTONDBCLICK(pFun XE_LBUTTONDBCLICK) bool
- func (e *Element) Event_LBUTTONDBCLICK1(pFun XE_LBUTTONDBCLICK1) bool
- func (e *Element) Event_LBUTTONDOWN(pFun XE_LBUTTONDOWN) bool
- func (e *Element) Event_LBUTTONDOWN1(pFun XE_LBUTTONDOWN1) bool
- func (e *Element) Event_LBUTTONUP(pFun XE_LBUTTONUP) bool
- func (e *Element) Event_LBUTTONUP1(pFun XE_LBUTTONUP1) bool
- func (e *Element) Event_MENU_DRAWITEM(pFun XE_MENU_DRAWITEM) bool
- func (e *Element) Event_MENU_DRAW_BACKGROUND(pFun XE_MENU_DRAW_BACKGROUND) bool
- func (e *Element) Event_MENU_EXIT(pFun XE_MENU_EXIT) bool
- func (e *Element) Event_MENU_POPUP(pFun XE_MENU_POPUP) bool
- func (e *Element) Event_MENU_POPUP_WND(pFun XE_MENU_POPUP_WND) bool
- func (e *Element) Event_MENU_SELECT(pFun XE_MENU_SELECT) bool
- func (e *Element) Event_MOUSEHOVER(pFun XE_MOUSEHOVER) bool
- func (e *Element) Event_MOUSEHOVER1(pFun XE_MOUSEHOVER1) bool
- func (e *Element) Event_MOUSELEAVE(pFun XE_MOUSELEAVE) bool
- func (e *Element) Event_MOUSELEAVE1(pFun XE_MOUSELEAVE1) bool
- func (e *Element) Event_MOUSEMOVE(pFun XE_MOUSEMOVE) bool
- func (e *Element) Event_MOUSEMOVE1(pFun XE_MOUSEMOVE1) bool
- func (e *Element) Event_MOUSESTAY(pFun XE_MOUSESTAY) bool
- func (e *Element) Event_MOUSESTAY1(pFun XE_MOUSESTAY1) bool
- func (e *Element) Event_MOUSEWHEEL(pFun XE_MOUSEWHEEL) bool
- func (e *Element) Event_MOUSEWHEEL1(pFun XE_MOUSEWHEEL1) bool
- func (e *Element) Event_PAINT(pFun XE_PAINT) bool
- func (e *Element) Event_PAINT1(pFun XE_PAINT1) bool
- func (e *Element) Event_PAINT_END(pFun XE_PAINT_END) bool
- func (e *Element) Event_PAINT_END1(pFun XE_PAINT_END1) bool
- func (e *Element) Event_PAINT_SCROLLVIEW(pFun XE_PAINT_SCROLLVIEW) bool
- func (e *Element) Event_PAINT_SCROLLVIEW1(pFun XE_PAINT_SCROLLVIEW1) bool
- func (e *Element) Event_RBUTTONDOWN(pFun XE_RBUTTONDOWN) bool
- func (e *Element) Event_RBUTTONDOWN1(pFun XE_RBUTTONDOWN1) bool
- func (e *Element) Event_RBUTTONUP(pFun XE_RBUTTONUP) bool
- func (e *Element) Event_RBUTTONUP1(pFun XE_RBUTTONUP1) bool
- func (e *Element) Event_SETCAPTURE(pFun XE_SETCAPTURE) bool
- func (e *Element) Event_SETCAPTURE1(pFun XE_SETCAPTURE1) bool
- func (e *Element) Event_SETCURSOR(pFun XE_SETCURSOR) bool
- func (e *Element) Event_SETCURSOR1(pFun XE_SETCURSOR1) bool
- func (e *Element) Event_SETFOCUS(pFun XE_SETFOCUS) bool
- func (e *Element) Event_SETFOCUS1(pFun XE_SETFOCUS1) bool
- func (e *Element) Event_SETFONT(pFun XE_SETFONT) bool
- func (e *Element) Event_SETFONT1(pFun XE_SETFONT1) bool
- func (e *Element) Event_SHOW(pFun XE_SHOW) bool
- func (e *Element) Event_SHOW1(pFun XE_SHOW1) bool
- func (e *Element) Event_SIZE(pFun XE_SIZE) bool
- func (e *Element) Event_SIZE1(pFun XE_SIZE1) bool
- func (e *Element) Event_XC_TIMER(pFun XE_XC_TIMER) bool
- func (e *Element) Event_XC_TIMER1(pFun XE_XC_TIMER1) bool
- func (e *Element) GetAlpha() byte
- func (e *Element) GetBkInfoCount() int
- func (e *Element) GetBkManager() int
- func (e *Element) GetBkManagerEx() int
- func (e *Element) GetBorderSize(pBorder *xc.RECT) int
- func (e *Element) GetChildByID(nID int) int
- func (e *Element) GetChildByIndex(index int) int
- func (e *Element) GetChildCount() int
- func (e *Element) GetClientRect(pRect *xc.RECT) int
- func (e *Element) GetContentSize(bHorizon bool, cx int, cy int, pSize *xc.SIZE) int
- func (e *Element) GetCursor() int
- func (e *Element) GetFocusBorderColor() int
- func (e *Element) GetFont() int
- func (e *Element) GetFontEx() int
- func (e *Element) GetHeight() int
- func (e *Element) GetPadding(pPadding *xc.RECT) int
- func (e *Element) GetPosition(pOutX *int, pOutY *int) int
- func (e *Element) GetRect(pRect *xc.RECT) int
- func (e *Element) GetRectLogic(pRect *xc.RECT) int
- func (e *Element) GetSize(pOutWidth *int, pOutHeight *int) int
- func (e *Element) GetStateFlags() xcc.CombinedState
- func (e *Element) GetTextColor() int
- func (e *Element) GetTextColorEx() int
- func (e *Element) GetToolTip() int
- func (e *Element) GetUserData() int
- func (e *Element) GetWidth() int
- func (e *Element) GetWndClientRect(pRect *xc.RECT) int
- func (e *Element) GetZOrder() int
- func (e *Element) HitChildEle(pPt *xc.POINT) int
- func (e *Element) InsertChild(hChild int, index int) bool
- func (e *Element) IsBkTransparent() bool
- func (e *Element) IsChildEle(hChildEle int) bool
- func (e *Element) IsDrawFocus() bool
- func (e *Element) IsEnable() bool
- func (e *Element) IsEnableCanvas() bool
- func (e *Element) IsEnableEvent_XE_PAINT_END() bool
- func (e *Element) IsEnableFocus() bool
- func (e *Element) IsEnable_XE_MOUSEWHEEL() bool
- func (e *Element) IsFocus() bool
- func (e *Element) IsFocusEx() bool
- func (e *Element) IsKeyTab() bool
- func (e *Element) IsMouseThrough() bool
- func (e *Element) IsSwitchFocus() bool
- func (e *Element) KillXCTimer(nIDEvent int) bool
- func (e *Element) PointClientToWndClient(pPt *xc.POINT) int
- func (e *Element) PointWndClientToEleClient(pPt *xc.POINT) int
- func (e *Element) PopupToolTip(x int, y int) int
- func (e *Element) PostEvent(nEvent xcc.XE_, wParam int, lParam int) int
- func (e *Element) RectClientToWndClient(pRect *xc.RECT) int
- func (e *Element) RectWndClientToEleClient(pRect *xc.RECT) int
- func (e *Element) Redraw(bImmediate bool) int
- func (e *Element) RedrawRect(pRect *xc.RECT, bImmediate bool) int
- func (e *Element) RegEventC(nEvent xcc.XE_, pFun interface{}) bool
- func (e *Element) RegEventC1(nEvent xcc.XE_, pFun interface{}) bool
- func (e *Element) Remove() int
- func (e *Element) RemoveEventC(nEvent xcc.XE_, pFun interface{}) bool
- func (e *Element) SendEvent(nEvent xcc.XE_, wParam int, lParam int) int
- func (e *Element) SetAlpha(alpha uint8) int
- func (e *Element) SetBkInfo(pText string) int
- func (e *Element) SetBkManager(hBkInfoM int) int
- func (e *Element) SetBorderSize(left int, top int, right int, bottom int) int
- func (e *Element) SetCapture(b bool) int
- func (e *Element) SetCursor(hCursor int) int
- func (e *Element) SetDragBorder(nFlags xcc.Element_Position_) int
- func (e *Element) SetDragBorderBindEle(nFlags xcc.Element_Position_, hBindEle int, nSpace int) int
- func (e *Element) SetFocusBorderColor(color int) int
- func (e *Element) SetFont(hFontx int) int
- func (e *Element) SetHeight(nHeight int) int
- func (e *Element) SetLockScroll(bHorizon bool, bVertical bool) int
- func (e *Element) SetMaxSize(nWidth int, nHeight int) int
- func (e *Element) SetMinSize(nWidth int, nHeight int) int
- func (e *Element) SetPadding(left int, top int, right int, bottom int) int
- func (e *Element) SetPosition(x int, y int, bRedraw bool, nFlags xcc.AdjustLayout_, nAdjustNo uint32) int
- func (e *Element) SetPositionLogic(x int, y int, bRedraw bool, nFlags xcc.AdjustLayout_, nAdjustNo uint32) int
- func (e *Element) SetRect(pRect *xc.RECT, bRedraw bool, nFlags xcc.AdjustLayout_, nAdjustNo uint32) int
- func (e *Element) SetRectEx(x int, y int, cx int, cy int, bRedraw bool, nFlags xcc.AdjustLayout_, ...) int
- func (e *Element) SetRectLogic(pRect *xc.RECT, bRedraw bool, nFlags xcc.AdjustLayout_, nAdjustNo uint32) int
- func (e *Element) SetSize(nWidth int, nHeight int, bRedraw bool, nFlags xcc.AdjustLayout_, ...) int
- func (e *Element) SetTextColor(color int) int
- func (e *Element) SetToolTip(pText string) int
- func (e *Element) SetToolTipEx(pText string, nTextAlign xcc.TextFormatFlag_) int
- func (e *Element) SetUserData(nData int) int
- func (e *Element) SetWidth(nWidth int) int
- func (e *Element) SetXCTimer(nIDEvent int, uElapse int) bool
- func (e *Element) SetZOrder(index int) bool
- func (e *Element) SetZOrderEx(hDestEle int, nType xcc.Zorder_) bool
- type LayoutEle
- func NewLayoutEle(x int, y int, cx int, cy int, hParent int) *LayoutEle
- func NewLayoutEleByHandle(handle int) *LayoutEle
- func NewLayoutEleByLayout(pFileName string, hParent int, hAttachWnd int) *LayoutEle
- func NewLayoutEleByLayoutZip(pZipFileName string, pFileName string, pPassword string, hParent int, ...) *LayoutEle
- func NewLayoutEleByLayoutZipMem(data []byte, pFileName string, pPassword string, hParent int, hAttachWnd int) *LayoutEle
- func NewLayoutEleByName(name string) *LayoutEle
- func NewLayoutEleByStringW(pStringXML string, hParent int, hAttachWnd int) *LayoutEle
- func NewLayoutEleByUID(nUID int) *LayoutEle
- func NewLayoutEleByUIDName(name string) *LayoutEle
- func NewLayoutEleEx(hParent int) *LayoutEle
- func (l *LayoutEle) EnableAutoWrap(bEnable bool) int
- func (l *LayoutEle) EnableHorizon(bEnable bool) int
- func (l *LayoutEle) EnableLayout(bEnable bool) int
- func (l *LayoutEle) EnableOverflowHide(bEnable bool) int
- func (l *LayoutEle) GetHeightIn() int
- func (l *LayoutEle) GetWidthIn() int
- func (l *LayoutEle) IsEnableLayout() bool
- func (l *LayoutEle) SetAlignBaseline(nAlign xcc.Layout_Align_Axis_) int
- func (l *LayoutEle) SetAlignH(nAlign xcc.Layout_Align_) int
- func (l *LayoutEle) SetAlignV(nAlign xcc.Layout_Align_) int
- func (l *LayoutEle) SetSpace(nSpace int) int
- func (l *LayoutEle) SetSpaceRow(nSpace int) int
- func (l *LayoutEle) ShowLayoutFrame(bEnable bool) int
- type LayoutFrame
- func (l *LayoutFrame) EnableAutoWrap(bEnable bool) int
- func (l *LayoutFrame) EnableHorizon(bEnable bool) int
- func (l *LayoutFrame) EnableOverflowHide(bEnable bool) int
- func (l *LayoutFrame) SetAlignBaseline(nAlign xcc.Layout_Align_Axis_) int
- func (l *LayoutFrame) SetAlignH(nAlign xcc.Layout_Align_) int
- func (l *LayoutFrame) SetAlignV(nAlign xcc.Layout_Align_) int
- func (l *LayoutFrame) SetSpace(nSpace int) int
- func (l *LayoutFrame) SetSpaceRow(nSpace int) int
- func (l *LayoutFrame) ShowLayoutFrame(bEnable bool) int
- type List
- func (l *List) AddColumn(width int) int
- func (l *List) AddColumnImage(nWidth int, pName string, hImage int) int
- func (l *List) AddColumnText(nWidth int, pName string, pText string) int
- func (l *List) AddItemImage(hImage int) int
- func (l *List) AddItemImageEx(pName string, hImage int) int
- func (l *List) AddItemText(pText string) int
- func (l *List) AddItemTextEx(pName string, pText string) int
- func (l *List) AddSelectItem(iItem int) bool
- func (l *List) BindAdapter(hAdapter int) int
- func (l *List) BindAdapterHeader(hAdapter int) int
- func (l *List) CancelSelectAll() int
- func (l *List) CancelSelectItem(iItem int) bool
- func (l *List) CreateAdapter() int
- func (l *List) CreateAdapterHeader() int
- func (l *List) DeleteColumn(iItem int) bool
- func (l *List) DeleteColumnAll() int
- func (l *List) DeleteColumnAll_AD() int
- func (l *List) DeleteItem(iItem int) bool
- func (l *List) DeleteItemAll() int
- func (l *List) DeleteItemEx(iItem int, nCount int) bool
- func (l *List) EnableDragChangeColumnWidth(bEnable bool) int
- func (l *List) EnableFixedRowHeight(bEnable bool) int
- func (l *List) EnableItemBkFullRow(bFull bool) int
- func (l *List) EnableMultiSel(bEnable bool) int
- func (l *List) EnableVScrollBarTop(bTop bool) int
- func (l *List) EnableVirtualTable(bEnable bool) int
- func (l *List) EnablemTemplateReuse(bEnable bool) int
- func (l *List) Event_LIST_DRAWITEM(pFun XE_LIST_DRAWITEM) bool
- func (l *List) Event_LIST_DRAWITEM1(pFun XE_LIST_DRAWITEM1) bool
- func (l *List) Event_LIST_HEADER_CLICK(pFun XE_LIST_HEADER_CLICK) bool
- func (l *List) Event_LIST_HEADER_CLICK1(pFun XE_LIST_HEADER_CLICK1) bool
- func (l *List) Event_LIST_HEADER_DRAWITEM(pFun XE_LIST_HEADER_DRAWITEM) bool
- func (l *List) Event_LIST_HEADER_DRAWITEM1(pFun XE_LIST_HEADER_DRAWITEM1) bool
- func (l *List) Event_LIST_HEADER_TEMP_ADJUST_COORDINATE(pFun XE_LIST_HEADER_TEMP_ADJUST_COORDINATE) bool
- func (l *List) Event_LIST_HEADER_TEMP_ADJUST_COORDINATE1(pFun XE_LIST_HEADER_TEMP_ADJUST_COORDINATE1) bool
- func (l *List) Event_LIST_HEADER_TEMP_CREATE(pFun XE_LIST_HEADER_TEMP_CREATE) bool
- func (l *List) Event_LIST_HEADER_TEMP_CREATE1(pFun XE_LIST_HEADER_TEMP_CREATE1) bool
- func (l *List) Event_LIST_HEADER_TEMP_CREATE_END(pFun XE_LIST_HEADER_TEMP_CREATE_END) bool
- func (l *List) Event_LIST_HEADER_TEMP_CREATE_END1(pFun XE_LIST_HEADER_TEMP_CREATE_END1) bool
- func (l *List) Event_LIST_HEADER_TEMP_DESTROY(pFun XE_LIST_HEADER_TEMP_DESTROY) bool
- func (l *List) Event_LIST_HEADER_TEMP_DESTROY1(pFun XE_LIST_HEADER_TEMP_DESTROY1) bool
- func (l *List) Event_LIST_HEADER_WIDTH_CHANGE(pFun XE_LIST_HEADER_WIDTH_CHANGE) bool
- func (l *List) Event_LIST_HEADER_WIDTH_CHANGE1(pFun XE_LIST_HEADER_WIDTH_CHANGE1) bool
- func (l *List) Event_LIST_SELECT(pFun XE_LIST_SELECT) bool
- func (l *List) Event_LIST_SELECT1(pFun XE_LIST_SELECT1) bool
- func (l *List) Event_LIST_TEMP_ADJUST_COORDINATE(pFun XE_LIST_TEMP_ADJUST_COORDINATE) bool
- func (l *List) Event_LIST_TEMP_ADJUST_COORDINATE1(pFun XE_LIST_TEMP_ADJUST_COORDINATE1) bool
- func (l *List) Event_LIST_TEMP_CREATE(pFun XE_LIST_TEMP_CREATE) bool
- func (l *List) Event_LIST_TEMP_CREATE1(pFun XE_LIST_TEMP_CREATE1) bool
- func (l *List) Event_LIST_TEMP_CREATE_END(pFun XE_LIST_TEMP_CREATE_END) bool
- func (l *List) Event_LIST_TEMP_CREATE_END1(pFun XE_LIST_TEMP_CREATE_END1) bool
- func (l *List) Event_LIST_TEMP_DESTROY(pFun XE_LIST_TEMP_DESTROY) bool
- func (l *List) Event_LIST_TEMP_DESTROY1(pFun XE_LIST_TEMP_DESTROY1) bool
- func (l *List) GetAdapter() int
- func (l *List) GetAdapterHeader() int
- func (l *List) GetColumnCount() int
- func (l *List) GetColumnWidth(iColumn int) int
- func (l *List) GetCountColumn_AD() int
- func (l *List) GetCount_AD() int
- func (l *List) GetHeaderHELE() int
- func (l *List) GetHeaderHeight() int
- func (l *List) GetHeaderItemIndexFromHXCGUI(hXCGUI int) int
- func (l *List) GetHeaderTemplateObject(iItem int, nTempItemID int) int
- func (l *List) GetItemData(iItem int, iSubItem int) int
- func (l *List) GetItemFloat(iItem int, iColumn int, pOutValue *float32) bool
- func (l *List) GetItemFloatEx(iItem int, pName string, pOutValue *float32) bool
- func (l *List) GetItemHeight(iRow int, pHeight *int, pSelHeight *int) int
- func (l *List) GetItemHeightDefault(pHeight *int, pSelHeight *int) int
- func (l *List) GetItemImage(iItem int, iColumn int) int
- func (l *List) GetItemImageEx(iItem int, pName string) int
- func (l *List) GetItemIndexFromHXCGUI(hXCGUI int) int
- func (l *List) GetItemInt(iItem int, iColumn int, pOutValue *int) bool
- func (l *List) GetItemIntEx(iItem int, pName string, pOutValue *int) bool
- func (l *List) GetItemText(iItem int, iColumn int) string
- func (l *List) GetItemTextEx(iItem int, pName string) string
- func (l *List) GetRowSpace() int
- func (l *List) GetSelectAll(pArray *[]int32, nArraySize int) int
- func (l *List) GetSelectItem() int
- func (l *List) GetSelectItemCount() int
- func (l *List) GetTemplateObject(iItem int, iSubItem int, nTempItemID int) int
- func (l *List) GetVisibleRowRange(piStart *int, piEnd *int) int
- func (l *List) HitTest(pPt *xc.POINT, piItem *int, piSubItem *int) bool
- func (l *List) HitTestOffset(pPt *xc.POINT, piItem *int, piSubItem *int) bool
- func (l *List) InsertColumn(width int, iItem int) int
- func (l *List) InsertItemImage(iItem int, hImage int) int
- func (l *List) InsertItemImageEx(iItem int, pName string, hImage int) int
- func (l *List) InsertItemText(iItem int, pValue string) int
- func (l *List) InsertItemTextEx(iItem int, pName string, pValue string) int
- func (l *List) RefreshData() int
- func (l *List) RefreshItem(iItem int) int
- func (l *List) SetColumnMinWidth(iItem int, width int) int
- func (l *List) SetColumnWidth(iItem int, width int) int
- func (l *List) SetColumnWidthFixed(iColumn int, bFixed bool) int
- func (l *List) SetDrawItemBkFlags(nFlags xcc.List_DrawItemBk_Flag_) int
- func (l *List) SetHeaderHeight(height int) int
- func (l *List) SetItemData(iItem int, iSubItem int, data int) bool
- func (l *List) SetItemFloat(iItem int, iColumn int, fFloat float32) bool
- func (l *List) SetItemFloatEx(iItem int, pName string, fFloat float32) bool
- func (l *List) SetItemHeight(iRow int, nHeight int, nSelHeight int) int
- func (l *List) SetItemHeightDefault(nHeight int, nSelHeight int) int
- func (l *List) SetItemImage(iItem int, iColumn int, hImage int) bool
- func (l *List) SetItemImageEx(iItem int, pName string, hImage int) bool
- func (l *List) SetItemInt(iItem int, iColumn int, nValue int) bool
- func (l *List) SetItemIntEx(iItem int, pName string, nValue int) bool
- func (l *List) SetItemTemplate(hTemp int) bool
- func (l *List) SetItemTemplateXML(pXmlFile string) bool
- func (l *List) SetItemTemplateXMLFromString(pStringXML string) bool
- func (l *List) SetItemText(iItem int, iColumn int, pText string) bool
- func (l *List) SetItemTextEx(iItem int, pName string, pText string) bool
- func (l *List) SetLockColumnLeft(iColumn int) int
- func (l *List) SetLockColumnRight(iColumn int) int
- func (l *List) SetLockRowBottom(bLock bool) int
- func (l *List) SetLockRowBottomOverlap(bOverlap bool) int
- func (l *List) SetRowSpace(nSpace int) int
- func (l *List) SetSelectAll() int
- func (l *List) SetSelectItem(iItem int) bool
- func (l *List) SetSort(iColumn int, iColumnAdapter int, bEnable bool) int
- func (l *List) SetSplitLineColor(color int) int
- func (l *List) SetVirtualRowCount(nRowCount int) int
- func (l *List) VisibleItem(iItem int) int
- type ListBox
- func (l *ListBox) AddItemImage(hImage int) int
- func (l *ListBox) AddItemImageEx(pName string, hImage int) int
- func (l *ListBox) AddItemText(pText string) int
- func (l *ListBox) AddItemTextEx(pName string, pText string) int
- func (l *ListBox) AddSelectItem(iItem int) bool
- func (l *ListBox) BindAdapter(hAdapter int) int
- func (l *ListBox) CancelSelectAll() bool
- func (l *ListBox) CancelSelectItem(iItem int) bool
- func (l *ListBox) CreateAdapter() int
- func (l *ListBox) DeleteColumnAll() int
- func (l *ListBox) DeleteItem(iItem int) bool
- func (l *ListBox) DeleteItemAll() int
- func (l *ListBox) DeleteItemEx(iItem int, nCount int) bool
- func (l *ListBox) EnableFixedRowHeight(bEnable bool) int
- func (l *ListBox) EnableMultiSel(bEnable bool) int
- func (l *ListBox) EnableVirtualTable(bEnable bool) int
- func (l *ListBox) EnablemTemplateReuse(bEnable bool) int
- func (l *ListBox) Event_LISTBOX_DRAWITEM(pFun XE_LISTBOX_DRAWITEM) bool
- func (l *ListBox) Event_LISTBOX_DRAWITEM1(pFun XE_LISTBOX_DRAWITEM1) bool
- func (l *ListBox) Event_LISTBOX_SELECT(pFun XE_LISTBOX_SELECT) bool
- func (l *ListBox) Event_LISTBOX_SELECT1(pFun XE_LISTBOX_SELECT1) bool
- func (l *ListBox) Event_LISTBOX_TEMP_ADJUST_COORDINATE(pFun XE_LISTBOX_TEMP_ADJUST_COORDINATE) bool
- func (l *ListBox) Event_LISTBOX_TEMP_ADJUST_COORDINATE1(pFun XE_LISTBOX_TEMP_ADJUST_COORDINATE1) bool
- func (l *ListBox) Event_LISTBOX_TEMP_CREATE(pFun XE_LISTBOX_TEMP_CREATE) bool
- func (l *ListBox) Event_LISTBOX_TEMP_CREATE1(pFun XE_LISTBOX_TEMP_CREATE1) bool
- func (l *ListBox) Event_LISTBOX_TEMP_CREATE_END(pFun XE_LISTBOX_TEMP_CREATE_END) bool
- func (l *ListBox) Event_LISTBOX_TEMP_CREATE_END1(pFun XE_LISTBOX_TEMP_CREATE_END1) bool
- func (l *ListBox) Event_LISTBOX_TEMP_DESTROY(pFun XE_LISTBOX_TEMP_DESTROY) bool
- func (l *ListBox) Event_LISTBOX_TEMP_DESTROY1(pFun XE_LISTBOX_TEMP_DESTROY1) bool
- func (l *ListBox) GetAdapter() int
- func (l *ListBox) GetCountColumn_AD() int
- func (l *ListBox) GetCount_AD() int
- func (l *ListBox) GetItemData(iItem int) int
- func (l *ListBox) GetItemFloat(iItem int, iColumn int, pOutValue *float32) bool
- func (l *ListBox) GetItemFloatEx(iItem int, pName string, pOutValue *float32) bool
- func (l *ListBox) GetItemHeightDefault(pHeight *int, pSelHeight *int) int
- func (l *ListBox) GetItemImage(iItem int, iColumn int) int
- func (l *ListBox) GetItemImageEx(iItem int, pName string) int
- func (l *ListBox) GetItemIndexFromHXCGUI(hXCGUI int) int
- func (l *ListBox) GetItemInfo(iItem int, pItem *xc.ListBox_Item_Info_) bool
- func (l *ListBox) GetItemInt(iItem int, iColumn int, pOutValue *int) bool
- func (l *ListBox) GetItemIntEx(iItem int, pName string, pOutValue *int) bool
- func (l *ListBox) GetItemMouseStay() int
- func (l *ListBox) GetItemText(iItem int, iColumn int) string
- func (l *ListBox) GetItemTextEx(iItem int, pName string) string
- func (l *ListBox) GetRowSpace() int
- func (l *ListBox) GetSelectAll(pArray *[]int32, nArraySize int) int
- func (l *ListBox) GetSelectCount() int
- func (l *ListBox) GetSelectItem() int
- func (l *ListBox) GetTemplateObject(iItem int, nTempItemID int) int
- func (l *ListBox) GetVisibleRowRange(piStart *int, piEnd *int) int
- func (l *ListBox) HitTest(pPt *xc.POINT) int
- func (l *ListBox) HitTestOffset(pPt *xc.POINT) int
- func (l *ListBox) InsertItemImage(iItem int, hImage int) int
- func (l *ListBox) InsertItemImageEx(iItem int, pName string, hImage int) int
- func (l *ListBox) InsertItemText(iItem int, pValue string) int
- func (l *ListBox) InsertItemTextEx(iItem int, pName string, pValue string) int
- func (l *ListBox) RefreshData() int
- func (l *ListBox) RefreshItem(iItem int) int
- func (l *ListBox) SelectAll() bool
- func (l *ListBox) SetDrawItemBkFlags(nFlags xcc.List_DrawItemBk_Flag_) int
- func (l *ListBox) SetItemData(iItem int, nUserData int) bool
- func (l *ListBox) SetItemFloat(iItem int, iColumn int, fFloat float32) bool
- func (l *ListBox) SetItemFloatEx(iItem int, pName string, fFloat float32) bool
- func (l *ListBox) SetItemHeightDefault(nHeight int, nSelHeight int) int
- func (l *ListBox) SetItemImage(iItem int, iColumn int, hImage int) bool
- func (l *ListBox) SetItemImageEx(iItem int, pName string, hImage int) bool
- func (l *ListBox) SetItemInfo(iItem int, pItem *xc.ListBox_Item_Info_) bool
- func (l *ListBox) SetItemInt(iItem int, iColumn int, nValue int) bool
- func (l *ListBox) SetItemIntEx(iItem int, pName string, nValue int) bool
- func (l *ListBox) SetItemTemplate(hTemp int) bool
- func (l *ListBox) SetItemTemplateXML(pXmlFile string) bool
- func (l *ListBox) SetItemTemplateXMLFromString(pStringXML string) bool
- func (l *ListBox) SetItemText(iItem int, iColumn int, pText string) bool
- func (l *ListBox) SetItemTextEx(iItem int, pName string, pText string) bool
- func (l *ListBox) SetRowSpace(nSpace int) int
- func (l *ListBox) SetSelectItem(iItem int) bool
- func (l *ListBox) SetSplitLineColor(color int) int
- func (l *ListBox) SetVirtualRowCount(nRowCount int) int
- func (l *ListBox) Sort(iColumnAdapter int, bAscending bool) int
- func (l *ListBox) VisibleItem(iItem int) int
- type ListView
- func (l *ListView) AddSelectItem(iGroup int, iItem int) bool
- func (l *ListView) BindAdapter(hAdapter int) int
- func (l *ListView) CancelSelectAll() int
- func (l *ListView) CreateAdapter() int
- func (l *ListView) DeleteAll() int
- func (l *ListView) DeleteAllGroup() int
- func (l *ListView) DeleteAllItem() int
- func (l *ListView) DeleteColumnGroup(iColumn int) int
- func (l *ListView) DeleteColumnItem(iColumn int) int
- func (l *ListView) EnableMultiSel(bEnable bool) int
- func (l *ListView) EnableVirtualTable(bEnable bool) int
- func (l *ListView) EnablemTemplateReuse(bEnable bool) int
- func (l *ListView) Event_LISTVIEW_DRAWITEM(pFun XE_LISTVIEW_DRAWITEM) bool
- func (l *ListView) Event_LISTVIEW_DRAWITEM1(pFun XE_LISTVIEW_DRAWITEM1) bool
- func (l *ListView) Event_LISTVIEW_EXPAND(pFun XE_LISTVIEW_EXPAND) bool
- func (l *ListView) Event_LISTVIEW_EXPAND1(pFun XE_LISTVIEW_EXPAND1) bool
- func (l *ListView) Event_LISTVIEW_SELECT(pFun XE_LISTVIEW_SELECT) bool
- func (l *ListView) Event_LISTVIEW_SELECT1(pFun XE_LISTVIEW_SELECT1) bool
- func (l *ListView) Event_LISTVIEW_TEMP_ADJUST_COORDINATE(pFun XE_LISTVIEW_TEMP_ADJUST_COORDINATE) bool
- func (l *ListView) Event_LISTVIEW_TEMP_ADJUST_COORDINATE1(pFun XE_LISTVIEW_TEMP_ADJUST_COORDINATE1) bool
- func (l *ListView) Event_LISTVIEW_TEMP_CREATE(pFun XE_LISTVIEW_TEMP_CREATE) bool
- func (l *ListView) Event_LISTVIEW_TEMP_CREATE1(pFun XE_LISTVIEW_TEMP_CREATE1) bool
- func (l *ListView) Event_LISTVIEW_TEMP_CREATE_END(pFun XE_LISTVIEW_TEMP_CREATE_END) bool
- func (l *ListView) Event_LISTVIEW_TEMP_CREATE_END1(pFun XE_LISTVIEW_TEMP_CREATE_END1) bool
- func (l *ListView) Event_LISTVIEW_TEMP_DESTROY(pFun XE_LISTVIEW_TEMP_DESTROY) bool
- func (l *ListView) Event_LISTVIEW_TEMP_DESTROY1(pFun XE_LISTVIEW_TEMP_DESTROY1) bool
- func (l *ListView) ExpandGroup(iGroup int, bExpand bool) bool
- func (l *ListView) GetAdapter() int
- func (l *ListView) GetGroupHeight() int
- func (l *ListView) GetGroupUserData(iGroup int) int
- func (l *ListView) GetItemIDFromHXCGUI(hXCGUI int, piGroup *int, piItem *int) bool
- func (l *ListView) GetItemSize(pSize *xc.SIZE) int
- func (l *ListView) GetItemUserData(iGroup int, iItem int) int
- func (l *ListView) GetSelectAll(pArray int, nArraySize int) int
- func (l *ListView) GetSelectItem(piGroup *int, piItem *int) bool
- func (l *ListView) GetSelectItemCount() int
- func (l *ListView) GetTemplateObject(iGroup int, iItem int, nTempItemID int) int
- func (l *ListView) GetTemplateObjectGroup(iGroup int, nTempItemID int) int
- func (l *ListView) GetVisibleItemRange(piGroup1 *int, piGroup2 *int, piStartGroup *int, piStartItem *int, ...) int
- func (l *ListView) Group_AddColumn(pName string) int
- func (l *ListView) Group_AddItemImage(hImage int, iPos int) int
- func (l *ListView) Group_AddItemImageEx(pName string, hImage int, iPos int) int
- func (l *ListView) Group_AddItemText(pValue string, iPos int) int
- func (l *ListView) Group_AddItemTextEx(pName string, pValue string, iPos int) int
- func (l *ListView) Group_DeleteAllChildItem(iGroup int) int
- func (l *ListView) Group_DeleteItem(iGroup int) bool
- func (l *ListView) Group_GetCount() int
- func (l *ListView) Group_GetImage(iGroup int, iColumn int) int
- func (l *ListView) Group_GetImageEx(iGroup int, pName string) int
- func (l *ListView) Group_GetText(iGroup int, iColumn int) string
- func (l *ListView) Group_GetTextEx(iGroup int, pName string) string
- func (l *ListView) Group_SetImage(iGroup int, iColumn int, hImage int) bool
- func (l *ListView) Group_SetImageEx(iGroup int, pName string, hImage int) bool
- func (l *ListView) Group_SetText(iGroup int, iColumn int, pValue string) bool
- func (l *ListView) Group_SetTextEx(iGroup int, pName string, pValue string) bool
- func (l *ListView) HitTest(pPt *xc.POINT, pOutGroup *int, pOutItem *int) bool
- func (l *ListView) HitTestOffset(pPt *xc.POINT, pOutGroup *int, pOutItem *int) bool
- func (l *ListView) Item_AddColumn(pName string) int
- func (l *ListView) Item_AddItemImage(iGroup int, hImage int, iPos int) int
- func (l *ListView) Item_AddItemImageEx(iGroup int, pName string, hImage int, iPos int) int
- func (l *ListView) Item_AddItemText(iGroup int, pValue string, iPos int) int
- func (l *ListView) Item_AddItemTextEx(iGroup int, pName string, pValue string, iPos int) int
- func (l *ListView) Item_DeleteItem(iGroup int, iItem int) bool
- func (l *ListView) Item_GetCount(iGroup int) int
- func (l *ListView) Item_GetImage(iGroup int, iItem int, iColumn int) int
- func (l *ListView) Item_GetImageEx(iGroup int, iItem int, pName string) int
- func (l *ListView) Item_GetText(iGroup int, iItem int, iColumn int) string
- func (l *ListView) Item_GetTextEx(iGroup int, iItem int, pName string) string
- func (l *ListView) Item_SetImage(iGroup int, iItem int, iColumn int, hImage int) bool
- func (l *ListView) Item_SetImageEx(iGroup int, iItem int, pName string, hImage int) bool
- func (l *ListView) Item_SetText(iGroup int, iItem int, iColumn int, pValue string) bool
- func (l *ListView) Item_SetTextEx(iGroup int, iItem int, pName string, pValue string) bool
- func (l *ListView) RefreshData() int
- func (l *ListView) RefreshItem(iGroup int, iItem int) int
- func (l *ListView) SetColumnSpace(space int) int
- func (l *ListView) SetDrawItemBkFlags(nFlags xcc.List_DrawItemBk_Flag_) int
- func (l *ListView) SetGroupHeight(height int) int
- func (l *ListView) SetGroupUserData(iGroup int, nData int) int
- func (l *ListView) SetItemSize(width int, height int) int
- func (l *ListView) SetItemTemplate(hTemp int) bool
- func (l *ListView) SetItemTemplateXML(pXmlFile string) bool
- func (l *ListView) SetItemTemplateXMLFromString(pStringXML string) bool
- func (l *ListView) SetItemUserData(iGroup int, iItem int, nData int) int
- func (l *ListView) SetRowSpace(space int) int
- func (l *ListView) SetSelectAll() int
- func (l *ListView) SetSelectItem(iGroup int, iItem int) bool
- func (l *ListView) SetVirtualItemCount(iGroup int, nCount int) bool
- func (l *ListView) VisibleItem(iGroup int, iItem int) int
- type Menu
- func (m *Menu) AddItem(nID int, pText string, nParentID int, nFlags xcc.Menu_Item_Flag_) int
- func (m *Menu) AddItemIcon(nID int, pText string, nParentID int, hIcon int, nFlags xcc.Menu_Item_Flag_) int
- func (m *Menu) CloseMenu() int
- func (m *Menu) DestroyMenu() int
- func (m *Menu) EnableDrawBackground(bEnable bool) int
- func (m *Menu) EnableDrawItem(bEnable bool) int
- func (m *Menu) GetEndChildItem(nID int) int
- func (m *Menu) GetFirstChildItem(nID int) int
- func (m *Menu) GetItemCount() int
- func (m *Menu) GetItemHeight() int
- func (m *Menu) GetItemText(nID int) string
- func (m *Menu) GetItemTextLength(nID int) int
- func (m *Menu) GetLeftSpaceText() int
- func (m *Menu) GetLeftWidth() int
- func (m *Menu) GetNextSiblingItem(nID int) int
- func (m *Menu) GetParentItem(nID int) int
- func (m *Menu) GetPrevSiblingItem(nID int) int
- func (m *Menu) InsertItem(nID int, pText string, nFlags xcc.Menu_Item_Flag_, insertID int) int
- func (m *Menu) InsertItemIcon(nID int, pText string, hIcon int, nFlags xcc.Menu_Item_Flag_, insertID int) int
- func (m *Menu) IsItemCheck(nID int) bool
- func (m *Menu) Popup(hParentWnd int, x int, y int, hParentEle int, ...) bool
- func (m *Menu) SetAutoDestroy(bAuto bool) int
- func (m *Menu) SetBkImage(hImage int) int
- func (m *Menu) SetBorderColor(crColor int) int
- func (m *Menu) SetBorderSize(nLeft int, nTop int, nRight int, nBottom int) int
- func (m *Menu) SetItemCheck(nID int, bCheck bool) bool
- func (m *Menu) SetItemFlags(nID int, uFlags int) bool
- func (m *Menu) SetItemHeight(height int) int
- func (m *Menu) SetItemIcon(nID int, hIcon int) bool
- func (m *Menu) SetItemText(nID int, pText string) bool
- func (m *Menu) SetItemWidth(nID int, nWidth int) bool
- type MenuBar
- type MonthCal
- func (m *MonthCal) Event_MONTHCAL_CHANGE(pFun XE_MONTHCAL_CHANGE) bool
- func (m *MonthCal) Event_MONTHCAL_CHANGE1(pFun XE_MONTHCAL_CHANGE1) bool
- func (m *MonthCal) GetButton(nType int) int
- func (m *MonthCal) GetSelDate(pnYear *int, pnMonth *int, pnDay *int) int
- func (m *MonthCal) GetToday(pnYear *int, pnMonth *int, pnDay *int) int
- func (m *MonthCal) SetTextColor(nFlag int, color int) int
- func (m *MonthCal) SetToday(nYear int, nMonth int, nDay int) int
- type Pane
- func (p *Pane) DockPane() int
- func (p *Pane) DrawPane(hDraw int) int
- func (p *Pane) FloatPane() int
- func (p *Pane) GetCaptionHeight() int
- func (p *Pane) GetState() xcc.Pane_State_
- func (p *Pane) GetTitle() string
- func (p *Pane) GetViewRect(pRect *xc.RECT) int
- func (p *Pane) HidePane(bGroupActivate bool) int
- func (p *Pane) IsGroupActivate() bool
- func (p *Pane) IsShowPane() bool
- func (p *Pane) LockPane() int
- func (p *Pane) SetCaptionHeight(nHeight int) int
- func (p *Pane) SetSelect() bool
- func (p *Pane) SetSize(nWidth int, nHeight int) int
- func (p *Pane) SetTitle(pTitle string) int
- func (p *Pane) SetView(hView int) int
- func (p *Pane) ShowPane(bGroupActivate bool) int
- type ProgressBar
- func (p *ProgressBar) EnableHorizon(bHorizon bool) int
- func (p *ProgressBar) EnableShowText(bShow bool) bool
- func (p *ProgressBar) EnableStretch(bStretch bool) bool
- func (p *ProgressBar) Event_PROGRESSBAR_CHANGE(pFun XE_PROGRESSBAR_CHANGE) bool
- func (p *ProgressBar) Event_PROGRESSBAR_CHANGE1(pFun XE_PROGRESSBAR_CHANGE1) bool
- func (p *ProgressBar) GetPos() int
- func (p *ProgressBar) GetRange() int
- func (p *ProgressBar) SetImageLoad(hImage int) int
- func (p *ProgressBar) SetPos(pos int) int
- func (p *ProgressBar) SetRange(range_ int) int
- type ScrollBar
- func (s *ScrollBar) EnableHorizon(bHorizon bool) bool
- func (s *ScrollBar) Event_SBAR_SCROLL(pFun XE_SBAR_SCROLL) bool
- func (s *ScrollBar) Event_SBAR_SCROLL1(pFun XE_SBAR_SCROLL1) bool
- func (s *ScrollBar) GetButtonDown() int
- func (s *ScrollBar) GetButtonSlider() int
- func (s *ScrollBar) GetButtonUp() int
- func (s *ScrollBar) GetRange() int
- func (s *ScrollBar) GetSliderMaxLength() int
- func (s *ScrollBar) ScrollBottom() bool
- func (s *ScrollBar) ScrollDown() bool
- func (s *ScrollBar) ScrollPos(pos int) bool
- func (s *ScrollBar) ScrollTop() bool
- func (s *ScrollBar) ScrollUp() bool
- func (s *ScrollBar) SetRange(range_ int) int
- func (s *ScrollBar) SetSliderLength(length int) int
- func (s *ScrollBar) SetSliderMinLength(minLength int) int
- func (s *ScrollBar) SetSliderPadding(nPadding int) int
- func (s *ScrollBar) ShowButton(bShow bool) int
- type ScrollView
- func (s *ScrollView) EnableAutoShowScrollBar(bEnable bool) int
- func (s *ScrollView) Event_SCROLLVIEW_SCROLL_H(pFun XE_SCROLLVIEW_SCROLL_H) bool
- func (s *ScrollView) Event_SCROLLVIEW_SCROLL_H1(pFun XE_SCROLLVIEW_SCROLL_H1) bool
- func (s *ScrollView) Event_SCROLLVIEW_SCROLL_V(pFun XE_SCROLLVIEW_SCROLL_V) bool
- func (s *ScrollView) Event_SCROLLVIEW_SCROLL_V1(pFun XE_SCROLLVIEW_SCROLL_V1) bool
- func (s *ScrollView) GetLineSize(pSize *xc.SIZE) int
- func (s *ScrollView) GetScrollBarH() int
- func (s *ScrollView) GetScrollBarV() int
- func (s *ScrollView) GetTotalSize(pSize *xc.SIZE) int
- func (s *ScrollView) GetViewHeight() int
- func (s *ScrollView) GetViewPosH() int
- func (s *ScrollView) GetViewPosV() int
- func (s *ScrollView) GetViewRect(pRect *xc.RECT) int
- func (s *ScrollView) GetViewWidth() int
- func (s *ScrollView) ScrollBottom() bool
- func (s *ScrollView) ScrollBottomLine() bool
- func (s *ScrollView) ScrollLeft() bool
- func (s *ScrollView) ScrollLeftLine() bool
- func (s *ScrollView) ScrollPosH(pos int) bool
- func (s *ScrollView) ScrollPosV(pos int) bool
- func (s *ScrollView) ScrollPosXH(posX int) bool
- func (s *ScrollView) ScrollPosYV(posY int) bool
- func (s *ScrollView) ScrollRight() bool
- func (s *ScrollView) ScrollRightLine() bool
- func (s *ScrollView) ScrollTop() bool
- func (s *ScrollView) ScrollTopLine() bool
- func (s *ScrollView) SetLineSize(nWidth int, nHeight int) bool
- func (s *ScrollView) SetScrollBarSize(size int) int
- func (s *ScrollView) SetTotalSize(cx int, cy int) bool
- func (s *ScrollView) ShowSBarH(bShow bool) int
- func (s *ScrollView) ShowSBarV(bShow bool) int
- type Shape
- func (s *Shape) AdjustLayout() int
- func (s *Shape) Destroy() int
- func (s *Shape) GetAlpha() int
- func (s *Shape) GetContentSize(pSize *xc.SIZE) int
- func (s *Shape) GetHeight() int
- func (s *Shape) GetPosition(pOutX *int, pOutY *int) int
- func (s *Shape) GetRect(pRect *xc.RECT) int
- func (s *Shape) GetRectLogic(pRect *xc.RECT) int
- func (s *Shape) GetSize(pOutWidth *int, pOutHeight *int) int
- func (s *Shape) GetWidth() int
- func (s *Shape) GetWndClientRect(pRect *xc.RECT) int
- func (s *Shape) GetZOrder() int
- func (s *Shape) Redraw() int
- func (s *Shape) RemoveShape() int
- func (s *Shape) SetAlpha(alpha uint8) int
- func (s *Shape) SetPosition(x int, y int) int
- func (s *Shape) SetRect(pRect *xc.RECT) int
- func (s *Shape) SetRectLogic(pRect *xc.RECT, bRedraw bool) bool
- func (s *Shape) SetSize(nWidth int, nHeight int) int
- func (s *Shape) ShowLayout(bShow bool) int
- type ShapeEllipse
- type ShapeGif
- type ShapeGroupBox
- func NewShapeGroupBox(x int, y int, cx int, cy int, pName string, hParent int) *ShapeGroupBox
- func NewShapeGroupBoxByHandle(handle int) *ShapeGroupBox
- func NewShapeGroupBoxByName(name string) *ShapeGroupBox
- func NewShapeGroupBoxByUID(nUID int) *ShapeGroupBox
- func NewShapeGroupBoxByUIDName(name string) *ShapeGroupBox
- func (s *ShapeGroupBox) EnableRoundAngle(bEnable bool) int
- func (s *ShapeGroupBox) GetRoundAngle(pWidth *int, pHeight *int) int
- func (s *ShapeGroupBox) GetTextOffset(pOffsetX *int, pOffsetY *int) int
- func (s *ShapeGroupBox) SetBorderColor(color int) int
- func (s *ShapeGroupBox) SetFontX(hFontX int) int
- func (s *ShapeGroupBox) SetRoundAngle(nWidth int, nHeight int) int
- func (s *ShapeGroupBox) SetText(pText string) int
- func (s *ShapeGroupBox) SetTextColor(color int) int
- func (s *ShapeGroupBox) SetTextOffset(offsetX int, offsetY int) int
- type ShapeLine
- type ShapePicture
- type ShapeRect
- func (s *ShapeRect) EnableBorder(bEnable bool) int
- func (s *ShapeRect) EnableFill(bEnable bool) int
- func (s *ShapeRect) EnableRoundAngle(bEnable bool) int
- func (s *ShapeRect) GetRoundAngle(pWidth *int, pHeight *int) int
- func (s *ShapeRect) SetBorderColor(color int) int
- func (s *ShapeRect) SetFillColor(color int) int
- func (s *ShapeRect) SetRoundAngle(nWidth int, nHeight int) int
- type ShapeText
- func (s *ShapeText) GetFont() int
- func (s *ShapeText) GetText() string
- func (s *ShapeText) GetTextColor() int
- func (s *ShapeText) GetTextLength() int
- func (s *ShapeText) SetFont(hFontx int) int
- func (s *ShapeText) SetOffset(x int, y int) int
- func (s *ShapeText) SetText(pName string) int
- func (s *ShapeText) SetTextAlign(align xcc.TextFormatFlag_) int
- func (s *ShapeText) SetTextColor(color int) int
- type SliderBar
- func (s *SliderBar) EnableHorizon(bHorizon bool) int
- func (s *SliderBar) Event_SLIDERBAR_CHANGE(pFun XE_SLIDERBAR_CHANGE) bool
- func (s *SliderBar) Event_SLIDERBAR_CHANGE1(pFun XE_SLIDERBAR_CHANGE1) bool
- func (s *SliderBar) GetButton() int
- func (s *SliderBar) GetPos() int
- func (s *SliderBar) GetRange() int
- func (s *SliderBar) SetButtonHeight(height int) int
- func (s *SliderBar) SetButtonWidth(width int) int
- func (s *SliderBar) SetImageLoad(hImage int) int
- func (s *SliderBar) SetPos(pos int) int
- func (s *SliderBar) SetRange(range_ int) int
- type TabBar
- func (t *TabBar) AddLabel(pName string) int
- func (t *TabBar) DeleteLabel(index int) bool
- func (t *TabBar) DeleteLabelAll() int
- func (t *TabBar) EnableClose(bEnable bool) int
- func (t *TabBar) EnableDropMenu(bEnable bool) int
- func (t *TabBar) EnableTile(bTile bool) int
- func (t *TabBar) Event_TABBAR_DELETE(pFun XE_TABBAR_DELETE) bool
- func (t *TabBar) Event_TABBAR_DELETE1(pFun XE_TABBAR_DELETE1) bool
- func (t *TabBar) Event_TABBAR_SELECT(pFun XE_TABBAR_SELECT) bool
- func (t *TabBar) Event_TABBAR_SELECT1(pFun XE_TABBAR_SELECT1) bool
- func (t *TabBar) GetButtonDropMenu() int
- func (t *TabBar) GetButtonLeft() int
- func (t *TabBar) GetButtonRight() int
- func (t *TabBar) GetLabel(index int) int
- func (t *TabBar) GetLabelClose(index int) int
- func (t *TabBar) GetLabelCount() int
- func (t *TabBar) GetLabelSpacing() int
- func (t *TabBar) GetSelect() int
- func (t *TabBar) GetindexByEle(hLabel int) int
- func (t *TabBar) InsertLabel(index int, pName string) int
- func (t *TabBar) MoveLabel(iSrc int, iDest int) bool
- func (t *TabBar) SetCloseSize(pSize *xc.SIZE) int
- func (t *TabBar) SetDown() int
- func (t *TabBar) SetLabelSpacing(spacing int) int
- func (t *TabBar) SetLabelWidth(index int, nWidth int) int
- func (t *TabBar) SetPadding(left int, top int, right int, bottom int) int
- func (t *TabBar) SetSelect(index int) int
- func (t *TabBar) SetTurnButtonSize(pSize *xc.SIZE) int
- func (t *TabBar) SetUp() int
- func (t *TabBar) ShowLabel(index int, bShow bool) bool
- type Table
- func (t *Table) ComboCol(iRow int, iCol int, count int) int
- func (t *Table) ComboRow(iRow int, iCol int, count int) int
- func (t *Table) GetItemRect(iRow int, iCol int, pRect *xc.RECT) bool
- func (t *Table) Reset(nRow int, nCol int) int
- func (t *Table) SetBorderColor(color int) int
- func (t *Table) SetColWidth(iCol int, width int) int
- func (t *Table) SetFont(hFont int) int
- func (t *Table) SetItemBkColor(iRow int, iCol int, color int, bColor bool) int
- func (t *Table) SetItemFlag(iRow int, iCol int, flag xcc.Table_Flag_) int
- func (t *Table) SetItemFont(iRow int, iCol int, hFont int) int
- func (t *Table) SetItemLine(iRow1 int, iCol1 int, iRow2 int, iCol2 int, nFlag int, color int) int
- func (t *Table) SetItemPadding(leftSize int, topSize int, rightSize int, bottomSize int) int
- func (t *Table) SetItemText(iRow int, iCol int, pText string) int
- func (t *Table) SetItemTextAlign(iRow int, iCol int, nAlign xcc.TextFormatFlag_) int
- func (t *Table) SetItemTextColor(iRow int, iCol int, color int, bColor bool) int
- func (t *Table) SetRowHeight(iRow int, height int) int
- func (t *Table) SetTextColor(color int) int
- type TextLink
- type ToolBar
- func (t *ToolBar) DeleteAllEle() int
- func (t *ToolBar) DeleteEle(index int) int
- func (t *ToolBar) EnableButtonMenu(bEnable bool) int
- func (t *ToolBar) GetButtonLeft() int
- func (t *ToolBar) GetButtonMenu() int
- func (t *ToolBar) GetButtonRight() int
- func (t *ToolBar) GetEle(index int) int
- func (t *ToolBar) InsertEle(hNewEle int, index int) int
- func (t *ToolBar) InsertSeparator(index int, color int) int
- func (t *ToolBar) SetSpace(nSize int) int
- type Tree
- func (t *Tree) BindAdapter(hAdapter int) int
- func (t *Tree) CreateAdapter() int
- func (t *Tree) DeleteColumnAll() int
- func (t *Tree) DeleteItem(nID int) bool
- func (t *Tree) DeleteItemAll() int
- func (t *Tree) EnableConnectLine(bEnable bool, bSolid bool) int
- func (t *Tree) EnableDragItem(bEnable bool) int
- func (t *Tree) EnableExpand(bEnable bool) int
- func (t *Tree) EnablemTemplateReuse(bEnable bool) int
- func (t *Tree) Event_TREE_DRAG_ITEM(pFun XE_TREE_DRAG_ITEM) bool
- func (t *Tree) Event_TREE_DRAG_ITEM1(pFun XE_TREE_DRAG_ITEM1) bool
- func (t *Tree) Event_TREE_DRAG_ITEM_ING(pFun XE_TREE_DRAG_ITEM_ING) bool
- func (t *Tree) Event_TREE_DRAG_ITEM_ING1(pFun XE_TREE_DRAG_ITEM_ING1) bool
- func (t *Tree) Event_TREE_DRAWITEM(pFun XE_TREE_DRAWITEM) bool
- func (t *Tree) Event_TREE_DRAWITEM1(pFun XE_TREE_DRAWITEM1) bool
- func (t *Tree) Event_TREE_EXPAND(pFun XE_TREE_EXPAND) bool
- func (t *Tree) Event_TREE_EXPAND1(pFun XE_TREE_EXPAND1) bool
- func (t *Tree) Event_TREE_SELECT(pFun XE_TREE_SELECT) bool
- func (t *Tree) Event_TREE_SELECT1(pFun XE_TREE_SELECT1) bool
- func (t *Tree) Event_TREE_TEMP_ADJUST_COORDINATE(pFun XE_TREE_TEMP_ADJUST_COORDINATE) bool
- func (t *Tree) Event_TREE_TEMP_ADJUST_COORDINATE1(pFun XE_TREE_TEMP_ADJUST_COORDINATE1) bool
- func (t *Tree) Event_TREE_TEMP_CREATE(pFun XE_TREE_TEMP_CREATE) bool
- func (t *Tree) Event_TREE_TEMP_CREATE1(pFun XE_TREE_TEMP_CREATE1) bool
- func (t *Tree) Event_TREE_TEMP_CREATE_END(pFun XE_TREE_TEMP_CREATE_END) bool
- func (t *Tree) Event_TREE_TEMP_CREATE_END1(pFun XE_TREE_TEMP_CREATE_END1) bool
- func (t *Tree) Event_TREE_TEMP_DESTROY(pFun XE_TREE_TEMP_DESTROY) bool
- func (t *Tree) Event_TREE_TEMP_DESTROY1(pFun XE_TREE_TEMP_DESTROY1) bool
- func (t *Tree) ExpandAllChildItem(nID int, bExpand bool) bool
- func (t *Tree) ExpandItem(nID int, bExpand bool) bool
- func (t *Tree) GetAdapter() int
- func (t *Tree) GetCount() int
- func (t *Tree) GetCountColumn() int
- func (t *Tree) GetEndChildItem(nID int) int
- func (t *Tree) GetFirstChildItem(nID int) int
- func (t *Tree) GetIndentation() int
- func (t *Tree) GetItemData(nID int) int
- func (t *Tree) GetItemHeight(nID int, pHeight *int, pSelHeight *int) int
- func (t *Tree) GetItemHeightDefault(pHeight *int, pSelHeight *int) int
- func (t *Tree) GetItemIDFromHXCGUI(hXCGUI int) int
- func (t *Tree) GetItemImage(nID int, iColumn int) int
- func (t *Tree) GetItemImageEx(nID int, pName string) int
- func (t *Tree) GetItemText(nID int, iColumn int) string
- func (t *Tree) GetItemTextEx(nID int, pName string) string
- func (t *Tree) GetNextSiblingItem(nID int) int
- func (t *Tree) GetParentItem(nID int) int
- func (t *Tree) GetPrevSiblingItem(nID int) int
- func (t *Tree) GetRowSpace() int
- func (t *Tree) GetSelectItem() int
- func (t *Tree) GetTemplateObject(nID int, nTempItemID int) int
- func (t *Tree) HitTest(pPt *xc.POINT) int
- func (t *Tree) HitTestOffset(pPt *xc.POINT) int
- func (t *Tree) InsertItemImage(hImage int, nParentID int, insertID int) int
- func (t *Tree) InsertItemImageEx(pName string, hImage int, nParentID int, insertID int) int
- func (t *Tree) InsertItemText(pValue string, nParentID int, insertID int) int
- func (t *Tree) InsertItemTextEx(pName string, pValue string, nParentID int, insertID int) int
- func (t *Tree) IsExpand(nID int) bool
- func (t *Tree) MoveItem(nMoveItem int, nDestItem int, nFlag int) bool
- func (t *Tree) RefreshData() int
- func (t *Tree) RefreshItem(nID int) int
- func (t *Tree) SetConnectLineColor(color int) int
- func (t *Tree) SetConnectLineLength(nLength int) int
- func (t *Tree) SetDragInsertPositionColor(color int) int
- func (t *Tree) SetDrawItemBkFlags(nFlags xcc.List_DrawItemBk_Flag_) int
- func (t *Tree) SetExpandButtonSize(nWidth int, nHeight int) int
- func (t *Tree) SetIndentation(nWidth int) int
- func (t *Tree) SetItemData(nID int, nUserData int) bool
- func (t *Tree) SetItemHeight(nID int, nHeight int, nSelHeight int) int
- func (t *Tree) SetItemHeightDefault(nHeight int, nSelHeight int) int
- func (t *Tree) SetItemImage(nID int, iColumn int, hImage int) bool
- func (t *Tree) SetItemImageEx(nID int, pName string, hImage int) bool
- func (t *Tree) SetItemTemplate(hTemp int) bool
- func (t *Tree) SetItemTemplateSel(hTemp int) bool
- func (t *Tree) SetItemTemplateXML(pXmlFile string) bool
- func (t *Tree) SetItemTemplateXMLFromString(pStringXML string) bool
- func (t *Tree) SetItemTemplateXMLSel(pXmlFile string) bool
- func (t *Tree) SetItemTemplateXMLSelFromString(pStringXML string) bool
- func (t *Tree) SetItemText(nID int, iColumn int, pValue string) bool
- func (t *Tree) SetItemTextEx(nID int, pName string, pValue string) bool
- func (t *Tree) SetRowSpace(nSpace int) int
- func (t *Tree) SetSelectItem(nID int) bool
- func (t *Tree) SetSplitLineColor(color int) int
- func (t *Tree) VisibleItem(nID int) int
- type XE_ADJUSTLAYOUT
- type XE_ADJUSTLAYOUT1
- type XE_ADJUSTLAYOUT_END
- type XE_ADJUSTLAYOUT_END1
- type XE_BNCLICK
- type XE_BNCLICK1
- type XE_BUTTON_CHECK
- type XE_BUTTON_CHECK1
- type XE_CHAR
- type XE_CHAR1
- type XE_COMBOBOX_EXIT_LIST
- type XE_COMBOBOX_EXIT_LIST1
- type XE_COMBOBOX_POPUP_LIST
- type XE_COMBOBOX_POPUP_LIST1
- type XE_COMBOBOX_SELECT
- type XE_COMBOBOX_SELECT1
- type XE_COMBOBOX_SELECT_END
- type XE_COMBOBOX_SELECT_END1
- type XE_DATETIME_CHANGE
- type XE_DATETIME_CHANGE1
- type XE_DATETIME_EXIT_MONTHCAL
- type XE_DATETIME_EXIT_MONTHCAL1
- type XE_DATETIME_POPUP_MONTHCAL
- type XE_DATETIME_POPUP_MONTHCAL1
- type XE_DESTROY
- type XE_DESTROY1
- type XE_DESTROY_END
- type XE_DESTROY_END1
- type XE_DROPFILES
- type XE_DROPFILES1
- type XE_EDITOR_AUTOMATCH_SELECT
- type XE_EDITOR_AUTOMATCH_SELECT1
- type XE_EDITOR_MODIFY_ROWS
- type XE_EDITOR_MODIFY_ROWS1
- type XE_EDITOR_REMOVEBREAKPOINT
- type XE_EDITOR_REMOVEBREAKPOINT1
- type XE_EDITOR_SETBREAKPOINT
- type XE_EDITOR_SETBREAKPOINT1
- type XE_EDIT_CHANGED
- type XE_EDIT_CHANGED1
- type XE_EDIT_DRAWROW
- type XE_EDIT_DRAWROW1
- type XE_EDIT_ENTER_GET_TABALIGN
- type XE_EDIT_ENTER_GET_TABALIGN1
- type XE_EDIT_POS_CHANGED
- type XE_EDIT_POS_CHANGED1
- type XE_EDIT_ROW_CHANGED
- type XE_EDIT_ROW_CHANGED1
- type XE_EDIT_SET
- type XE_EDIT_SET1
- type XE_EDIT_STYLE_CHANGED
- type XE_EDIT_STYLE_CHANGED1
- type XE_ELEPROCE
- type XE_ELEPROCE1
- type XE_KEYDOWN
- type XE_KEYDOWN1
- type XE_KEYUP
- type XE_KEYUP1
- type XE_KILLCAPTURE
- type XE_KILLCAPTURE1
- type XE_KILLFOCUS
- type XE_KILLFOCUS1
- type XE_LBUTTONDBCLICK
- type XE_LBUTTONDBCLICK1
- type XE_LBUTTONDOWN
- type XE_LBUTTONDOWN1
- type XE_LBUTTONUP
- type XE_LBUTTONUP1
- type XE_LISTBOX_DRAWITEM
- type XE_LISTBOX_DRAWITEM1
- type XE_LISTBOX_SELECT
- type XE_LISTBOX_SELECT1
- type XE_LISTBOX_TEMP_ADJUST_COORDINATE
- type XE_LISTBOX_TEMP_ADJUST_COORDINATE1
- type XE_LISTBOX_TEMP_CREATE
- type XE_LISTBOX_TEMP_CREATE1
- type XE_LISTBOX_TEMP_CREATE_END
- type XE_LISTBOX_TEMP_CREATE_END1
- type XE_LISTBOX_TEMP_DESTROY
- type XE_LISTBOX_TEMP_DESTROY1
- type XE_LISTVIEW_DRAWITEM
- type XE_LISTVIEW_DRAWITEM1
- type XE_LISTVIEW_EXPAND
- type XE_LISTVIEW_EXPAND1
- type XE_LISTVIEW_SELECT
- type XE_LISTVIEW_SELECT1
- type XE_LISTVIEW_TEMP_ADJUST_COORDINATE
- type XE_LISTVIEW_TEMP_ADJUST_COORDINATE1
- type XE_LISTVIEW_TEMP_CREATE
- type XE_LISTVIEW_TEMP_CREATE1
- type XE_LISTVIEW_TEMP_CREATE_END
- type XE_LISTVIEW_TEMP_CREATE_END1
- type XE_LISTVIEW_TEMP_DESTROY
- type XE_LISTVIEW_TEMP_DESTROY1
- type XE_LIST_DRAWITEM
- type XE_LIST_DRAWITEM1
- type XE_LIST_HEADER_CLICK
- type XE_LIST_HEADER_CLICK1
- type XE_LIST_HEADER_DRAWITEM
- type XE_LIST_HEADER_DRAWITEM1
- type XE_LIST_HEADER_TEMP_ADJUST_COORDINATE
- type XE_LIST_HEADER_TEMP_ADJUST_COORDINATE1
- type XE_LIST_HEADER_TEMP_CREATE
- type XE_LIST_HEADER_TEMP_CREATE1
- type XE_LIST_HEADER_TEMP_CREATE_END
- type XE_LIST_HEADER_TEMP_CREATE_END1
- type XE_LIST_HEADER_TEMP_DESTROY
- type XE_LIST_HEADER_TEMP_DESTROY1
- type XE_LIST_HEADER_WIDTH_CHANGE
- type XE_LIST_HEADER_WIDTH_CHANGE1
- type XE_LIST_SELECT
- type XE_LIST_SELECT1
- type XE_LIST_TEMP_ADJUST_COORDINATE
- type XE_LIST_TEMP_ADJUST_COORDINATE1
- type XE_LIST_TEMP_CREATE
- type XE_LIST_TEMP_CREATE1
- type XE_LIST_TEMP_CREATE_END
- type XE_LIST_TEMP_CREATE_END1
- type XE_LIST_TEMP_DESTROY
- type XE_LIST_TEMP_DESTROY1
- type XE_MENU_DRAWITEM
- type XE_MENU_DRAW_BACKGROUND
- type XE_MENU_EXIT
- type XE_MENU_POPUP
- type XE_MENU_POPUP_WND
- type XE_MENU_SELECT
- type XE_MONTHCAL_CHANGE
- type XE_MONTHCAL_CHANGE1
- type XE_MOUSEHOVER
- type XE_MOUSEHOVER1
- type XE_MOUSELEAVE
- type XE_MOUSELEAVE1
- type XE_MOUSEMOVE
- type XE_MOUSEMOVE1
- type XE_MOUSESTAY
- type XE_MOUSESTAY1
- type XE_MOUSEWHEEL
- type XE_MOUSEWHEEL1
- type XE_PAINT
- type XE_PAINT1
- type XE_PAINT_END
- type XE_PAINT_END1
- type XE_PAINT_SCROLLVIEW
- type XE_PAINT_SCROLLVIEW1
- type XE_PROGRESSBAR_CHANGE
- type XE_PROGRESSBAR_CHANGE1
- type XE_RBUTTONDOWN
- type XE_RBUTTONDOWN1
- type XE_RBUTTONUP
- type XE_RBUTTONUP1
- type XE_SBAR_SCROLL
- type XE_SBAR_SCROLL1
- type XE_SCROLLVIEW_SCROLL_H
- type XE_SCROLLVIEW_SCROLL_H1
- type XE_SCROLLVIEW_SCROLL_V
- type XE_SCROLLVIEW_SCROLL_V1
- type XE_SETCAPTURE
- type XE_SETCAPTURE1
- type XE_SETCURSOR
- type XE_SETCURSOR1
- type XE_SETFOCUS
- type XE_SETFOCUS1
- type XE_SETFONT
- type XE_SETFONT1
- type XE_SHOW
- type XE_SHOW1
- type XE_SIZE
- type XE_SIZE1
- type XE_SLIDERBAR_CHANGE
- type XE_SLIDERBAR_CHANGE1
- type XE_TABBAR_DELETE
- type XE_TABBAR_DELETE1
- type XE_TABBAR_SELECT
- type XE_TABBAR_SELECT1
- type XE_TREE_DRAG_ITEM
- type XE_TREE_DRAG_ITEM1
- type XE_TREE_DRAG_ITEM_ING
- type XE_TREE_DRAG_ITEM_ING1
- type XE_TREE_DRAWITEM
- type XE_TREE_DRAWITEM1
- type XE_TREE_EXPAND
- type XE_TREE_EXPAND1
- type XE_TREE_SELECT
- type XE_TREE_SELECT1
- type XE_TREE_TEMP_ADJUST_COORDINATE
- type XE_TREE_TEMP_ADJUST_COORDINATE1
- type XE_TREE_TEMP_CREATE
- type XE_TREE_TEMP_CREATE1
- type XE_TREE_TEMP_CREATE_END
- type XE_TREE_TEMP_CREATE_END1
- type XE_TREE_TEMP_DESTROY
- type XE_TREE_TEMP_DESTROY1
- type XE_XC_TIMER
- type XE_XC_TIMER1
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Button ¶
type Button struct {
Element
}
Button 按钮.
func (*Button) EnableAnimation ¶
按钮_启用动画, 开始或关闭图片动画的播放.
bEnable: 开始播放动画TRUE, 关闭播放动画FALSE.
bLoopPlay: 是否循环播放.
func (*Button) Event_BUTTON_CHECK ¶
func (b *Button) Event_BUTTON_CHECK(pFun XE_BUTTON_CHECK) bool
按钮选中事件.
func (*Button) Event_BUTTON_CHECK1 ¶
func (b *Button) Event_BUTTON_CHECK1(pFun XE_BUTTON_CHECK1) bool
按钮选中事件.
func (*Button) GetState ¶
func (b *Button) GetState() xcc.Common_State3_
GetState 按钮_取状态.
@return xcc.Common_State3_
func (*Button) GetStateEx ¶
func (b *Button) GetStateEx() xcc.Button_State_
GetStateEx 按钮_取状态扩展.
@return xcc.Button_State_
func (*Button) GetTextAlign ¶
func (b *Button) GetTextAlign() xcc.TextFormatFlag_
按钮_取文本对齐方式, 返回: TextFormatFlag_ , TextAlignFlag_ , TextTrimming_.
func (*Button) SetIconAlign ¶
func (b *Button) SetIconAlign(align xcc.Button_Icon_Align_) int
按钮_置图标对齐.
align: 对齐方式, Button_Icon_Align_.
func (*Button) SetState ¶
func (b *Button) SetState(nState xcc.Common_State3_) int
SetState 按钮_置状态.
@param nState 按钮状态: xcc.Common_State3_. @return int
func (*Button) SetTextAlign ¶
func (b *Button) SetTextAlign(nFlags xcc.TextFormatFlag_) int
按钮_置文本对齐.
nFlags: 对齐方式, TextFormatFlag_ , TextAlignFlag_ , TextTrimming_.
type ComboBox ¶
type ComboBox struct {
Edit
}
下拉组合框.
func NewComboBox ¶
组合框_创建.
x: 元素x坐标.
y: 元素y坐标.
cx: 宽度.
cy: 高度.
hParent: 父是窗口资源句柄或UI元素资源句柄.如果是窗口资源句柄将被添加到窗口.
func (*ComboBox) Event_COMBOBOX_EXIT_LIST ¶
func (c *ComboBox) Event_COMBOBOX_EXIT_LIST(pFun XE_COMBOBOX_EXIT_LIST) bool
组合框下拉列表退出事件.
func (*ComboBox) Event_COMBOBOX_EXIT_LIST1 ¶
func (c *ComboBox) Event_COMBOBOX_EXIT_LIST1(pFun XE_COMBOBOX_EXIT_LIST1) bool
组合框下拉列表退出事件.
func (*ComboBox) Event_COMBOBOX_POPUP_LIST ¶
func (c *ComboBox) Event_COMBOBOX_POPUP_LIST(pFun XE_COMBOBOX_POPUP_LIST) bool
组合框下拉列表弹出事件.
func (*ComboBox) Event_COMBOBOX_POPUP_LIST1 ¶
func (c *ComboBox) Event_COMBOBOX_POPUP_LIST1(pFun XE_COMBOBOX_POPUP_LIST1) bool
组合框下拉列表弹出事件.
func (*ComboBox) Event_COMBOBOX_SELECT ¶
func (c *ComboBox) Event_COMBOBOX_SELECT(pFun XE_COMBOBOX_SELECT) bool
组合框下拉列表项选择事件.
func (*ComboBox) Event_COMBOBOX_SELECT1 ¶
func (c *ComboBox) Event_COMBOBOX_SELECT1(pFun XE_COMBOBOX_SELECT1) bool
组合框下拉列表项选择事件.
func (*ComboBox) Event_ComboBox_Select_End ¶
func (c *ComboBox) Event_ComboBox_Select_End(pFun XE_COMBOBOX_SELECT_END) bool
事件_组合框_下拉列表项选择完成, 编辑框内容已经改变.
func (*ComboBox) Event_ComboBox_Select_End1 ¶
func (c *ComboBox) Event_ComboBox_Select_End1(pFun XE_COMBOBOX_SELECT_END1) bool
事件_组合框_下拉列表项选择完成, 编辑框内容已经改变.
func (*ComboBox) GetState ¶
func (c *ComboBox) GetState() xcc.ComboBox_State_
组合框_取状态, 返回: ComboBox_State_.
type DateTime ¶
type DateTime struct {
Element
}
日期时间.
func (*DateTime) Event_DATETIME_CHANGE ¶
func (d *DateTime) Event_DATETIME_CHANGE(pFun XE_DATETIME_CHANGE) bool
日期时间元素,内容改变事件.
func (*DateTime) Event_DATETIME_CHANGE1 ¶
func (d *DateTime) Event_DATETIME_CHANGE1(pFun XE_DATETIME_CHANGE1) bool
日期时间元素,内容改变事件.
func (*DateTime) Event_DATETIME_EXIT_MONTHCAL ¶
func (d *DateTime) Event_DATETIME_EXIT_MONTHCAL(pFun XE_DATETIME_EXIT_MONTHCAL) bool
日期时间元素,弹出的月历卡片退出事件.
func (*DateTime) Event_DATETIME_EXIT_MONTHCAL1 ¶
func (d *DateTime) Event_DATETIME_EXIT_MONTHCAL1(pFun XE_DATETIME_EXIT_MONTHCAL1) bool
日期时间元素,弹出的月历卡片退出事件.
func (*DateTime) Event_DATETIME_POPUP_MONTHCAL ¶
func (d *DateTime) Event_DATETIME_POPUP_MONTHCAL(pFun XE_DATETIME_POPUP_MONTHCAL) bool
日期时间元素,弹出月历卡片事件.
func (*DateTime) Event_DATETIME_POPUP_MONTHCAL1 ¶
func (d *DateTime) Event_DATETIME_POPUP_MONTHCAL1(pFun XE_DATETIME_POPUP_MONTHCAL1) bool
日期时间元素,弹出月历卡片事件.
type Edit ¶
type Edit struct {
ScrollView
}
编辑框(常规, 富文本, 聊天气泡).
func NewEditEx ¶
编辑框_创建扩展.
x: 元素x坐标.
y: 元素y坐标.
cx: 宽度.
cy: 高度.
nType: 类型, Edit_Type_.
hParent: 父为窗口句柄或元素句柄.
func (*Edit) AddChatBegin ¶
编辑框_添加气泡开始, 当前行开始.
hImageAvatar: 头像.
hImageBubble: 气泡背景.
nFlag: 标志, Chat_Flag_.
func (*Edit) AddStyleEx ¶
func (e *Edit) AddStyleEx(fontName string, fontSize int, fontStyle xcc.FontStyle_, color int, bColor bool) int
编辑框_添加样式扩展, 返回样式索引.
fontName: 字体名称.
fontSize: 字体大小.
fontStyle: 字体样式, FontStyle_.
color: 颜色.
bColor: 是否使用颜色.
func (*Edit) AddTextUser ¶
AddTextUser 编辑框_插入文本模拟用户操作, 自动刷新UI, 支持撤销/恢复.
@param pString 字符串. @return int
func (*Edit) Delete ¶
编辑框_删除, 删除指定范围内容.
iStartRow: 起始行索引.
iStartCol: 起始行列索引.
iEndRow: 结束行索引.
iEndCol: 结束行列索引.
func (*Edit) Event_EDIT_CHANGED ¶
func (e *Edit) Event_EDIT_CHANGED(pFun XE_EDIT_CHANGED) bool
编辑框_内容被改变.
func (*Edit) Event_EDIT_CHANGED1 ¶
func (e *Edit) Event_EDIT_CHANGED1(pFun XE_EDIT_CHANGED1) bool
编辑框_内容被改变.
func (*Edit) Event_EDIT_DRAWROW ¶
func (e *Edit) Event_EDIT_DRAWROW(pFun XE_EDIT_DRAWROW) bool
和XE_EDIT_CHANGED的对换.
func (*Edit) Event_EDIT_DRAWROW1 ¶
func (e *Edit) Event_EDIT_DRAWROW1(pFun XE_EDIT_DRAWROW1) bool
和XE_EDIT_CHANGED的对换.
func (*Edit) Event_EDIT_ENTER_GET_TABALIGN ¶
func (e *Edit) Event_EDIT_ENTER_GET_TABALIGN(pFun XE_EDIT_ENTER_GET_TABALIGN) bool
编辑框_回车_获取标签?.
func (*Edit) Event_EDIT_ENTER_GET_TABALIGN1 ¶
func (e *Edit) Event_EDIT_ENTER_GET_TABALIGN1(pFun XE_EDIT_ENTER_GET_TABALIGN1) bool
编辑框_回车_获取标签?.
func (*Edit) Event_EDIT_POS_CHANGED ¶
func (e *Edit) Event_EDIT_POS_CHANGED(pFun XE_EDIT_POS_CHANGED) bool
编辑框_光标位置_被改变.
func (*Edit) Event_EDIT_POS_CHANGED1 ¶
func (e *Edit) Event_EDIT_POS_CHANGED1(pFun XE_EDIT_POS_CHANGED1) bool
编辑框_光标位置_被改变.
func (*Edit) Event_EDIT_ROW_CHANGED ¶
func (e *Edit) Event_EDIT_ROW_CHANGED(pFun XE_EDIT_ROW_CHANGED) bool
编辑框_行_被改变.
func (*Edit) Event_EDIT_ROW_CHANGED1 ¶
func (e *Edit) Event_EDIT_ROW_CHANGED1(pFun XE_EDIT_ROW_CHANGED1) bool
编辑框_行_被改变.
func (*Edit) Event_EDIT_STYLE_CHANGED ¶
func (e *Edit) Event_EDIT_STYLE_CHANGED(pFun XE_EDIT_STYLE_CHANGED) bool
编辑框_样式_被改变.
func (*Edit) Event_EDIT_STYLE_CHANGED1 ¶
func (e *Edit) Event_EDIT_STYLE_CHANGED1(pFun XE_EDIT_STYLE_CHANGED1) bool
编辑框_样式_被改变.
func (*Edit) GetSelectTextLength ¶
编辑框_取选择文本长度, 不包括非文本内容, 返回文本内容长度.
func (*Edit) GetStyleInfo ¶
func (e *Edit) GetStyleInfo(iStyle int, info *xc.Edit_Style_Info_) bool
编辑框_取样式信息.
iStyle: 样式索引.
info: 返回样式信息.
func (*Edit) PosToRowCol ¶
PosToRowCol 编辑框_转换位置, 转换位置点到行列.
@param iPos 位置点. @param pInfo 行列. @return int
func (*Edit) SetSelect ¶
编辑框_置选择.
iStartRow: 起始行索引.
iStartCol: 起始行列索引.
iEndRow: 结束行索引.
iEndCol: 结束行列索引.
func (*Edit) SetTextAlign ¶
func (e *Edit) SetTextAlign(align xcc.Edit_TextAlign_Flag_) int
编辑框_置文本对齐, 单行模式下有效.
align: 对齐方式, Edit_TextAlign_Flag_.
type Editor ¶
type Editor struct {
Edit
}
代码编辑框.
func (*Editor) AddExcludeDefVarKeyword ¶
代码编辑框_添加排除定义变量关键字, 排除定义变量的关键字, 用于排除定义变量, 因为定义变量禁用自动匹配; 此关键字不加入自动匹配,仅用于排除定义变量.
pKeyword: 字符串.
func (*Editor) Event_EDITOR_AUTOMATCH_SELECT ¶
func (e *Editor) Event_EDITOR_AUTOMATCH_SELECT(pFun XE_EDITOR_AUTOMATCH_SELECT) bool
代码编辑框_自动匹配选择.
func (*Editor) Event_EDITOR_AUTOMATCH_SELECT1 ¶
func (e *Editor) Event_EDITOR_AUTOMATCH_SELECT1(pFun XE_EDITOR_AUTOMATCH_SELECT1) bool
代码编辑框_自动匹配选择.
func (*Editor) Event_EDITOR_MODIFY_ROWS ¶
func (e *Editor) Event_EDITOR_MODIFY_ROWS(pFun XE_EDITOR_MODIFY_ROWS) bool
多行内容改变事件 例如:区块注释操作, 区块缩进操作, 代码格式化.
func (*Editor) Event_EDITOR_MODIFY_ROWS1 ¶
func (e *Editor) Event_EDITOR_MODIFY_ROWS1(pFun XE_EDITOR_MODIFY_ROWS1) bool
多行内容改变事件 例如:区块注释操作, 区块缩进操作, 代码格式化.
func (*Editor) Event_EDITOR_REMOVEBREAKPOINT ¶
func (e *Editor) Event_EDITOR_REMOVEBREAKPOINT(pFun XE_EDITOR_REMOVEBREAKPOINT) bool
代码编辑框_移除断点.
func (*Editor) Event_EDITOR_REMOVEBREAKPOINT1 ¶
func (e *Editor) Event_EDITOR_REMOVEBREAKPOINT1(pFun XE_EDITOR_REMOVEBREAKPOINT1) bool
代码编辑框_移除断点.
func (*Editor) Event_EDITOR_SETBREAKPOINT ¶
func (e *Editor) Event_EDITOR_SETBREAKPOINT(pFun XE_EDITOR_SETBREAKPOINT) bool
代码编辑框_设置断点.
func (*Editor) Event_EDITOR_SETBREAKPOINT1 ¶
func (e *Editor) Event_EDITOR_SETBREAKPOINT1(pFun XE_EDITOR_SETBREAKPOINT1) bool
代码编辑框_设置断点.
func (*Editor) GetColor ¶
func (e *Editor) GetColor(pInfo *xc.Editor_Color_) int
代码编辑框_取颜色信息.
pInfo: 颜色信息结构体指针.
func (*Editor) SetColor ¶
func (e *Editor) SetColor(pInfo *xc.Editor_Color_) int
代码编辑框_置颜色.
pInfo: 颜色信息结构体指针.
type Element ¶
type Element struct {
objectbase.Widget
}
Element 基础元素.
func (*Element) AddBkFill ¶
func (e *Element) AddBkFill(nState xcc.CombinedState, color int) int
元素_添加背景填充, 添加背景内容填充.
nState: 组合状态.
color: ABGR颜色.
func (*Element) AddBkImage ¶
func (e *Element) AddBkImage(nState xcc.CombinedState, hImage int) int
元素_添加背景图片, 添加背景内容图片.
nState: 组合状态.
hImage: 图片句柄.
func (*Element) AdjustLayoutEx ¶
func (e *Element) AdjustLayoutEx(nFlags xcc.AdjustLayout_, nAdjustNo uint32) int
元素_调整布局扩展.
nFlags: 调整布局标识位: xcc.AdjustLayout_.
nAdjustNo: 调整布局流水号, 可填0.
func (*Element) ClearBkInfo ¶
元素_清空背景对象, 清空背景内容; 如果背景没有内容, 将使用系统默认内容, 以便保证背景正确.
func (*Element) EnableEvent_XE_MOUSEWHEEL ¶
元素_启用事件_XE_MOUSEWHEEL, 启用接收鼠标滚动事件, 如果禁用那么事件会传递给父元素.
bEnable: 是否启用.
func (*Element) EnableMouseThrough ¶
元素_启用鼠标穿透. 启用鼠标穿透, 如果启用, 那么该元素不能接收到鼠标事件, 但是他的子元素不受影响, 任然可以接收鼠标事件.
bEnable: 是否启用.
func (*Element) EnableTransparentChannel ¶
元素_启用透明通道, 启用或关闭元素透明通道, 如果启用, 将强制设置元素背景不透明, 默认为启用, 此功能是为了兼容GDI不支持透明通道问题.
bEnable: 启用或关闭.
func (*Element) Event_ADJUSTLAYOUT ¶
func (e *Element) Event_ADJUSTLAYOUT(pFun XE_ADJUSTLAYOUT) bool
调整布局事件. 暂停使用.
func (*Element) Event_ADJUSTLAYOUT1 ¶
func (e *Element) Event_ADJUSTLAYOUT1(pFun XE_ADJUSTLAYOUT1) bool
调整布局事件. 暂停使用.
func (*Element) Event_ADJUSTLAYOUT_END ¶
func (e *Element) Event_ADJUSTLAYOUT_END(pFun XE_ADJUSTLAYOUT_END) bool
调整布局完成事件.
func (*Element) Event_ADJUSTLAYOUT_END1 ¶
func (e *Element) Event_ADJUSTLAYOUT_END1(pFun XE_ADJUSTLAYOUT_END1) bool
调整布局完成事件.
func (*Element) Event_CHAR ¶
通过TranslateMessage函数翻译的字符事件.
func (*Element) Event_CHAR1 ¶
通过TranslateMessage函数翻译的字符事件.
func (*Element) Event_DESTROY ¶
func (e *Element) Event_DESTROY(pFun XE_DESTROY) bool
元素即将销毁事件. 在销毁子对象之前触发.
func (*Element) Event_DESTROY1 ¶
func (e *Element) Event_DESTROY1(pFun XE_DESTROY1) bool
元素即将销毁事件. 在销毁子对象之前触发.
func (*Element) Event_DESTROY_END ¶
func (e *Element) Event_DESTROY_END(pFun XE_DESTROY_END) bool
元素销毁完成事件. 在销毁子对象之后触发.
func (*Element) Event_DESTROY_END1 ¶
func (e *Element) Event_DESTROY_END1(pFun XE_DESTROY_END1) bool
元素销毁完成事件. 在销毁子对象之后触发.
func (*Element) Event_DROPFILES ¶
func (e *Element) Event_DROPFILES(pFun XE_DROPFILES) bool
文件拖放事件, 需先启用:XWnd_EnableDragFiles().
func (*Element) Event_DROPFILES1 ¶
func (e *Element) Event_DROPFILES1(pFun XE_DROPFILES1) bool
文件拖放事件, 需先启用:XWnd_EnableDragFiles().
func (*Element) Event_ELEPROCE1 ¶
func (e *Element) Event_ELEPROCE1(pFun XE_ELEPROCE1) bool
元素处理过程事件.
func (*Element) Event_KILLCAPTURE ¶
func (e *Element) Event_KILLCAPTURE(pFun XE_KILLCAPTURE) bool
元素失去鼠标捕获.
func (*Element) Event_KILLCAPTURE1 ¶
func (e *Element) Event_KILLCAPTURE1(pFun XE_KILLCAPTURE1) bool
元素失去鼠标捕获.
func (*Element) Event_KILLFOCUS ¶
func (e *Element) Event_KILLFOCUS(pFun XE_KILLFOCUS) bool
元素失去焦点事件.
func (*Element) Event_KILLFOCUS1 ¶
func (e *Element) Event_KILLFOCUS1(pFun XE_KILLFOCUS1) bool
元素失去焦点事件.
func (*Element) Event_LBUTTONDBCLICK ¶
func (e *Element) Event_LBUTTONDBCLICK(pFun XE_LBUTTONDBCLICK) bool
鼠标左键双击事件.
func (*Element) Event_LBUTTONDBCLICK1 ¶
func (e *Element) Event_LBUTTONDBCLICK1(pFun XE_LBUTTONDBCLICK1) bool
鼠标左键双击事件.
func (*Element) Event_LBUTTONDOWN ¶
func (e *Element) Event_LBUTTONDOWN(pFun XE_LBUTTONDOWN) bool
鼠标左键按下事件.
func (*Element) Event_LBUTTONDOWN1 ¶
func (e *Element) Event_LBUTTONDOWN1(pFun XE_LBUTTONDOWN1) bool
鼠标左键按下事件.
func (*Element) Event_LBUTTONUP ¶
func (e *Element) Event_LBUTTONUP(pFun XE_LBUTTONUP) bool
鼠标左键弹起事件.
func (*Element) Event_LBUTTONUP1 ¶
func (e *Element) Event_LBUTTONUP1(pFun XE_LBUTTONUP1) bool
鼠标左键弹起事件.
func (*Element) Event_MENU_DRAWITEM ¶
func (e *Element) Event_MENU_DRAWITEM(pFun XE_MENU_DRAWITEM) bool
绘制菜单项事件, 启用该功能需要调用XMenu_EnableDrawItem().
func (*Element) Event_MENU_DRAW_BACKGROUND ¶
func (e *Element) Event_MENU_DRAW_BACKGROUND(pFun XE_MENU_DRAW_BACKGROUND) bool
绘制菜单背景, 启用该功能需要调用XMenu_EnableDrawBackground().
func (*Element) Event_MENU_EXIT ¶
func (e *Element) Event_MENU_EXIT(pFun XE_MENU_EXIT) bool
事件_菜单退出.
func (*Element) Event_MENU_POPUP ¶
func (e *Element) Event_MENU_POPUP(pFun XE_MENU_POPUP) bool
事件_菜单弹出.
func (*Element) Event_MENU_POPUP_WND ¶
func (e *Element) Event_MENU_POPUP_WND(pFun XE_MENU_POPUP_WND) bool
菜单弹出窗口.
func (*Element) Event_MENU_SELECT ¶
func (e *Element) Event_MENU_SELECT(pFun XE_MENU_SELECT) bool
事件_弹出菜单项被选择.
func (*Element) Event_MOUSEHOVER ¶
func (e *Element) Event_MOUSEHOVER(pFun XE_MOUSEHOVER) bool
元素鼠标悬停事件.
func (*Element) Event_MOUSEHOVER1 ¶
func (e *Element) Event_MOUSEHOVER1(pFun XE_MOUSEHOVER1) bool
元素鼠标悬停事件.
func (*Element) Event_MOUSELEAVE ¶
func (e *Element) Event_MOUSELEAVE(pFun XE_MOUSELEAVE) bool
元素鼠标离开事件.
func (*Element) Event_MOUSELEAVE1 ¶
func (e *Element) Event_MOUSELEAVE1(pFun XE_MOUSELEAVE1) bool
元素鼠标离开事件.
func (*Element) Event_MOUSEMOVE ¶
func (e *Element) Event_MOUSEMOVE(pFun XE_MOUSEMOVE) bool
元素鼠标移动事件.
func (*Element) Event_MOUSEMOVE1 ¶
func (e *Element) Event_MOUSEMOVE1(pFun XE_MOUSEMOVE1) bool
元素鼠标移动事件.
func (*Element) Event_MOUSESTAY ¶
func (e *Element) Event_MOUSESTAY(pFun XE_MOUSESTAY) bool
元素鼠标进入事件.
func (*Element) Event_MOUSESTAY1 ¶
func (e *Element) Event_MOUSESTAY1(pFun XE_MOUSESTAY1) bool
元素鼠标进入事件.
func (*Element) Event_MOUSEWHEEL ¶
func (e *Element) Event_MOUSEWHEEL(pFun XE_MOUSEWHEEL) bool
元素鼠标滚轮滚动事件. 如果非滚动视图需要调用 XEle_EnableEvent_XE_MOUSEWHEEL().
func (*Element) Event_MOUSEWHEEL1 ¶
func (e *Element) Event_MOUSEWHEEL1(pFun XE_MOUSEWHEEL1) bool
元素鼠标滚轮滚动事件. 如果非滚动视图需要调用 XEle_EnableEvent_XE_MOUSEWHEEL().
func (*Element) Event_PAINT_END ¶
func (e *Element) Event_PAINT_END(pFun XE_PAINT_END) bool
该元素及子元素绘制完成事件.启用该功能需要调用XEle_EnableEvent_XE_PAINT_END().
func (*Element) Event_PAINT_END1 ¶
func (e *Element) Event_PAINT_END1(pFun XE_PAINT_END1) bool
该元素及子元素绘制完成事件.启用该功能需要调用XEle_EnableEvent_XE_PAINT_END().
func (*Element) Event_PAINT_SCROLLVIEW ¶
func (e *Element) Event_PAINT_SCROLLVIEW(pFun XE_PAINT_SCROLLVIEW) bool
滚动视图绘制事件.
func (*Element) Event_PAINT_SCROLLVIEW1 ¶
func (e *Element) Event_PAINT_SCROLLVIEW1(pFun XE_PAINT_SCROLLVIEW1) bool
滚动视图绘制事件.
func (*Element) Event_RBUTTONDOWN ¶
func (e *Element) Event_RBUTTONDOWN(pFun XE_RBUTTONDOWN) bool
鼠标右键按下事件.
func (*Element) Event_RBUTTONDOWN1 ¶
func (e *Element) Event_RBUTTONDOWN1(pFun XE_RBUTTONDOWN1) bool
鼠标右键按下事件.
func (*Element) Event_RBUTTONUP ¶
func (e *Element) Event_RBUTTONUP(pFun XE_RBUTTONUP) bool
鼠标右键弹起事件.
func (*Element) Event_RBUTTONUP1 ¶
func (e *Element) Event_RBUTTONUP1(pFun XE_RBUTTONUP1) bool
鼠标右键弹起事件.
func (*Element) Event_SETCAPTURE ¶
func (e *Element) Event_SETCAPTURE(pFun XE_SETCAPTURE) bool
元素设置鼠标捕获.
func (*Element) Event_SETCAPTURE1 ¶
func (e *Element) Event_SETCAPTURE1(pFun XE_SETCAPTURE1) bool
元素设置鼠标捕获.
func (*Element) Event_SETCURSOR1 ¶
func (e *Element) Event_SETCURSOR1(pFun XE_SETCURSOR1) bool
设置鼠标光标.
func (*Element) Event_SETFOCUS1 ¶
func (e *Element) Event_SETFOCUS1(pFun XE_SETFOCUS1) bool
元素获得焦点事件.
func (*Element) Event_XC_TIMER ¶
func (e *Element) Event_XC_TIMER(pFun XE_XC_TIMER) bool
炫彩定时器,非系统定时器,定时器消息 XM_TIMER.
func (*Element) Event_XC_TIMER1 ¶
func (e *Element) Event_XC_TIMER1(pFun XE_XC_TIMER1) bool
炫彩定时器,非系统定时器,定时器消息 XM_TIMER.
func (*Element) GetBkManagerEx ¶
元素_取背景管理器扩展, 获取元素背景管理器, 优先从资源中获取.
func (*Element) GetChildCount ¶
元素_取子对象数量, 获取子对象(UI元素和形状对象)数量, 只检测当前层子对象.
func (*Element) GetTextColorEx ¶
元素_取文本颜色扩展, 获取文本颜色, 优先从资源中获取.
func (*Element) IsEnableEvent_XE_PAINT_END ¶
元素_判断启用事件_XE_PAINT_END, 是否启XE_PAINT_END用事件.
func (*Element) IsEnable_XE_MOUSEWHEEL ¶
元素_判断启用_XE_MOUSEWHEEL, 判断是否启用鼠标滚动事件, 如果禁用那么事件会发送给他的父元素.
func (*Element) IsSwitchFocus ¶
元素_判断接受切换焦点, 是否接受通过键盘切换焦点(方向键,TAB键).
func (*Element) SetDragBorder ¶
func (e *Element) SetDragBorder(nFlags xcc.Element_Position_) int
元素_置拖动边框.
nFlags: 边框位置组合, Element_Position_.
func (*Element) SetDragBorderBindEle ¶
元素_置拖动边框绑定元素, 设置拖动边框绑定元素, 当拖动边框时, 自动调整绑定元素的大小.
nFlags: 边框位置标识, Element_Position_.
hBindEle: 绑定元素.
nSpace: 元素间隔大小.
func (*Element) SetLockScroll ¶
元素_置锁定滚动, 设置锁定元素在滚动视图中跟随滚动, 如果设置TRUE将不跟随滚动.
bHorizon: 是否锁定水平滚动.
bVertical: 是否锁定垂直滚动.
func (*Element) SetPosition ¶
func (e *Element) SetPosition(x int, y int, bRedraw bool, nFlags xcc.AdjustLayout_, nAdjustNo uint32) int
元素_移动, 如果坐标未改变返回0, 如果大小改变返回2(触发XE_SIZE), 否则返回1.
x: X坐标.
y: Y坐标.
bRedraw: 是否重绘.
nFlags: 调整布局标识位: xcc.AdjustLayout_.
nAdjustNo: 调整布局流水号, 可填0.
func (*Element) SetPositionLogic ¶
func (e *Element) SetPositionLogic(x int, y int, bRedraw bool, nFlags xcc.AdjustLayout_, nAdjustNo uint32) int
元素_移动逻辑坐标, 移动元素坐标, 逻辑坐标, 包含滚动视图偏移. 如果坐标未改变返回0, 如果大小改变返回2(触发XE_SIZE), 否则返回1.
x: X坐标.
y: Y坐标.
bRedraw: 是否重绘.
nFlags: 调整布局标识位: xcc.AdjustLayout_.
nAdjustNo: 调整布局流水号, 可填0.
func (*Element) SetRect ¶
func (e *Element) SetRect(pRect *xc.RECT, bRedraw bool, nFlags xcc.AdjustLayout_, nAdjustNo uint32) int
元素_置坐标, 如果返回0坐标没有改变, 如果大小改变返回2(触发XE_SIZE), 否则返回1(仅改变left,top,没有改变大小).
pRect: 坐标.
bRedraw: 是否重绘.
nFlags: 调整布局标识位: xcc.AdjustLayout_.
nAdjustNo: 调整布局流水号, 可填0.
func (*Element) SetRectEx ¶
func (e *Element) SetRectEx(x int, y int, cx int, cy int, bRedraw bool, nFlags xcc.AdjustLayout_, nAdjustNo uint32) int
元素_置坐标扩展, 如果坐标未改变返回0, 如果大小改变返回2(触发XE_SIZE), 否则返回1.
x: X坐标.
y: Y坐标.
cx: 宽度.
cy: 高度.
bRedraw: 是否重绘.
nFlags: 调整布局标识位: xcc.AdjustLayout_.
nAdjustNo: 调整布局流水号, 可填0.
func (*Element) SetRectLogic ¶
func (e *Element) SetRectLogic(pRect *xc.RECT, bRedraw bool, nFlags xcc.AdjustLayout_, nAdjustNo uint32) int
元素_置逻辑坐标, 如果坐标未改变返回0, 如果大小改变返回2(触发XE_SIZE), 否则返回1.
pRect: 坐标.
bRedraw: 是否重绘.
nFlags: 调整布局标识位: xcc.AdjustLayout_. 此参数将会传入XE_SIZE ,XE_ADJUSTLAYOUT 事件回调.
nAdjustNo: 调整布局流水号, 可填0.
func (*Element) SetSize ¶
func (e *Element) SetSize(nWidth int, nHeight int, bRedraw bool, nFlags xcc.AdjustLayout_, nAdjustNo uint32) int
元素_置大小.
nWidth: 宽度.
nHeight: 高度.
bRedraw: 是否重绘.
nFlags: 调整布局标识位: xcc.AdjustLayout_.
nAdjustNo: 调整布局流水号, 可填0.
func (*Element) SetToolTipEx ¶
func (e *Element) SetToolTipEx(pText string, nTextAlign xcc.TextFormatFlag_) int
元素_置工具提示扩展, 设置工具提示内容.
pText: 工具提示内容.
nTextAlign: 文本对齐方式, TextFormatFlag_, TextAlignFlag_, TextTrimming_.
type LayoutEle ¶
type LayoutEle struct {
Element
}
LayoutEle 布局元素.
func NewLayoutEle ¶
NewLayoutEle 布局_创建, 创建布局元素.
@param x 元素x坐标. @param y 元素y坐标. @param cx 宽度. @param cy 高度. @param hParent 父为窗口句柄或元素句柄. @return *LayoutEle
func NewLayoutEleByLayout ¶
NewLayoutEleByLayout 从布局文件创建对象, 失败返回nil.
@param pFileName 布局文件名. @param hParent 父对象句柄. @param hAttachWnd 附加窗口句柄, 附加到指定的窗口, 可填0. @return *LayoutEle
func NewLayoutEleByLayoutZip ¶
func NewLayoutEleByLayoutZip(pZipFileName string, pFileName string, pPassword string, hParent int, hAttachWnd int) *LayoutEle
NewLayoutEleByLayoutZip 从压缩包中的布局文件创建对象, 失败返回nil.
@param pZipFileName zip文件名. @param pFileName 布局文件名. @param pPassword zip密码. @param hParent 父对象句柄. @param hAttachWnd 附加窗口句柄, 附加到指定的窗口, 可填0. @return *LayoutEle
func NewLayoutEleByLayoutZipMem ¶
func NewLayoutEleByLayoutZipMem(data []byte, pFileName string, pPassword string, hParent int, hAttachWnd int) *LayoutEle
NewLayoutEleByLayoutZipMem 从内存压缩包中的布局文件创建对象, 失败返回nil.
@param data 布局文件数据. @param pFileName 布局文件名. @param pPassword zip密码. @param hParent 父对象句柄. @param hAttachWnd 附加窗口句柄, 附加到指定的窗口, 可填0. @return *LayoutEle
func NewLayoutEleByStringW ¶
NewLayoutEleByStringW 从布局文件字符串W创建对象, 失败返回nil.
@param pStringXML 字符串. @param hParent 父对象. @param hAttachWnd 附加窗口句柄, 附加到指定的窗口, 可填0. @return *LayoutEle
func NewLayoutEleByUIDName ¶
NewLayoutEleByUIDName 从UID名称创建对象, 失败返回nil.
@param name @return *LayoutEle
func NewLayoutEleEx ¶
NewLayoutEleEx 布局_创建扩展, 创建布局元素.
@param hParent 父为窗口句柄或元素句柄. @return *LayoutEle
func (*LayoutEle) EnableOverflowHide ¶
EnableOverflowHide 布局盒子_启用溢出隐藏.
@param bEnable 是否启用. @return int
func (*LayoutEle) SetAlignBaseline ¶
func (l *LayoutEle) SetAlignBaseline(nAlign xcc.Layout_Align_Axis_) int
SetAlignBaseline 布局盒子_置对齐基线.
@param nAlign 对齐方式: xcc.Layout_Align_Axis_. @return int
func (*LayoutEle) SetAlignH ¶
func (l *LayoutEle) SetAlignH(nAlign xcc.Layout_Align_) int
SetAlignH 布局盒子_置水平对齐.
@param nAlign 对齐方式: xcc.Layout_Align_. @return int
func (*LayoutEle) SetAlignV ¶
func (l *LayoutEle) SetAlignV(nAlign xcc.Layout_Align_) int
SetAlignV 布局盒子_置垂直对齐.
@param nAlign 对齐方式: xcc.Layout_Align_. @return int
func (*LayoutEle) ShowLayoutFrame ¶
ShowLayoutFrame 布局_显示布局边界, 显示布局边界.
@param bEnable 是否显示. @return int
type LayoutFrame ¶
type LayoutFrame struct {
ScrollView
}
LayoutFrame 布局框架.
func NewLayoutFrame ¶
NewLayoutFrame 布局框架_创建.
@param x 元素x坐标. @param y 元素y坐标. @param cx 宽度. @param cy 高度. @param hParent 父为窗口句柄或元素句柄. @return *LayoutFrame
func NewLayoutFrameByHandle ¶
func NewLayoutFrameByHandle(handle int) *LayoutFrame
NewLayoutFrameByHandle 从句柄创建对象.
@param handle @return *LayoutFrame
func NewLayoutFrameByName ¶
func NewLayoutFrameByName(name string) *LayoutFrame
NewLayoutFrameByName 从name创建对象, 失败返回nil.
@param name @return *LayoutFrame
func NewLayoutFrameByUID ¶
func NewLayoutFrameByUID(nUID int) *LayoutFrame
NewLayoutFrameByUID 从UID创建对象, 失败返回nil.
@param nUID @return *LayoutFrame
func NewLayoutFrameByUIDName ¶
func NewLayoutFrameByUIDName(name string) *LayoutFrame
NewLayoutFrameByUIDName 从UID名称创建对象, 失败返回nil.
@param name @return *LayoutFrame
func (*LayoutFrame) EnableAutoWrap ¶
func (l *LayoutFrame) EnableAutoWrap(bEnable bool) int
EnableAutoWrap 布局盒子_启用自动换行.
@param bEnable 是否启用. @return int
func (*LayoutFrame) EnableHorizon ¶
func (l *LayoutFrame) EnableHorizon(bEnable bool) int
EnableHorizon 布局盒子_启用水平.
@param bEnable 是否启用. @return int
func (*LayoutFrame) EnableOverflowHide ¶
func (l *LayoutFrame) EnableOverflowHide(bEnable bool) int
EnableOverflowHide 布局盒子_启用溢出隐藏.
@param bEnable 是否启用. @return int
func (*LayoutFrame) SetAlignBaseline ¶
func (l *LayoutFrame) SetAlignBaseline(nAlign xcc.Layout_Align_Axis_) int
SetAlignBaseline 布局盒子_置对齐基线.
@param nAlign 对齐方式: xcc.Layout_Align_Axis_. @return int
func (*LayoutFrame) SetAlignH ¶
func (l *LayoutFrame) SetAlignH(nAlign xcc.Layout_Align_) int
SetAlignH 布局盒子_置水平对齐.
@param nAlign 对齐方式: xcc.Layout_Align_. @return int
func (*LayoutFrame) SetAlignV ¶
func (l *LayoutFrame) SetAlignV(nAlign xcc.Layout_Align_) int
SetAlignV 布局盒子_置垂直对齐.
@param nAlign 对齐方式: xcc.Layout_Align_. @return int
func (*LayoutFrame) SetSpace ¶
func (l *LayoutFrame) SetSpace(nSpace int) int
SetSpace 布局盒子_置间距.
@param nSpace 项间距大小. @return int
func (*LayoutFrame) SetSpaceRow ¶
func (l *LayoutFrame) SetSpaceRow(nSpace int) int
SetSpaceRow 布局盒子_置行距.
@param nSpace 行间距大小. @return int
func (*LayoutFrame) ShowLayoutFrame ¶
func (l *LayoutFrame) ShowLayoutFrame(bEnable bool) int
ShowLayoutFrame 布局框架_显示布局边界.
@param bEnable 是否启用. @return int
type List ¶
type List struct {
ScrollView
}
列表.
func NewList ¶
列表_创建, 创建列表元素.
x: 元素x坐标.
y: 元素y坐标.
cx: 宽度.
cy: 高度.
hParent: 父是窗口资源句柄或UI元素资源句柄. 如果是窗口资源句柄将被添加到窗口, 如果是元素资源句柄将被添加到元素.
func (*List) CancelSelectAll ¶
列表_取消全部选择项, 取消选择所有项(这里的项可以理解为行).
func (*List) CreateAdapter ¶
列表_创建数据适配器, 创建数据适配器,根据绑定的项模板初始化数据适配器的列, 返回适配器句柄.
func (*List) CreateAdapterHeader ¶
列表_列表头创建数据适配器, 创建数据适配器,根据绑定的项模板初始化数据适配器的列, 返回适配器句柄.
func (*List) DeleteColumnAll ¶
列表_删除全部列, 删除所有的列, 仅删除List的, 数据适配器的列不变.
func (*List) Event_LIST_DRAWITEM ¶
func (l *List) Event_LIST_DRAWITEM(pFun XE_LIST_DRAWITEM) bool
列表元素,绘制项.
func (*List) Event_LIST_DRAWITEM1 ¶
func (l *List) Event_LIST_DRAWITEM1(pFun XE_LIST_DRAWITEM1) bool
列表元素,绘制项.
func (*List) Event_LIST_HEADER_CLICK ¶
func (l *List) Event_LIST_HEADER_CLICK(pFun XE_LIST_HEADER_CLICK) bool
列表元素,列表头项点击事件.
func (*List) Event_LIST_HEADER_CLICK1 ¶
func (l *List) Event_LIST_HEADER_CLICK1(pFun XE_LIST_HEADER_CLICK1) bool
列表元素,列表头项点击事件.
func (*List) Event_LIST_HEADER_DRAWITEM ¶
func (l *List) Event_LIST_HEADER_DRAWITEM(pFun XE_LIST_HEADER_DRAWITEM) bool
列表元素绘制列表头项.
func (*List) Event_LIST_HEADER_DRAWITEM1 ¶
func (l *List) Event_LIST_HEADER_DRAWITEM1(pFun XE_LIST_HEADER_DRAWITEM1) bool
列表元素绘制列表头项.
func (*List) Event_LIST_HEADER_TEMP_ADJUST_COORDINATE ¶
func (l *List) Event_LIST_HEADER_TEMP_ADJUST_COORDINATE(pFun XE_LIST_HEADER_TEMP_ADJUST_COORDINATE) bool
列表元素,列表头项模板调整坐标. 已停用.
func (*List) Event_LIST_HEADER_TEMP_ADJUST_COORDINATE1 ¶
func (l *List) Event_LIST_HEADER_TEMP_ADJUST_COORDINATE1(pFun XE_LIST_HEADER_TEMP_ADJUST_COORDINATE1) bool
列表元素,列表头项模板调整坐标. 已停用.
func (*List) Event_LIST_HEADER_TEMP_CREATE ¶
func (l *List) Event_LIST_HEADER_TEMP_CREATE(pFun XE_LIST_HEADER_TEMP_CREATE) bool
列表元素,列表头项模板创建.
func (*List) Event_LIST_HEADER_TEMP_CREATE1 ¶
func (l *List) Event_LIST_HEADER_TEMP_CREATE1(pFun XE_LIST_HEADER_TEMP_CREATE1) bool
列表元素,列表头项模板创建.
func (*List) Event_LIST_HEADER_TEMP_CREATE_END ¶
func (l *List) Event_LIST_HEADER_TEMP_CREATE_END(pFun XE_LIST_HEADER_TEMP_CREATE_END) bool
列表元素,列表头项模板创建完成事件.
func (*List) Event_LIST_HEADER_TEMP_CREATE_END1 ¶
func (l *List) Event_LIST_HEADER_TEMP_CREATE_END1(pFun XE_LIST_HEADER_TEMP_CREATE_END1) bool
列表元素,列表头项模板创建完成事件.
func (*List) Event_LIST_HEADER_TEMP_DESTROY ¶
func (l *List) Event_LIST_HEADER_TEMP_DESTROY(pFun XE_LIST_HEADER_TEMP_DESTROY) bool
列表元素,列表头项模板销毁.
func (*List) Event_LIST_HEADER_TEMP_DESTROY1 ¶
func (l *List) Event_LIST_HEADER_TEMP_DESTROY1(pFun XE_LIST_HEADER_TEMP_DESTROY1) bool
列表元素,列表头项模板销毁.
func (*List) Event_LIST_HEADER_WIDTH_CHANGE ¶
func (l *List) Event_LIST_HEADER_WIDTH_CHANGE(pFun XE_LIST_HEADER_WIDTH_CHANGE) bool
列表元素,列表头项宽度改变事件.
func (*List) Event_LIST_HEADER_WIDTH_CHANGE1 ¶
func (l *List) Event_LIST_HEADER_WIDTH_CHANGE1(pFun XE_LIST_HEADER_WIDTH_CHANGE1) bool
列表元素,列表头项宽度改变事件.
func (*List) Event_LIST_SELECT ¶
func (l *List) Event_LIST_SELECT(pFun XE_LIST_SELECT) bool
列表元素,项选择事件.
func (*List) Event_LIST_SELECT1 ¶
func (l *List) Event_LIST_SELECT1(pFun XE_LIST_SELECT1) bool
列表元素,项选择事件.
func (*List) Event_LIST_TEMP_ADJUST_COORDINATE ¶
func (l *List) Event_LIST_TEMP_ADJUST_COORDINATE(pFun XE_LIST_TEMP_ADJUST_COORDINATE) bool
列表元素,项模板调整坐标. 已停用.
func (*List) Event_LIST_TEMP_ADJUST_COORDINATE1 ¶
func (l *List) Event_LIST_TEMP_ADJUST_COORDINATE1(pFun XE_LIST_TEMP_ADJUST_COORDINATE1) bool
列表元素,项模板调整坐标. 已停用.
func (*List) Event_LIST_TEMP_CREATE ¶
func (l *List) Event_LIST_TEMP_CREATE(pFun XE_LIST_TEMP_CREATE) bool
列表元素-项模板创建事件,模板复用机制需先启用;替换模板无效判断nFlag,因为内部会检查模板是否改变,不用担心重复.
func (*List) Event_LIST_TEMP_CREATE1 ¶
func (l *List) Event_LIST_TEMP_CREATE1(pFun XE_LIST_TEMP_CREATE1) bool
列表元素-项模板创建事件,模板复用机制需先启用;替换模板无效判断nFlag,因为内部会检查模板是否改变,不用担心重复.
func (*List) Event_LIST_TEMP_CREATE_END ¶
func (l *List) Event_LIST_TEMP_CREATE_END(pFun XE_LIST_TEMP_CREATE_END) bool
列表元素-项模板创建完成事件,模板复用机制需先启用;不管是新建还是复用,都需要更新数据, 当为复用时不要注册事件以免重复注册.
func (*List) Event_LIST_TEMP_CREATE_END1 ¶
func (l *List) Event_LIST_TEMP_CREATE_END1(pFun XE_LIST_TEMP_CREATE_END1) bool
列表元素-项模板创建完成事件,模板复用机制需先启用;不管是新建还是复用,都需要更新数据, 当为复用时不要注册事件以免重复注册.
func (*List) Event_LIST_TEMP_DESTROY ¶
func (l *List) Event_LIST_TEMP_DESTROY(pFun XE_LIST_TEMP_DESTROY) bool
列表元素,项模板销毁.
func (*List) Event_LIST_TEMP_DESTROY1 ¶
func (l *List) Event_LIST_TEMP_DESTROY1(pFun XE_LIST_TEMP_DESTROY1) bool
列表元素,项模板销毁.
func (*List) GetHeaderItemIndexFromHXCGUI ¶
列表_取列表头对象所在行, 列表头, 获取当前对象所在模板实例, 属于列表头中哪一个项. 成功返回项索引, 否则返回XC_ID_ERROR.
hXCGUI: 对象句柄.
func (*List) GetHeaderTemplateObject ¶
列表_取列表头模板对象, 列表头, 通过模板项ID, 获取实例化模板项ID对应的对象句柄.
iItem: 列表头项ID.
nTempItemID: 模板项ID.
func (*List) GetItemIndexFromHXCGUI ¶
列表_取对象所在行, 获取当前对象所在模板实例, 属于列表中哪一个项. 成功返回项索引, 否则返回XC_ID_ERROR.
hXCGUI: 对象句柄, UI元素句柄或形状对象句柄.
func (*List) GetTemplateObject ¶
列表_取项模板对象, 通过模板项ID, 获取实例化模板项ID对应的对象句柄.
iItem: 项索引.
iSubItem: 子项索引.
nTempItemID: 模板项itemID.
func (*List) HitTestOffset ¶
列表_测试点击项扩展, 检查坐标点所在项, 自动添加滚动视图偏移量.
pPt: 坐标点.
piItem: 项索引.
piSubItem: 子项索引.
func (*List) SetDrawItemBkFlags ¶
func (l *List) SetDrawItemBkFlags(nFlags xcc.List_DrawItemBk_Flag_) int
列表_置绘制项背景标志, 设置是否绘制指定状态下项的背景.
nFlags: 标志位, List_DrawItemBk_Flag_.
func (*List) SetSort ¶
列表_置排序, 设置排序属性.
iColumn: 列索引.
iColumnAdapter: 需要排序的数据在数据适配器中的列索引.
bEnable: 是否启用排序功能.
type ListBox ¶
type ListBox struct {
ScrollView
}
列表框.
func NewListBox ¶
列表框_创建, 创建列表框元素.
x: 元素x坐标.
y: 元素y坐标.
cx: 宽度.
cy: 高度.
hParent: 父是窗口资源句柄或UI元素资源句柄. 如果是窗口资源句柄将被添加到窗口, 如果是元素资源句柄将被添加到元素.
func (*ListBox) CancelSelectAll ¶
列表框_取消选择全部, 如果之前有选择状态的项返回TRUE, 此时可以更新UI, 否则返回FALSE.
func (*ListBox) CreateAdapter ¶
列表框_创建数据适配器, 创建数据适配器并绑定, 根据绑定的项模板初始化数据适配器的列, 返回适配器句柄.
func (*ListBox) Event_LISTBOX_DRAWITEM ¶
func (l *ListBox) Event_LISTBOX_DRAWITEM(pFun XE_LISTBOX_DRAWITEM) bool
列表框元素,项绘制事件.
func (*ListBox) Event_LISTBOX_DRAWITEM1 ¶
func (l *ListBox) Event_LISTBOX_DRAWITEM1(pFun XE_LISTBOX_DRAWITEM1) bool
列表框元素,项绘制事件.
func (*ListBox) Event_LISTBOX_SELECT ¶
func (l *ListBox) Event_LISTBOX_SELECT(pFun XE_LISTBOX_SELECT) bool
列表框元素,项选择事件.
func (*ListBox) Event_LISTBOX_SELECT1 ¶
func (l *ListBox) Event_LISTBOX_SELECT1(pFun XE_LISTBOX_SELECT1) bool
列表框元素,项选择事件.
func (*ListBox) Event_LISTBOX_TEMP_ADJUST_COORDINATE ¶
func (l *ListBox) Event_LISTBOX_TEMP_ADJUST_COORDINATE(pFun XE_LISTBOX_TEMP_ADJUST_COORDINATE) bool
列表框元素,项模板调整坐标. 已停用.
func (*ListBox) Event_LISTBOX_TEMP_ADJUST_COORDINATE1 ¶
func (l *ListBox) Event_LISTBOX_TEMP_ADJUST_COORDINATE1(pFun XE_LISTBOX_TEMP_ADJUST_COORDINATE1) bool
列表框元素,项模板调整坐标. 已停用.
func (*ListBox) Event_LISTBOX_TEMP_CREATE ¶
func (l *ListBox) Event_LISTBOX_TEMP_CREATE(pFun XE_LISTBOX_TEMP_CREATE) bool
列表框元素-项模板创建事件, 模板复用机制需先启用; 替换模板无效判断nFlag,因为内部会检查模板是否改变,不用担心重复.
func (*ListBox) Event_LISTBOX_TEMP_CREATE1 ¶
func (l *ListBox) Event_LISTBOX_TEMP_CREATE1(pFun XE_LISTBOX_TEMP_CREATE1) bool
列表框元素-项模板创建事件, 模板复用机制需先启用; 替换模板无效判断nFlag,因为内部会检查模板是否改变,不用担心重复.
func (*ListBox) Event_LISTBOX_TEMP_CREATE_END ¶
func (l *ListBox) Event_LISTBOX_TEMP_CREATE_END(pFun XE_LISTBOX_TEMP_CREATE_END) bool
列表框元素-项模板创建完成事件,模板复用机制需先启用;不管是新建还是复用,都需要更新数据, 当为复用时不要注册事件以免重复注册.
func (*ListBox) Event_LISTBOX_TEMP_CREATE_END1 ¶
func (l *ListBox) Event_LISTBOX_TEMP_CREATE_END1(pFun XE_LISTBOX_TEMP_CREATE_END1) bool
列表框元素-项模板创建完成事件,模板复用机制需先启用;不管是新建还是复用,都需要更新数据, 当为复用时不要注册事件以免重复注册.
func (*ListBox) Event_LISTBOX_TEMP_DESTROY ¶
func (l *ListBox) Event_LISTBOX_TEMP_DESTROY(pFun XE_LISTBOX_TEMP_DESTROY) bool
列表框元素,项模板销毁.
func (*ListBox) Event_LISTBOX_TEMP_DESTROY1 ¶
func (l *ListBox) Event_LISTBOX_TEMP_DESTROY1(pFun XE_LISTBOX_TEMP_DESTROY1) bool
列表框元素,项模板销毁.
func (*ListBox) GetItemIndexFromHXCGUI ¶
列表框_取所在行索引, 获取当前对象所在模板实例, 属于列表中哪一个项(行). 成功返回项索引, 否则返回XC_ID_ERROR.
hXCGUI: 对象句柄, UI元素句柄或形状对象句柄.
func (*ListBox) GetItemInfo ¶
func (l *ListBox) GetItemInfo(iItem int, pItem *xc.ListBox_Item_Info_) bool
列表框_取项背景信息, 获取项信息.
iItem: 项索引.
pItem: 项信息.
func (*ListBox) GetTemplateObject ¶
列表框_取模板对象, 通过模板项ID, 获取实例化模板项ID对应的对象句柄, 成功返回对象句柄, 否则返回NULL.
iItem: 项索引.
nTempItemID: 模板项ID.
func (*ListBox) SetDrawItemBkFlags ¶
func (l *ListBox) SetDrawItemBkFlags(nFlags xcc.List_DrawItemBk_Flag_) int
列表框_置绘制项背景标志, 设置是否绘制指定状态下项的背景.
nFlags: 标志位, List_DrawItemBk_Flag_.
func (*ListBox) SetItemInfo ¶
func (l *ListBox) SetItemInfo(iItem int, pItem *xc.ListBox_Item_Info_) bool
列表框_置项信息.
iItem: 项索引.
pItem: 项信息.
type ListView ¶
type ListView struct {
ScrollView
}
列表视图.
func NewListView ¶
列表视_创建.
x: 元素x坐标.
y: 元素y坐标.
cx: 宽度.
cy: 高度.
hParent: 父是窗口资源句柄或UI元素资源句柄. 如果是窗口资源句柄将被添加到窗口, 如果是元素资源句柄将被添加到元素.
func (*ListView) CreateAdapter ¶
列表视_创建数据适配器, 创建数据适配器,根据绑定的项模板初始化数据适配器的列, 返回适配器句柄.
func (*ListView) Event_LISTVIEW_DRAWITEM ¶
func (l *ListView) Event_LISTVIEW_DRAWITEM(pFun XE_LISTVIEW_DRAWITEM) bool
列表视元素,自绘项.
func (*ListView) Event_LISTVIEW_DRAWITEM1 ¶
func (l *ListView) Event_LISTVIEW_DRAWITEM1(pFun XE_LISTVIEW_DRAWITEM1) bool
列表视元素,自绘项.
func (*ListView) Event_LISTVIEW_EXPAND ¶
func (l *ListView) Event_LISTVIEW_EXPAND(pFun XE_LISTVIEW_EXPAND) bool
列表视元素,组展开收缩事件.
func (*ListView) Event_LISTVIEW_EXPAND1 ¶
func (l *ListView) Event_LISTVIEW_EXPAND1(pFun XE_LISTVIEW_EXPAND1) bool
列表视元素,组展开收缩事件.
func (*ListView) Event_LISTVIEW_SELECT ¶
func (l *ListView) Event_LISTVIEW_SELECT(pFun XE_LISTVIEW_SELECT) bool
列表视元素,项选择事件.
func (*ListView) Event_LISTVIEW_SELECT1 ¶
func (l *ListView) Event_LISTVIEW_SELECT1(pFun XE_LISTVIEW_SELECT1) bool
列表视元素,项选择事件.
func (*ListView) Event_LISTVIEW_TEMP_ADJUST_COORDINATE ¶
func (l *ListView) Event_LISTVIEW_TEMP_ADJUST_COORDINATE(pFun XE_LISTVIEW_TEMP_ADJUST_COORDINATE) bool
列表视元素,项模板调整坐标.已停用.
func (*ListView) Event_LISTVIEW_TEMP_ADJUST_COORDINATE1 ¶
func (l *ListView) Event_LISTVIEW_TEMP_ADJUST_COORDINATE1(pFun XE_LISTVIEW_TEMP_ADJUST_COORDINATE1) bool
列表视元素,项模板调整坐标.已停用.
func (*ListView) Event_LISTVIEW_TEMP_CREATE ¶
func (l *ListView) Event_LISTVIEW_TEMP_CREATE(pFun XE_LISTVIEW_TEMP_CREATE) bool
列表视元素-项模板创建事件,模板复用机制需先启用; 替换模板无效判断nFlag,因为内部会检查模板是否改变,不用担心重复.
func (*ListView) Event_LISTVIEW_TEMP_CREATE1 ¶
func (l *ListView) Event_LISTVIEW_TEMP_CREATE1(pFun XE_LISTVIEW_TEMP_CREATE1) bool
列表视元素-项模板创建事件,模板复用机制需先启用; 替换模板无效判断nFlag,因为内部会检查模板是否改变,不用担心重复.
func (*ListView) Event_LISTVIEW_TEMP_CREATE_END ¶
func (l *ListView) Event_LISTVIEW_TEMP_CREATE_END(pFun XE_LISTVIEW_TEMP_CREATE_END) bool
列表视元素-项模板创建完成事件,模板复用机制需先启用; 不管是新建还是复用,都需要更新数据, 当为复用时不要注册事件以免重复注册.
func (*ListView) Event_LISTVIEW_TEMP_CREATE_END1 ¶
func (l *ListView) Event_LISTVIEW_TEMP_CREATE_END1(pFun XE_LISTVIEW_TEMP_CREATE_END1) bool
列表视元素-项模板创建完成事件,模板复用机制需先启用; 不管是新建还是复用,都需要更新数据, 当为复用时不要注册事件以免重复注册.
func (*ListView) Event_LISTVIEW_TEMP_DESTROY ¶
func (l *ListView) Event_LISTVIEW_TEMP_DESTROY(pFun XE_LISTVIEW_TEMP_DESTROY) bool
列表视元素-项模板销毁, 模板复用机制需先启用;.
func (*ListView) Event_LISTVIEW_TEMP_DESTROY1 ¶
func (l *ListView) Event_LISTVIEW_TEMP_DESTROY1(pFun XE_LISTVIEW_TEMP_DESTROY1) bool
列表视元素-项模板销毁, 模板复用机制需先启用;.
func (*ListView) ExpandGroup ¶
列表视_展开组, 成功返回TRUE否则返回FALSE, 如果状态没有改变返回FALSE.
iGroup: 组索引.
bExpand: 是否展开.
func (*ListView) GetItemIDFromHXCGUI ¶
列表视_取对象所在项, 获取当前对象所在模板实例, 属于列表视中哪一个项.
hXCGUI: 对象句柄, UI元素句柄或形状对象句柄.
piGroup: 接收组索引.
piItem: 接收项索引.
func (*ListView) GetTemplateObject ¶
列表视_取模板对象, 通过模板项ID, 获取实例化模板项ID对应的对象句柄.
iGroup: 组索引.
iItem: 项索引.
nTempItemID: 模板项ID.
func (*ListView) GetTemplateObjectGroup ¶
列表视_取模板对象组, 通过模板项ID, 获取实例化模板项ID对应的对象句柄.
iGroup: 组索引.
nTempItemID: 模板项ID.
func (*ListView) GetVisibleItemRange ¶
func (l *ListView) GetVisibleItemRange(piGroup1 *int, piGroup2 *int, piStartGroup *int, piStartItem *int, piEndGroup *int, piEndItem *int) int
列表视_取可视项范围, 获取当前可见项范围.
piGroup1: 可视开始组.
piGroup2: 可视结束组.
piStartGroup: 可视开始组.
piStartItem: 可视开始项.
piEndGroup: 可视结束组.
piEndItem: 可视结束项.
func (*ListView) HitTestOffset ¶
列表视_测试点击项扩展, 检查坐标点所在项, 自动添加滚动视图偏移量.
pPt: 坐标点.
pOutGroup: 接收做索引.
pOutItem: 接收项索引.
func (*ListView) Item_AddItemImage ¶
列表视_项添加图片, 返回项索引.
iGroup: 组索引.
hImage: 图片句柄.
iPos: 插入位置, -1添加到末尾.
func (*ListView) Item_AddItemImageEx ¶
列表视_项添加图片扩展, 返回项索引.
iGroup: 组索引.
pName: 字段名.
hImage: 图片句柄.
iPos: 插入位置, -1添加到末尾.
func (*ListView) Item_AddItemTextEx ¶
列表视_项添加文本扩展, 返回项索引.
iGroup: 组索引.
pName: 字段名.
pValue: 值.
iPos: 插入位置, -1添加到末尾.
func (*ListView) SetDrawItemBkFlags ¶
func (l *ListView) SetDrawItemBkFlags(nFlags xcc.List_DrawItemBk_Flag_) int
列表视_置项背景绘制标志, 置是否绘制指定状态下项的背景.
nFlags: 标志位: List_DrawItemBk_Flag_.
type Menu ¶
type Menu struct {
objectbase.ObjectBase
}
弹出菜单.
func (*Menu) AddItem ¶
菜单_添加项, 添加菜单项.
nID: 项ID.
pText: 文本内容.
nParentID: 父项ID.
nFlags: 标识, Menu_Item_Flag_.
func (*Menu) AddItemIcon ¶
func (m *Menu) AddItemIcon(nID int, pText string, nParentID int, hIcon int, nFlags xcc.Menu_Item_Flag_) int
菜单_添加项图标.
nID: 项ID.
pText: 文本内容.
nParentID: 父项ID.
hIcon: 菜单项图标句柄.
nFlags: 标识, Menu_Item_Flag_.
func (*Menu) EnableDrawBackground ¶
菜单_启用用户绘制背景, 是否有用户绘制菜单背景, 如果启用XWM_MENU_DRAW_BACKGROUND和XE_MENU_DRAW_BACKGROUND事件有效.
bEnable: 是否启用.
func (*Menu) EnableDrawItem ¶
菜单_启用用户绘制项, 是否有用户绘制菜单项, 如果启用XWM_MENU_DRAWITEM和XE_MENU_DRAWITEM事件有效.
bEnable: 是否启用.
func (*Menu) InsertItem ¶
菜单_插入项.
nID: 项ID.
pText: 文本内容.
nFlags: 标识, Menu_Item_Flag_.
insertID: 插入位置ID.
func (*Menu) InsertItemIcon ¶
func (m *Menu) InsertItemIcon(nID int, pText string, hIcon int, nFlags xcc.Menu_Item_Flag_, insertID int) int
菜单_插入项图标.
nID: 项ID.
pText: 文本内容.
hIcon: 菜单项图标句柄.
nFlags: 标识, Menu_Item_Flag_.
insertID: 插入位置ID.
func (*Menu) Popup ¶
func (m *Menu) Popup(hParentWnd int, x int, y int, hParentEle int, nPosition xcc.Menu_Popup_Position_) bool
菜单_弹出.
hParentWnd: 父窗口句柄.
x: x坐标.
y: y坐标.
hParentEle: 父元素句柄, 如果该值不为NULL, hParentEle元素将接收菜单消息事件, 否则将由hParentWnd窗口接收菜单的消息事件.
nPosition: 弹出位置, Menu_Popup_Position_.
func (*Menu) SetBorderSize ¶
菜单_置边框大小, 设置弹出菜单窗口边框大小.
nLeft: 边大小.
nTop: 边大小.
nRight: 边大小.
nBottom: 边大小.
type MenuBar ¶
type MenuBar struct {
Element
}
菜单条.
func NewMenuBar ¶
菜单条_创建, 创建菜单条元素; 如果指定了父为窗口, 默认调用XWnd_AddMenuBar()函数, 将菜单条添加到窗口非客户区.
x: 元素x坐标.
y: 元素y坐标.
cx: 宽度.
cy: 高度.
hParent: 父是窗口资源句柄或UI元素资源句柄. 如果是窗口资源句柄将被添加到窗口, 如果是元素资源句柄将被添加到元素.
type MonthCal ¶
type MonthCal struct {
Element
}
月历卡片.
func (*MonthCal) Event_MONTHCAL_CHANGE ¶
func (m *MonthCal) Event_MONTHCAL_CHANGE(pFun XE_MONTHCAL_CHANGE) bool
月历元素日期改变事件.
func (*MonthCal) Event_MONTHCAL_CHANGE1 ¶
func (m *MonthCal) Event_MONTHCAL_CHANGE1(pFun XE_MONTHCAL_CHANGE1) bool
月历元素日期改变事件.
type Pane ¶
type Pane struct {
Element
}
Pane元素.
func (*Pane) GetState ¶
func (p *Pane) GetState() xcc.Pane_State_
窗格_取状态, 获取窗格停靠状态, 返回: Pane_State_.
type ProgressBar ¶
type ProgressBar struct {
Element
}
进度条.
func NewProgressBar ¶
进度条_创建, 创建进度条元素.
x: 元素x坐标.
y: 元素y坐标.
cx: 宽度.
cy: 高度.
hParent: 父是窗口资源句柄或UI元素资源句柄.如果是窗口资源句柄将被添加到窗口.
func NewProgressBarByUIDName ¶
func NewProgressBarByUIDName(name string) *ProgressBar
从UID名称创建对象, 失败返回nil.
func (*ProgressBar) EnableHorizon ¶
func (p *ProgressBar) EnableHorizon(bHorizon bool) int
进度条_置水平, 设置水平或垂直.
bHorizon: 水平或垂直.
func (*ProgressBar) EnableShowText ¶
func (p *ProgressBar) EnableShowText(bShow bool) bool
进度条_启用进度文本 显示进度值文本.
bShow: 是否启用.
func (*ProgressBar) EnableStretch ¶
func (p *ProgressBar) EnableStretch(bStretch bool) bool
进度条_启用缩放, 缩放进度贴图为当前进度区域(当前进度所显示区域), 否则为整体100进度区域.
bStretch: 缩放.
func (*ProgressBar) Event_PROGRESSBAR_CHANGE ¶
func (p *ProgressBar) Event_PROGRESSBAR_CHANGE(pFun XE_PROGRESSBAR_CHANGE) bool
进度条元素,进度改变事件.
func (*ProgressBar) Event_PROGRESSBAR_CHANGE1 ¶
func (p *ProgressBar) Event_PROGRESSBAR_CHANGE1(pFun XE_PROGRESSBAR_CHANGE1) bool
进度条元素,进度改变事件.
func (*ProgressBar) SetImageLoad ¶
func (p *ProgressBar) SetImageLoad(hImage int) int
进度条_置进度图片.
hImage: 图片句柄.
func (*ProgressBar) SetRange ¶
func (p *ProgressBar) SetRange(range_ int) int
进度条_置范围, 设置范围.
range_: 范围.
type ScrollBar ¶
type ScrollBar struct {
Element
}
滚动条.
func NewScrollBar ¶
滚动条_创建, 创建滚动条元素, 返回元素句柄.
x: 元素x坐标.
y: 元素y坐标.
cx: 宽度.
cy: 高度.
hParent: 父是窗口资源句柄或UI元素资源句柄. 如果是窗口资源句柄将被添加到窗口, 如果是元素资源句柄将被添加到元素.
func NewScrollBarByUIDName ¶
从UID名称创建对象, 失败返回nil.
func (*ScrollBar) Event_SBAR_SCROLL ¶
func (s *ScrollBar) Event_SBAR_SCROLL(pFun XE_SBAR_SCROLL) bool
滚动条元素滚动事件,滚动条触发.
func (*ScrollBar) Event_SBAR_SCROLL1 ¶
func (s *ScrollBar) Event_SBAR_SCROLL1(pFun XE_SBAR_SCROLL1) bool
滚动条元素滚动事件,滚动条触发.
func (*ScrollBar) GetButtonSlider ¶
滚动条_取滑块, 获取滑动按钮, 返回按钮句柄.
type ScrollView ¶
type ScrollView struct {
Element
}
滚动视图.
func NewScrollView ¶
滚动视_创建, 创建滚动视图元素, 返回元素句柄.
x: 元素x坐标.
y: 元素y坐标.
cx: 宽度.
cy: 高度.
hParent: 父是窗口资源句柄或UI元素资源句柄. 如果是窗口资源句柄将被添加到窗口, 如果是元素资源句柄将被添加到元素.
func NewScrollViewByUIDName ¶
func NewScrollViewByUIDName(name string) *ScrollView
从UID名称创建对象, 失败返回nil.
func (*ScrollView) EnableAutoShowScrollBar ¶
func (s *ScrollView) EnableAutoShowScrollBar(bEnable bool) int
滚动视_启用自动显示滚动条.
bEnable: 是否启用.
func (*ScrollView) Event_SCROLLVIEW_SCROLL_H ¶
func (s *ScrollView) Event_SCROLLVIEW_SCROLL_H(pFun XE_SCROLLVIEW_SCROLL_H) bool
滚动视图元素水平滚动事件,滚动视图触发.
func (*ScrollView) Event_SCROLLVIEW_SCROLL_H1 ¶
func (s *ScrollView) Event_SCROLLVIEW_SCROLL_H1(pFun XE_SCROLLVIEW_SCROLL_H1) bool
滚动视图元素水平滚动事件,滚动视图触发.
func (*ScrollView) Event_SCROLLVIEW_SCROLL_V ¶
func (s *ScrollView) Event_SCROLLVIEW_SCROLL_V(pFun XE_SCROLLVIEW_SCROLL_V) bool
滚动视图元素垂直滚动事件,滚动视图触发.
func (*ScrollView) Event_SCROLLVIEW_SCROLL_V1 ¶
func (s *ScrollView) Event_SCROLLVIEW_SCROLL_V1(pFun XE_SCROLLVIEW_SCROLL_V1) bool
滚动视图元素垂直滚动事件,滚动视图触发.
func (*ScrollView) GetLineSize ¶
func (s *ScrollView) GetLineSize(pSize *xc.SIZE) int
滚动视_取滚动单位大小, 获取滚动单位大小.
pSize: 返回大小.
func (*ScrollView) GetTotalSize ¶
func (s *ScrollView) GetTotalSize(pSize *xc.SIZE) int
滚动视_取视图大小, 获取内容总大小.
pSize: 大小.
func (*ScrollView) GetViewRect ¶
func (s *ScrollView) GetViewRect(pRect *xc.RECT) int
滚动视_取视口坐标.
pRect: 坐标.
func (*ScrollView) ScrollPosH ¶
func (s *ScrollView) ScrollPosH(pos int) bool
滚动视_水平滚动, 水平滚动条, 滚动到指定位置点.
pos: 位置点.
func (*ScrollView) ScrollPosV ¶
func (s *ScrollView) ScrollPosV(pos int) bool
滚动视_垂直滚动, 垂直滚动条, 滚动到指定位置点.
pos: 位置点.
func (*ScrollView) ScrollPosXH ¶
func (s *ScrollView) ScrollPosXH(posX int) bool
滚动视_水平滚动到X, 水平滚动条, 滚动到指定坐标.
posX: X坐标.
func (*ScrollView) ScrollPosYV ¶
func (s *ScrollView) ScrollPosYV(posY int) bool
滚动视_垂直滚动到Y, 垂直滚动条, 滚动到指定坐标.
posY: Y坐标.
func (*ScrollView) SetLineSize ¶
func (s *ScrollView) SetLineSize(nWidth int, nHeight int) bool
滚动视_置滚动单位大小, 设置滚动单位大小, 如果内容改变返回TRUE否则返回FALSE.
nWidth: 宽度.
nHeight: 高度.
func (*ScrollView) SetScrollBarSize ¶
func (s *ScrollView) SetScrollBarSize(size int) int
滚动视_置滚动条大小.
size: 滚动条大小.
func (*ScrollView) SetTotalSize ¶
func (s *ScrollView) SetTotalSize(cx int, cy int) bool
滚动视_置视图大小, 设置内容大小, 如果内容改变返回TRUE否则返回FALSE.
cx: 宽度.
cy: 高度.
func (*ScrollView) ShowSBarH ¶
func (s *ScrollView) ShowSBarH(bShow bool) int
滚动视_显示水平滚动条.
bShow: 是否显示.
func (*ScrollView) ShowSBarV ¶
func (s *ScrollView) ShowSBarV(bShow bool) int
滚动视_显示垂直滚动条.
bShow: 是否显示.
type Shape ¶
type Shape struct {
objectbase.Widget
}
形状对象基类.
type ShapeEllipse ¶
type ShapeEllipse struct {
Shape
}
圆形(形状对象).
func NewShapeEllipseByName ¶
func NewShapeEllipseByName(name string) *ShapeEllipse
从name创建对象, 失败返回nil.
func NewShapeEllipseByUIDName ¶
func NewShapeEllipseByUIDName(name string) *ShapeEllipse
从UID名称创建对象, 失败返回nil.
func (*ShapeEllipse) EnableBorder ¶
func (s *ShapeEllipse) EnableBorder(bEnable bool) int
形状圆_启用边框, 启用绘制圆边框.
bEnable: 是否启用.
func (*ShapeEllipse) EnableFill ¶
func (s *ShapeEllipse) EnableFill(bEnable bool) int
形状圆_启用填充, 启用填充圆.
bEnable: 是否启用.
func (*ShapeEllipse) SetBorderColor ¶
func (s *ShapeEllipse) SetBorderColor(color int) int
形状圆_置边框色.
color: ABGR颜色值.
func (*ShapeEllipse) SetFillColor ¶
func (s *ShapeEllipse) SetFillColor(color int) int
形状圆_置填充色.
color: ABGR颜色值.
type ShapeGif ¶
type ShapeGif struct {
Shape
}
形状对象GIF.
type ShapeGroupBox ¶
type ShapeGroupBox struct {
Shape
}
组框(形状对象).
func NewShapeGroupBox ¶
形状组框_创建, 创建组框形状对象.
x: X坐标.
y: Y坐标.
cx: 宽度.
cy: 高度.
pName: 名称.
hParent: 父对象句柄.
func NewShapeGroupBoxByName ¶
func NewShapeGroupBoxByName(name string) *ShapeGroupBox
从name创建对象, 失败返回nil.
func NewShapeGroupBoxByUIDName ¶
func NewShapeGroupBoxByUIDName(name string) *ShapeGroupBox
从UID名称创建对象, 失败返回nil.
func (*ShapeGroupBox) EnableRoundAngle ¶
func (s *ShapeGroupBox) EnableRoundAngle(bEnable bool) int
形状组框_启用圆角.
bEnable: 是否启用.
func (*ShapeGroupBox) GetRoundAngle ¶
func (s *ShapeGroupBox) GetRoundAngle(pWidth *int, pHeight *int) int
形状组框_取圆角大小.
pWidth: 返回圆角宽度.
pHeight: 返回圆角高度.
func (*ShapeGroupBox) GetTextOffset ¶
func (s *ShapeGroupBox) GetTextOffset(pOffsetX *int, pOffsetY *int) int
形状组框_取文本偏移, 获取文本偏移量.
pOffsetX: X坐标偏移量.
pOffsetY: Y坐标偏移量.
func (*ShapeGroupBox) SetBorderColor ¶
func (s *ShapeGroupBox) SetBorderColor(color int) int
形状组框_置边框颜色.
color: ABGR颜色值.
func (*ShapeGroupBox) SetFontX ¶
func (s *ShapeGroupBox) SetFontX(hFontX int) int
形状组框_置字体.
hFontX: 炫彩字体.
func (*ShapeGroupBox) SetRoundAngle ¶
func (s *ShapeGroupBox) SetRoundAngle(nWidth int, nHeight int) int
形状组框_置圆角大小.
nWidth: 圆角宽度.
nHeight: 圆角高度.
func (*ShapeGroupBox) SetText ¶
func (s *ShapeGroupBox) SetText(pText string) int
形状组框_置文本.
pText: 文本内容.
func (*ShapeGroupBox) SetTextColor ¶
func (s *ShapeGroupBox) SetTextColor(color int) int
形状组框_置文本颜色.
color: ABGR颜色值.
func (*ShapeGroupBox) SetTextOffset ¶
func (s *ShapeGroupBox) SetTextOffset(offsetX int, offsetY int) int
形状组框_置文本偏移, 设置文本偏移量.
offsetX: 水平偏移.
offsetY: 垂直偏移.
type ShapeLine ¶
type ShapeLine struct {
Shape
}
ShapeLine 直线(形状对象).
func NewShapeLineByUIDName ¶
从UID名称创建对象, 失败返回nil.
type ShapePicture ¶
type ShapePicture struct {
Shape
}
ShapePicture 形状对象图片.
func NewShapePictureByName ¶
func NewShapePictureByName(name string) *ShapePicture
从name创建对象, 失败返回nil.
func NewShapePictureByUIDName ¶
func NewShapePictureByUIDName(name string) *ShapePicture
从UID名称创建对象, 失败返回nil.
func (*ShapePicture) SetImage ¶
func (s *ShapePicture) SetImage(hImage int) int
形状图片_置图片, 设置图片.
hImage: 图片句柄.
type ShapeRect ¶
type ShapeRect struct {
Shape
}
ShapeRect 矩形形状对象.
func NewShapeRectByUIDName ¶
从UID名称创建对象, 失败返回nil.
type ShapeText ¶
type ShapeText struct {
Shape
}
ShapeText 形状对象文本.
func NewShapeTextByUIDName ¶
从UID名称创建对象, 失败返回nil.
func (*ShapeText) SetTextAlign ¶
func (s *ShapeText) SetTextAlign(align xcc.TextFormatFlag_) int
形状文本_置文本对齐.
align: 文本对齐方式, TextFormatFlag_, TextAlignFlag_, TextTrimming_.
type SliderBar ¶
type SliderBar struct {
Element
}
滑动条元素.
func NewSliderBar ¶
滑动条_创建, 创建滑动条元素.
x: 元素x坐标.
y: 元素y坐标.
cx: 宽度.
cy: 高度.
hParent: 父是窗口资源句柄或UI元素资源句柄. 如果是窗口资源句柄将被添加到窗口, 如果是元素资源句柄将被添加到元素.
func NewSliderBarByUIDName ¶
从UID名称创建对象, 失败返回nil.
func (*SliderBar) Event_SLIDERBAR_CHANGE ¶
func (s *SliderBar) Event_SLIDERBAR_CHANGE(pFun XE_SLIDERBAR_CHANGE) bool
滑动条元素,滑块位置改变事件.
func (*SliderBar) Event_SLIDERBAR_CHANGE1 ¶
func (s *SliderBar) Event_SLIDERBAR_CHANGE1(pFun XE_SLIDERBAR_CHANGE1) bool
滑动条元素,滑块位置改变事件.
type TabBar ¶
type TabBar struct {
Element
}
func NewTabBar ¶
TAB条_创建, 创建tabBar元素, 返回元素句柄.
x: 元素x坐标.
y: 元素y坐标.
cx: 宽度.
cy: 高度.
hParent: 父是窗口资源句柄或UI元素资源句柄. 如果是窗口资源句柄将被添加到窗口, 如果是元素资源句柄将被添加到元素.
func (*TabBar) Event_TABBAR_DELETE ¶
func (t *TabBar) Event_TABBAR_DELETE(pFun XE_TABBAR_DELETE) bool
TabBar标签按钮删除事件.
func (*TabBar) Event_TABBAR_DELETE1 ¶
func (t *TabBar) Event_TABBAR_DELETE1(pFun XE_TABBAR_DELETE1) bool
TabBar标签按钮删除事件.
func (*TabBar) Event_TABBAR_SELECT ¶
func (t *TabBar) Event_TABBAR_SELECT(pFun XE_TABBAR_SELECT) bool
TabBar标签按钮选择改变事件.
func (*TabBar) Event_TABBAR_SELECT1 ¶
func (t *TabBar) Event_TABBAR_SELECT1(pFun XE_TABBAR_SELECT1) bool
TabBar标签按钮选择改变事件.
func (*TabBar) SetPadding ¶
TAB条_置边距, 设置内容与边框的间隔大小.
left: 左边间隔大小.
top: 上边间隔大小.
right: 右边间隔大小.
bottom: 下边间隔大小.
type Table ¶
type Table struct {
Shape
}
func (*Table) SetItemLine ¶
表格_置项线.
iRow1: 行索引1.
iCol1: 列索引1.
iRow2: 行索引2.
iCol2: 列索引2.
nFlag: 标识, Table_Line_Flag_, 暂时没有, 填0.
color: 颜色.
func (*Table) SetItemPadding ¶
表格_置项内填充.
leftSize: 内填充大小.
topSize: 内填充大小.
rightSize: 内填充大小.
bottomSize: 内填充大小.
func (*Table) SetItemTextAlign ¶
表格_置项文本对齐.
iRow: 行索引.
iCol: 列索引.
nAlign: 对齐方式, TextFormatFlag_, TextAlignFlag_, TextTrimming_.
type TextLink ¶
type TextLink struct {
Button
}
静态文本链接按钮.
func NewTextLink ¶
文本链接_创建, 创建静态文本链接元素.
x: 元素x坐标.
y: 元素y坐标.
cx: 宽度.
cy: 高度.
pName: 文本内容.
hParent: 父是窗口资源句柄或UI元素资源句柄. 如果是窗口资源句柄将被添加到窗口, 如果是元素资源句柄将被添加到元素.
type ToolBar ¶
type ToolBar struct {
Element
}
工具条.
func NewToolBar ¶
工具条_创建, 创建工具条元素; 如果指定了父为窗口, 默认调用XWnd_AddToolBar()函数, 将工具条添加到窗口非客户区.
x: 元素x坐标.
y: 元素y坐标.
cx: 宽度.
cy: 高度.
hParent: 父是窗口资源句柄或UI元素资源句柄. 如果是窗口资源句柄将被添加到窗口, 如果是元素资源句柄将被添加到元素.
func (*ToolBar) InsertEle ¶
工具条_插入元素, 插入元素到工具条, 返回插入位置索引.
hNewEle: 将要插入的元素.
index: 插入位置索引, (-1)插入末尾.
func (*ToolBar) InsertSeparator ¶
工具条_插入分割栏, 插入分隔符到工具条, 返回插入位置索引.
index: 插入位置索引, (-1)插入末尾.
color: ABGR颜色.
type Tree ¶
type Tree struct {
ScrollView
}
列表树元素.
func NewTree ¶
列表树_创建, 创建树元素.
x: 元素x坐标.
y: 元素y坐标.
cx: 宽度.
cy: 高度.
hParent: 父是窗口资源句柄或UI元素资源句柄. 如果是窗口资源句柄将被添加到窗口, 如果是元素资源句柄将被添加到元素.
func (*Tree) CreateAdapter ¶
列表树_创建数据适配器, 创建数据适配器,根据绑定的项模板初始化数据适配器的列, 返回适配器句柄.
func (*Tree) EnableConnectLine ¶
列表树_启用连接线, 启用或禁用显示项的连接线.
bEnable: 是否启用.
bSolid: 实线或虚线; TRUE: 实线, FALSE: 虚线.
func (*Tree) Event_TREE_DRAG_ITEM ¶
func (t *Tree) Event_TREE_DRAG_ITEM(pFun XE_TREE_DRAG_ITEM) bool
树元素,拖动项事件.
func (*Tree) Event_TREE_DRAG_ITEM1 ¶
func (t *Tree) Event_TREE_DRAG_ITEM1(pFun XE_TREE_DRAG_ITEM1) bool
树元素,拖动项事件.
func (*Tree) Event_TREE_DRAG_ITEM_ING ¶
func (t *Tree) Event_TREE_DRAG_ITEM_ING(pFun XE_TREE_DRAG_ITEM_ING) bool
树元素,用户正在拖动项, 可对参数值修改.
func (*Tree) Event_TREE_DRAG_ITEM_ING1 ¶
func (t *Tree) Event_TREE_DRAG_ITEM_ING1(pFun XE_TREE_DRAG_ITEM_ING1) bool
树元素,用户正在拖动项, 可对参数值修改.
func (*Tree) Event_TREE_DRAWITEM ¶
func (t *Tree) Event_TREE_DRAWITEM(pFun XE_TREE_DRAWITEM) bool
树元素,绘制项.
func (*Tree) Event_TREE_DRAWITEM1 ¶
func (t *Tree) Event_TREE_DRAWITEM1(pFun XE_TREE_DRAWITEM1) bool
树元素,绘制项.
func (*Tree) Event_TREE_EXPAND ¶
func (t *Tree) Event_TREE_EXPAND(pFun XE_TREE_EXPAND) bool
树元素,项展开收缩事件.
func (*Tree) Event_TREE_EXPAND1 ¶
func (t *Tree) Event_TREE_EXPAND1(pFun XE_TREE_EXPAND1) bool
树元素,项展开收缩事件.
func (*Tree) Event_TREE_SELECT ¶
func (t *Tree) Event_TREE_SELECT(pFun XE_TREE_SELECT) bool
树元素,项选择事件.
func (*Tree) Event_TREE_SELECT1 ¶
func (t *Tree) Event_TREE_SELECT1(pFun XE_TREE_SELECT1) bool
树元素,项选择事件.
func (*Tree) Event_TREE_TEMP_ADJUST_COORDINATE ¶
func (t *Tree) Event_TREE_TEMP_ADJUST_COORDINATE(pFun XE_TREE_TEMP_ADJUST_COORDINATE) bool
树元素,项模板,调整项坐标. 已停用.
func (*Tree) Event_TREE_TEMP_ADJUST_COORDINATE1 ¶
func (t *Tree) Event_TREE_TEMP_ADJUST_COORDINATE1(pFun XE_TREE_TEMP_ADJUST_COORDINATE1) bool
树元素,项模板,调整项坐标. 已停用.
func (*Tree) Event_TREE_TEMP_CREATE ¶
func (t *Tree) Event_TREE_TEMP_CREATE(pFun XE_TREE_TEMP_CREATE) bool
列表树元素-项模板创建,模板复用机制需先启用; 替换模板无效判断nFlag,因为内部会检查模板是否改变,不用担心重复.
func (*Tree) Event_TREE_TEMP_CREATE1 ¶
func (t *Tree) Event_TREE_TEMP_CREATE1(pFun XE_TREE_TEMP_CREATE1) bool
列表树元素-项模板创建,模板复用机制需先启用; 替换模板无效判断nFlag,因为内部会检查模板是否改变,不用担心重复.
func (*Tree) Event_TREE_TEMP_CREATE_END ¶
func (t *Tree) Event_TREE_TEMP_CREATE_END(pFun XE_TREE_TEMP_CREATE_END) bool
列表树元素-项模板创建完成,模板复用机制需先启用; 不管是新建还是复用,都需要更新数据, 当为复用时不要注册事件以免重复注册.
func (*Tree) Event_TREE_TEMP_CREATE_END1 ¶
func (t *Tree) Event_TREE_TEMP_CREATE_END1(pFun XE_TREE_TEMP_CREATE_END1) bool
列表树元素-项模板创建完成,模板复用机制需先启用; 不管是新建还是复用,都需要更新数据, 当为复用时不要注册事件以免重复注册.
func (*Tree) Event_TREE_TEMP_DESTROY ¶
func (t *Tree) Event_TREE_TEMP_DESTROY(pFun XE_TREE_TEMP_DESTROY) bool
列表树元素-项模板销毁,模板复用机制需先启用;.
func (*Tree) Event_TREE_TEMP_DESTROY1 ¶
func (t *Tree) Event_TREE_TEMP_DESTROY1(pFun XE_TREE_TEMP_DESTROY1) bool
列表树元素-项模板销毁,模板复用机制需先启用;.
func (*Tree) GetItemIDFromHXCGUI ¶
列表树_取对象所在项, 获取当前对象所在模板实例, 属于列表树中哪一个项. 成功返回项ID, 否则返回XC_ID_ERROR.
hXCGUI: 对象句柄.
func (*Tree) GetTemplateObject ¶
列表树_取模板对象, 通过模板项ID, 获取实例化模板项ID对应的对象句柄.
nID: 树项ID.
nTempItemID: 模板项ID.
func (*Tree) MoveItem ¶
列表树_移动项, 移动项的位置.
nMoveItem: 要移动的项ID.
nDestItem: 目标项ID, 参照位置.
nFlag: 0:目标前面, 1:目标后面, 2:目标子项首, 3:目标子项尾.
func (*Tree) SetDrawItemBkFlags ¶
func (t *Tree) SetDrawItemBkFlags(nFlags xcc.List_DrawItemBk_Flag_) int
列表树_置项背景绘制标志, 设置是否绘制指定状态下项的背景.
nFlags: 标志位: List_DrawItemBk_Flag_.
type XE_ADJUSTLAYOUT ¶
type XE_ADJUSTLAYOUT1 ¶
type XE_ADJUSTLAYOUT_END ¶
type XE_ADJUSTLAYOUT_END func(nFlags xcc.AdjustLayout_, nAdjustNo uint32, pbHandled *bool) int
调整布局完成事件.
nFlags: 调整布局标识位: xcc.AdjustLayout_.
nAdjustNo: 调整布局流水号.
type XE_ADJUSTLAYOUT_END1 ¶
type XE_ADJUSTLAYOUT_END1 func(hEle int, nFlags xcc.AdjustLayout_, nAdjustNo uint32, pbHandled *bool) int
调整布局完成事件.
hEle: 元素句柄.
nFlags: 调整布局标识位: xcc.AdjustLayout_.
nAdjustNo: 调整布局流水号.
type XE_BNCLICK ¶
type XE_BNCLICK1 ¶
type XE_BUTTON_CHECK ¶
type XE_BUTTON_CHECK1 ¶
type XE_COMBOBOX_EXIT_LIST ¶
type XE_COMBOBOX_EXIT_LIST1 ¶
type XE_COMBOBOX_POPUP_LIST ¶
type XE_COMBOBOX_POPUP_LIST1 ¶
type XE_COMBOBOX_SELECT ¶
type XE_COMBOBOX_SELECT1 ¶
type XE_COMBOBOX_SELECT_END ¶
type XE_COMBOBOX_SELECT_END1 ¶
type XE_DATETIME_CHANGE ¶
type XE_DATETIME_CHANGE1 ¶
type XE_DESTROY ¶
type XE_DESTROY1 ¶
type XE_DESTROY_END ¶
type XE_DESTROY_END1 ¶
type XE_DROPFILES ¶
type XE_DROPFILES1 ¶
type XE_EDITOR_MODIFY_ROWS ¶
type XE_EDITOR_MODIFY_ROWS1 ¶
type XE_EDITOR_SETBREAKPOINT ¶
type XE_EDIT_CHANGED ¶
type XE_EDIT_CHANGED1 ¶
type XE_EDIT_DRAWROW ¶
type XE_EDIT_DRAWROW1 ¶
type XE_EDIT_POS_CHANGED ¶
type XE_EDIT_POS_CHANGED1 ¶
type XE_EDIT_ROW_CHANGED ¶
type XE_EDIT_ROW_CHANGED1 ¶
type XE_EDIT_SET ¶
type XE_EDIT_SET1 ¶
type XE_EDIT_STYLE_CHANGED ¶
type XE_EDIT_STYLE_CHANGED1 ¶
type XE_ELEPROCE ¶
type XE_ELEPROCE1 ¶
type XE_KEYDOWN1 ¶
type XE_KILLCAPTURE ¶
type XE_KILLCAPTURE1 ¶
type XE_KILLFOCUS ¶
type XE_KILLFOCUS1 ¶
type XE_LBUTTONDBCLICK ¶
type XE_LBUTTONDBCLICK1 ¶
type XE_LBUTTONDOWN ¶
type XE_LBUTTONDOWN1 ¶
type XE_LBUTTONUP ¶
type XE_LBUTTONUP1 ¶
type XE_LISTBOX_DRAWITEM ¶
type XE_LISTBOX_DRAWITEM func(hDraw int, pItem *xc.ListBox_Item_, pbHandled *bool) int // 列表框元素,项绘制事件.
type XE_LISTBOX_DRAWITEM1 ¶
type XE_LISTBOX_SELECT ¶
type XE_LISTBOX_SELECT1 ¶
type XE_LISTBOX_TEMP_ADJUST_COORDINATE ¶
type XE_LISTBOX_TEMP_ADJUST_COORDINATE func(pItem *xc.ListBox_Item_, pbHandled *bool) int // 列表框元素,项模板调整坐标. 已停用.
type XE_LISTBOX_TEMP_ADJUST_COORDINATE1 ¶
type XE_LISTBOX_TEMP_ADJUST_COORDINATE1 func(hEle int, pItem *xc.ListBox_Item_, pbHandled *bool) int // 列表框元素,项模板调整坐标. 已停用.
type XE_LISTBOX_TEMP_CREATE ¶
type XE_LISTBOX_TEMP_CREATE func(pItem *xc.ListBox_Item_, nFlag int, pbHandled *bool) int // 列表框元素-项模板创建事件, 模板复用机制需先启用; 替换模板无效判断nFlag,因为内部会检查模板是否改变,不用担心重复.
type XE_LISTBOX_TEMP_CREATE1 ¶
type XE_LISTBOX_TEMP_CREATE_END ¶
type XE_LISTBOX_TEMP_CREATE_END func(pItem *xc.ListBox_Item_, nFlag int, pbHandled *bool) int // 列表框元素-项模板创建完成事件,模板复用机制需先启用;不管是新建还是复用,都需要更新数据, 当为复用时不要注册事件以免重复注册.
type XE_LISTBOX_TEMP_DESTROY ¶
type XE_LISTBOX_TEMP_DESTROY func(pItem *xc.ListBox_Item_, nFlag int, pbHandled *bool) int // 列表框元素,项模板销毁.
type XE_LISTVIEW_DRAWITEM ¶
type XE_LISTVIEW_DRAWITEM func(hDraw int, pItem *xc.ListView_Item_, pbHandled *bool) int // 列表视元素,自绘项.
type XE_LISTVIEW_DRAWITEM1 ¶
type XE_LISTVIEW_EXPAND ¶
type XE_LISTVIEW_EXPAND1 ¶
type XE_LISTVIEW_SELECT ¶
type XE_LISTVIEW_SELECT1 ¶
type XE_LISTVIEW_TEMP_ADJUST_COORDINATE ¶
type XE_LISTVIEW_TEMP_ADJUST_COORDINATE func(pItem *xc.ListView_Item_, pbHandled *bool) int // 列表视元素,项模板调整坐标.已停用.
type XE_LISTVIEW_TEMP_ADJUST_COORDINATE1 ¶
type XE_LISTVIEW_TEMP_ADJUST_COORDINATE1 func(hEle int, pItem *xc.ListView_Item_, pbHandled *bool) int // 列表视元素,项模板调整坐标.已停用.
type XE_LISTVIEW_TEMP_CREATE ¶
type XE_LISTVIEW_TEMP_CREATE func(pItem *xc.ListView_Item_, nFlag int, pbHandled *bool) int // 列表视元素-项模板创建事件,模板复用机制需先启用; 替换模板无效判断nFlag,因为内部会检查模板是否改变,不用担心重复.
type XE_LISTVIEW_TEMP_CREATE_END ¶
type XE_LISTVIEW_TEMP_CREATE_END func(pItem *xc.ListView_Item_, nFlag int, pbHandled *bool) int // 列表视元素-项模板创建完成事件,模板复用机制需先启用; 不管是新建还是复用,都需要更新数据, 当为复用时不要注册事件以免重复注册.
type XE_LISTVIEW_TEMP_DESTROY ¶
type XE_LISTVIEW_TEMP_DESTROY func(pItem *xc.ListView_Item_, nFlag int, pbHandled *bool) int // 列表视元素-项模板销毁, 模板复用机制需先启用;.
type XE_LIST_DRAWITEM ¶
type XE_LIST_DRAWITEM func(hDraw int, pItem *xc.List_Item_, pbHandled *bool) int // 列表元素,绘制项.
type XE_LIST_DRAWITEM1 ¶
type XE_LIST_HEADER_CLICK ¶
type XE_LIST_HEADER_CLICK1 ¶
type XE_LIST_HEADER_DRAWITEM ¶
type XE_LIST_HEADER_DRAWITEM func(hDraw int, pItem *xc.List_Header_Item_, pbHandled *bool) int // 列表元素绘制列表头项.
type XE_LIST_HEADER_TEMP_ADJUST_COORDINATE ¶
type XE_LIST_HEADER_TEMP_ADJUST_COORDINATE func(pItem *xc.List_Header_Item_, pbHandled *bool) int // 列表元素,列表头项模板调整坐标. 已停用.
type XE_LIST_HEADER_TEMP_ADJUST_COORDINATE1 ¶
type XE_LIST_HEADER_TEMP_ADJUST_COORDINATE1 func(hEle int, pItem *xc.List_Header_Item_, pbHandled *bool) int // 列表元素,列表头项模板调整坐标. 已停用.
type XE_LIST_HEADER_TEMP_CREATE ¶
type XE_LIST_HEADER_TEMP_CREATE func(pItem *xc.List_Header_Item_, pbHandled *bool) int // 列表元素,列表头项模板创建.
type XE_LIST_HEADER_TEMP_CREATE1 ¶
type XE_LIST_HEADER_TEMP_CREATE1 func(hEle int, pItem *xc.List_Header_Item_, pbHandled *bool) int // 列表元素,列表头项模板创建.
type XE_LIST_HEADER_TEMP_CREATE_END ¶
type XE_LIST_HEADER_TEMP_CREATE_END func(pItem *xc.List_Header_Item_, pbHandled *bool) int // 列表元素,列表头项模板创建完成事件.
type XE_LIST_HEADER_TEMP_CREATE_END1 ¶
type XE_LIST_HEADER_TEMP_CREATE_END1 func(hEle int, pItem *xc.List_Header_Item_, pbHandled *bool) int // 列表元素,列表头项模板创建完成事件.
type XE_LIST_HEADER_TEMP_DESTROY ¶
type XE_LIST_HEADER_TEMP_DESTROY func(pItem *xc.List_Header_Item_, pbHandled *bool) int // 列表元素,列表头项模板销毁.
type XE_LIST_HEADER_TEMP_DESTROY1 ¶
type XE_LIST_HEADER_TEMP_DESTROY1 func(hEle int, pItem *xc.List_Header_Item_, pbHandled *bool) int // 列表元素,列表头项模板销毁.
type XE_LIST_SELECT ¶
type XE_LIST_SELECT1 ¶
type XE_LIST_TEMP_ADJUST_COORDINATE ¶
type XE_LIST_TEMP_ADJUST_COORDINATE func(pItem *xc.List_Item_, pbHandled *bool) int // 列表元素,项模板调整坐标. 已停用.
type XE_LIST_TEMP_ADJUST_COORDINATE1 ¶
type XE_LIST_TEMP_ADJUST_COORDINATE1 func(hEle int, pItem *xc.List_Item_, pbHandled *bool) int // 列表元素,项模板调整坐标. 已停用.
type XE_LIST_TEMP_CREATE ¶
type XE_LIST_TEMP_CREATE func(pItem *xc.List_Item_, nFlag int, pbHandled *bool) int // 列表元素-项模板创建事件,模板复用机制需先启用;替换模板无效判断nFlag,因为内部会检查模板是否改变,不用担心重复.
type XE_LIST_TEMP_CREATE1 ¶
type XE_LIST_TEMP_CREATE_END ¶
type XE_LIST_TEMP_CREATE_END func(pItem *xc.List_Item_, nFlag int, pbHandled *bool) int // 列表元素-项模板创建完成事件,模板复用机制需先启用;不管是新建还是复用,都需要更新数据, 当为复用时不要注册事件以免重复注册.
type XE_LIST_TEMP_DESTROY ¶
type XE_LIST_TEMP_DESTROY func(pItem *xc.List_Item_, nFlag int, pbHandled *bool) int // 列表元素,项模板销毁.
type XE_LIST_TEMP_DESTROY1 ¶
type XE_MENU_DRAWITEM ¶
type XE_MENU_DRAWITEM func(hDraw int, pInfo *xc.Menu_DrawItem_, pbHandled *bool) int // 绘制菜单项事件, 启用该功能需要调用XMenu_EnableDrawItem().
type XE_MENU_DRAW_BACKGROUND ¶
type XE_MENU_DRAW_BACKGROUND func(hDraw int, pInfo *xc.Menu_DrawBackground_, pbHandled *bool) int // 绘制菜单背景, 启用该功能需要调用XMenu_EnableDrawBackground().
type XE_MENU_EXIT ¶
type XE_MENU_POPUP ¶
type XE_MENU_POPUP_WND ¶
type XE_MENU_POPUP_WND func(hMenu int, pInfo *xc.Menu_PopupWnd_, pbHandled *bool) int // 菜单弹出窗口.
type XE_MENU_SELECT ¶
type XE_MONTHCAL_CHANGE ¶
type XE_MONTHCAL_CHANGE1 ¶
type XE_MOUSEHOVER ¶
type XE_MOUSEHOVER1 ¶
type XE_MOUSELEAVE ¶
type XE_MOUSELEAVE1 ¶
type XE_MOUSEMOVE ¶
type XE_MOUSEMOVE1 ¶
type XE_MOUSESTAY ¶
type XE_MOUSESTAY1 ¶
type XE_MOUSEWHEEL ¶
type XE_MOUSEWHEEL1 ¶
type XE_PAINT_END ¶
type XE_PAINT_END1 ¶
type XE_PAINT_SCROLLVIEW ¶
type XE_PAINT_SCROLLVIEW1 ¶
type XE_PROGRESSBAR_CHANGE ¶
type XE_PROGRESSBAR_CHANGE1 ¶
type XE_RBUTTONDOWN ¶
type XE_RBUTTONDOWN1 ¶
type XE_RBUTTONUP ¶
type XE_RBUTTONUP1 ¶
type XE_SBAR_SCROLL ¶
type XE_SBAR_SCROLL1 ¶
type XE_SCROLLVIEW_SCROLL_H ¶
type XE_SCROLLVIEW_SCROLL_H1 ¶
type XE_SCROLLVIEW_SCROLL_V ¶
type XE_SCROLLVIEW_SCROLL_V1 ¶
type XE_SETCAPTURE ¶
type XE_SETCAPTURE1 ¶
type XE_SETCURSOR1 ¶
type XE_SETFOCUS ¶
type XE_SETFOCUS1 ¶
type XE_SETFONT ¶
type XE_SETFONT1 ¶
type XE_SIZE ¶
type XE_SIZE func(nFlags xcc.AdjustLayout_, nAdjustNo uint32, pbHandled *bool) int
元素大小改变事件.
nFlags: 调整布局标识位: xcc.AdjustLayout_.
nAdjustNo: 调整布局流水号.
type XE_SLIDERBAR_CHANGE ¶
type XE_SLIDERBAR_CHANGE1 ¶
type XE_TABBAR_DELETE ¶
type XE_TABBAR_DELETE1 ¶
type XE_TABBAR_SELECT ¶
type XE_TABBAR_SELECT1 ¶
type XE_TREE_DRAG_ITEM ¶
type XE_TREE_DRAG_ITEM func(pInfo *xc.Tree_Drag_Item_, pbHandled *bool) int // 树元素,拖动项事件.
type XE_TREE_DRAG_ITEM1 ¶
type XE_TREE_DRAG_ITEM1 func(hEle int, pInfo *xc.Tree_Drag_Item_, pbHandled *bool) int // 树元素,拖动项事件.
type XE_TREE_DRAG_ITEM_ING ¶
type XE_TREE_DRAG_ITEM_ING func(pInfo *xc.Tree_Drag_Item_, pbHandled *bool) int // 树元素,用户正在拖动项, 可对参数值修改.
type XE_TREE_DRAG_ITEM_ING1 ¶
type XE_TREE_DRAG_ITEM_ING1 func(hEle int, pInfo *xc.Tree_Drag_Item_, pbHandled *bool) int // 树元素,用户正在拖动项, 可对参数值修改.
type XE_TREE_DRAWITEM ¶
type XE_TREE_DRAWITEM func(hDraw int, pItem *xc.Tree_Item_, pbHandled *bool) int // 树元素,绘制项.
type XE_TREE_DRAWITEM1 ¶
type XE_TREE_EXPAND ¶
type XE_TREE_EXPAND1 ¶
type XE_TREE_SELECT ¶
type XE_TREE_SELECT1 ¶
type XE_TREE_TEMP_ADJUST_COORDINATE ¶
type XE_TREE_TEMP_ADJUST_COORDINATE func(pItem *xc.Tree_Item_, pbHandled *bool) int // 树元素,项模板,调整项坐标. 已停用.
type XE_TREE_TEMP_ADJUST_COORDINATE1 ¶
type XE_TREE_TEMP_ADJUST_COORDINATE1 func(hEle int, pItem *xc.Tree_Item_, pbHandled *bool) int // 树元素,项模板,调整项坐标. 已停用.
type XE_TREE_TEMP_CREATE ¶
type XE_TREE_TEMP_CREATE func(pItem *xc.Tree_Item_, nFlag int, pbHandled *bool) int // 列表树元素-项模板创建,模板复用机制需先启用; 替换模板无效判断nFlag,因为内部会检查模板是否改变,不用担心重复.
type XE_TREE_TEMP_CREATE1 ¶
type XE_TREE_TEMP_CREATE_END ¶
type XE_TREE_TEMP_CREATE_END func(pItem *xc.Tree_Item_, nFlag int, pbHandled *bool) int // 列表树元素-项模板创建完成,模板复用机制需先启用; 不管是新建还是复用,都需要更新数据, 当为复用时不要注册事件以免重复注册.
type XE_TREE_TEMP_DESTROY ¶
type XE_TREE_TEMP_DESTROY func(pItem *xc.Tree_Item_, nFlag int, pbHandled *bool) int // 列表树元素-项模板销毁,模板复用机制需先启用;.
type XE_TREE_TEMP_DESTROY1 ¶
type XE_XC_TIMER ¶
Source Files ¶
- button.go
- combobox.go
- datetime.go
- doc.go
- edit.go
- editor.go
- element.go
- layoutele.go
- layoutframe.go
- list.go
- listbox.go
- listview.go
- menu.go
- menubar.go
- monthcal.go
- pane.go
- progressbar.go
- scrollbar.go
- scrollview.go
- shape.go
- shapeellipse.go
- shapegif.go
- shapegroupbox.go
- shapeline.go
- shapepicture.go
- shaperect.go
- shapetext.go
- sliderbar.go
- tabbar.go
- table.go
- textlink.go
- toolbar.go
- tree.go