Documentation
¶
Overview ¶
Package xc 包含了xcgui所有的API.
Index ¶
- func ABGR(r, g, b, a byte) int
- func ABGR2(rgb int, a byte) int
- func ClientToScreen(hWindow int, pPoint *POINT)
- func Font_Info_Name(arr [32]uint16) string
- func GetXcguiPath() string
- func HEXToRGB(str string) int
- func LoadXCGUI()
- func RGB(r, g, b byte) int
- func RGBA(r, g, b, a byte) int
- func RGBA2(rgb int, a byte) int
- func SetXcguiPath(XcguiPath string) error
- func XAdListView_Create() int
- func XAdListView_DeleteAll(hAdapter int) int
- func XAdListView_DeleteAllGroup(hAdapter int) int
- func XAdListView_DeleteAllItem(hAdapter int) int
- func XAdListView_DeleteColumnGroup(hAdapter int, iColumn int) int
- func XAdListView_DeleteColumnItem(hAdapter int, iColumn int) int
- func XAdListView_Group_AddColumn(hAdapter int, pName string) int
- func XAdListView_Group_AddItemImage(hAdapter int, hImage int, iPos int) int
- func XAdListView_Group_AddItemImageEx(hAdapter int, pName string, hImage int, iPos int) int
- func XAdListView_Group_AddItemText(hAdapter int, pValue string, iPos int) int
- func XAdListView_Group_AddItemTextEx(hAdapter int, pName string, pValue string, iPos int) int
- func XAdListView_Group_DeleteAllChildItem(hAdapter int, iGroup int) int
- func XAdListView_Group_DeleteItem(hAdapter int, iGroup int) bool
- func XAdListView_Group_GetCount(hAdapter int) int
- func XAdListView_Group_GetImage(hAdapter int, iGroup int, iColumn int) int
- func XAdListView_Group_GetImageEx(hAdapter int, iGroup int, pName string) int
- func XAdListView_Group_GetText(hAdapter int, iGroup int, iColumn int) string
- func XAdListView_Group_GetTextEx(hAdapter int, iGroup int, pName string) string
- func XAdListView_Group_SetImage(hAdapter int, iGroup int, iColumn int, hImage int) bool
- func XAdListView_Group_SetImageEx(hAdapter int, iGroup int, pName string, hImage int) bool
- func XAdListView_Group_SetText(hAdapter int, iGroup int, iColumn int, pValue string) bool
- func XAdListView_Group_SetTextEx(hAdapter int, iGroup int, pName string, pValue string) bool
- func XAdListView_Item_AddColumn(hAdapter int, pName string) int
- func XAdListView_Item_AddItemImage(hAdapter int, iGroup int, hImage int, iPos int) int
- func XAdListView_Item_AddItemImageEx(hAdapter int, iGroup int, pName string, hImage int, iPos int) int
- func XAdListView_Item_AddItemText(hAdapter int, iGroup int, pValue string, iPos int) int
- func XAdListView_Item_AddItemTextEx(hAdapter int, iGroup int, pName string, pValue string, iPos int) int
- func XAdListView_Item_DeleteItem(hAdapter int, iGroup int, iItem int) bool
- func XAdListView_Item_GetCount(hAdapter int, iGroup int) int
- func XAdListView_Item_GetImage(hAdapter int, iGroup int, iItem int, iColumn int) int
- func XAdListView_Item_GetImageEx(hAdapter int, iGroup int, iItem int, pName string) int
- func XAdListView_Item_GetText(hAdapter int, iGroup int, iItem int, iColumn int) string
- func XAdListView_Item_GetTextEx(hAdapter int, iGroup int, iItem int, pName string) string
- func XAdListView_Item_SetImage(hAdapter int, iGroup int, iItem int, iColumn int, hImage int) bool
- func XAdListView_Item_SetImageEx(hAdapter int, iGroup int, iItem int, pName string, hImage int) bool
- func XAdListView_Item_SetText(hAdapter int, iGroup int, iItem int, iColumn int, pValue string) bool
- func XAdListView_Item_SetTextEx(hAdapter int, iGroup int, iItem int, pName string, pValue string) bool
- func XAdMap_AddItemImage(hAdapter int, pName string, hImage int) bool
- func XAdMap_AddItemText(hAdapter int, pName string, pValue string) bool
- func XAdMap_Create() int
- func XAdMap_DeleteItem(hAdapter int, pName string) bool
- func XAdMap_GetCount(hAdapter int) int
- func XAdMap_GetItemImage(hAdapter int, pName string) int
- func XAdMap_GetItemText(hAdapter int, pName string) string
- func XAdMap_SetItemImage(hAdapter int, pName string, hImage int) bool
- func XAdMap_SetItemText(hAdapter int, pName string, pValue string) bool
- func XAdTable_AddColumn(hAdapter int, pName string) int
- func XAdTable_AddItemImage(hAdapter int, hImage int) int
- func XAdTable_AddItemImageEx(hAdapter int, pName string, hImage int) int
- func XAdTable_AddItemText(hAdapter int, pValue string) int
- func XAdTable_AddItemTextEx(hAdapter int, pName string, pValue string) int
- func XAdTable_Create() int
- func XAdTable_DeleteColumnAll(hAdapter int) int
- func XAdTable_DeleteItem(hAdapter int, iItem int) bool
- func XAdTable_DeleteItemAll(hAdapter int) int
- func XAdTable_DeleteItemEx(hAdapter int, iItem int, nCount int) bool
- func XAdTable_GetCount(hAdapter int) int
- func XAdTable_GetCountColumn(hAdapter int) int
- func XAdTable_GetItemDataType(hAdapter int, iItem int, iColumn int) xcc.Adapter_Date_Type_
- func XAdTable_GetItemDataTypeEx(hAdapter int, iItem int, pName string) xcc.Adapter_Date_Type_
- func XAdTable_GetItemFloat(hAdapter int, iItem int, iColumn int, pOutValue *float32) bool
- func XAdTable_GetItemFloatEx(hAdapter int, iItem int, pName string, pOutValue *float32) bool
- func XAdTable_GetItemImage(hAdapter int, iItem int, iColumn int) int
- func XAdTable_GetItemImageEx(hAdapter int, iItem int, pName string) int
- func XAdTable_GetItemInt(hAdapter int, iItem int, iColumn int, pOutValue *int) bool
- func XAdTable_GetItemIntEx(hAdapter int, iItem int, pName string, pOutValue *int) bool
- func XAdTable_GetItemText(hAdapter int, iItem int, iColumn int) string
- func XAdTable_GetItemTextEx(hAdapter int, iItem int, pName string) string
- func XAdTable_InsertItemImage(hAdapter int, iItem int, hImage int) int
- func XAdTable_InsertItemImageEx(hAdapter int, iItem int, pName string, hImage int) int
- func XAdTable_InsertItemText(hAdapter int, iItem int, pValue string) int
- func XAdTable_InsertItemTextEx(hAdapter int, iItem int, pName string, pValue string) int
- func XAdTable_SetColumn(hAdapter int, pColName string) int
- func XAdTable_SetItemFloat(hAdapter int, iItem int, iColumn int, fValue float32) bool
- func XAdTable_SetItemFloatEx(hAdapter int, iItem int, pName string, fValue float32) bool
- func XAdTable_SetItemImage(hAdapter int, iItem int, iColumn int, hImage int) bool
- func XAdTable_SetItemImageEx(hAdapter int, iItem int, pName string, hImage int) bool
- func XAdTable_SetItemInt(hAdapter int, iItem int, iColumn int, nValue int) bool
- func XAdTable_SetItemIntEx(hAdapter int, iItem int, pName string, nValue int) bool
- func XAdTable_SetItemText(hAdapter int, iItem int, iColumn int, pValue string) bool
- func XAdTable_SetItemTextEx(hAdapter int, iItem int, pName string, pValue string) bool
- func XAdTable_Sort(hAdapter int, iColumn int, bAscending bool) int
- func XAdTree_AddColumn(hAdapter int, pName string) int
- func XAdTree_Create() int
- func XAdTree_DeleteColumnAll(hAdapter int) int
- func XAdTree_DeleteItem(hAdapter int, nID int) bool
- func XAdTree_DeleteItemAll(hAdapter int) int
- func XAdTree_GetCount(hAdapter int) int
- func XAdTree_GetCountColumn(hAdapter int) int
- func XAdTree_GetItemImage(hAdapter int, nID int, iColumn int) int
- func XAdTree_GetItemImageEx(hAdapter int, nID int, pName string) int
- func XAdTree_GetItemText(hAdapter int, nID int, iColumn int) string
- func XAdTree_GetItemTextEx(hAdapter int, nID int, pName string) string
- func XAdTree_InsertItemImage(hAdapter int, hImage int, nParentID int, insertID int) int
- func XAdTree_InsertItemImageEx(hAdapter int, pName string, hImage int, nParentID int, insertID int) int
- func XAdTree_InsertItemText(hAdapter int, pValue string, nParentID int, insertID int) int
- func XAdTree_InsertItemTextEx(hAdapter int, pName string, pValue string, nParentID int, insertID int) int
- func XAdTree_SetColumn(hAdapter int, pColName string) int
- func XAdTree_SetItemImage(hAdapter int, nID int, iColumn int, hImage int) bool
- func XAdTree_SetItemImageEx(hAdapter int, nID int, pName string, hImage int) bool
- func XAdTree_SetItemText(hAdapter int, nID int, iColumn int, pValue string) bool
- func XAdTree_SetItemTextEx(hAdapter int, nID int, pName string, pValue string) bool
- func XAd_AddRef(hAdapter int) int
- func XAd_Destroy(hAdapter int) int
- func XAd_EnableAutoDestroy(hAdapter int, bEnable bool) int
- func XAd_GetRefCount(hAdapter int) int
- func XAd_Release(hAdapter int) int
- func XAnimaGroup_AddItem(hGroup int, hSequence int) int
- func XAnimaGroup_Create(nLoopCount int) int
- func XAnimaItem_EnableAutoDestroy(hAnimationItem int, bEnable bool) int
- func XAnimaItem_EnableCompleteRelease(hAnimationItem int, bEnable bool) int
- func XAnimaItem_GetUserData(hAnimationItem int) int
- func XAnimaItem_SetCallback(hAnimationItem int, callback interface{}) int
- func XAnimaItem_SetUserData(hAnimationItem, nUserData int) int
- func XAnimaMove_SetFlag(hAnimationMove int, flags xcc.Animation_Move_) int
- func XAnimaRotate_SetCenter(hAnimationRotate int, x float32, y float32, bOffset bool) bool
- func XAnimaScale_SetPosition(hAnimationScale int, position xcc.Position_Flag_) bool
- func XAnima_Alpha(hSequence int, duration int, alpha uint8, nLoopCount int, ...) int
- func XAnima_AlphaEx(hSequence int, duration int, from_alpha uint8, to_alpha uint8, nLoopCount int, ...) int
- func XAnima_Color(hSequence int, duration int, color int, nLoopCount int, ...) int
- func XAnima_ColorEx(hSequence int, duration int, from int, to int, nLoopCount int, ...) int
- func XAnima_Create(hObjectUI int, nLoopCount int) int
- func XAnima_Delay(hSequence int, duration float32) int
- func XAnima_DelayEx(hSequence int, duration float32, nLoopCount int, ease_flag xcc.Ease_Flag_, ...) int
- func XAnima_DestroyObjectUI(hSequence int, duration float32) int
- func XAnima_EnableAutoDestroy(hAnimation int, bEnable bool) int
- func XAnima_GetObjectUI(hAnimation int) int
- func XAnima_GetUserData(hAnimationEx int) int
- func XAnima_LayoutHeight(hSequence int, duration int, nType xcc.Layout_Size_, height float32, ...) int
- func XAnima_LayoutSize(hSequence int, duration int, nWidthType xcc.Layout_Size_, width float32, ...) int
- func XAnima_LayoutWidth(hSequence int, duration int, nType xcc.Layout_Size_, width float32, ...) int
- func XAnima_Move(hSequence int, duration int, x float32, y float32, nLoopCount int, ...) int
- func XAnima_MoveEx(hSequence int, duration int, from_x float32, from_y float32, to_x float32, ...) int
- func XAnima_Pause(hAnimationEx int) bool
- func XAnima_Release(hAnimation int, bEnd bool) bool
- func XAnima_ReleaseEx(hObjectUI int, bEnd bool) int
- func XAnima_Rotate(hSequence int, duration int, angle float32, nLoopCount int, ...) int
- func XAnima_RotateEx(hSequence int, duration int, from float32, to float32, nLoopCount int, ...) int
- func XAnima_Run(hAnimation int, hRedrawObjectUI int) int
- func XAnima_Scale(hSequence int, duration int, scaleX float32, scaleY float32, nLoopCount int, ...) int
- func XAnima_ScaleSize(hSequence int, duration int, width float32, height float32, nLoopCount int, ...) int
- func XAnima_SetCallBack(hAnimationEx int, callback interface{}) int
- func XAnima_SetUserData(hAnimationEx, nUserData int) int
- func XAnima_Show(hSequence int, duration float32, bShow bool) int
- func XAnima_Start(hAnimationEx int) bool
- func XAnima_Stop(hAnimationEx int) bool
- func XBkM_AddBorder(hBkInfoM int, nState xcc.CombinedState, color, width, id int) int
- func XBkM_AddFill(hBkInfoM int, nState xcc.CombinedState, color, id int) int
- func XBkM_AddImage(hBkInfoM int, nState xcc.CombinedState, hImage, id int) int
- func XBkM_AddInfo(hBkInfoM int, pText string) int
- func XBkM_AddRef(hBkInfoM int) int
- func XBkM_Clear(hBkInfoM int) int
- func XBkM_Create() int
- func XBkM_Destroy(hBkInfoM int) int
- func XBkM_Draw(hBkInfoM int, nState xcc.CombinedState, hDraw int, pRect *RECT) bool
- func XBkM_DrawEx(hBkInfoM int, nState xcc.CombinedState, hDraw int, pRect *RECT, ...) bool
- func XBkM_EnableAutoDestroy(hBkInfoM int, bEnable bool) int
- func XBkM_GetCount(hBkInfoM int) int
- func XBkM_GetObject(hBkInfoM int, id int) int
- func XBkM_GetRefCount(hBkInfoM int) int
- func XBkM_GetStateTextColor(hBkInfoM int, nState xcc.CombinedState, color *int) bool
- func XBkM_Release(hBkInfoM int) int
- func XBkM_SetBkInfo(hBkInfoM int, pText string) int
- func XBkM_SetInfo(hBkInfoM int, pText string) int
- func XBkObj_EnableBorder(hObj int, bEnable bool) int
- func XBkObj_EnableFill(hObj int, bEnable bool) int
- func XBkObj_GetAlign(hObj int) int
- func XBkObj_GetBorderColor(hObj int) int
- func XBkObj_GetBorderWidth(hObj int) int
- func XBkObj_GetFillColor(hObj int) int
- func XBkObj_GetFont(hObj int) int
- func XBkObj_GetImage(hObj int) int
- func XBkObj_GetMargin(hObj int, pMargin *RECT) int
- func XBkObj_GetRectRoundAngle(hObj int, pRect *RECT) int
- func XBkObj_GetRotate(hObj int) int
- func XBkObj_GetText(hObj int) string
- func XBkObj_GetTextAlign(hObj int) int
- func XBkObj_IsBorder(hObj int) bool
- func XBkObj_IsFill(hObj int) bool
- func XBkObj_SetAlign(hObj int, nFlags xcc.BkObject_Align_Flag_) int
- func XBkObj_SetBorderColor(hObj int, color int) int
- func XBkObj_SetBorderWidth(hObj int, width int) int
- func XBkObj_SetFillColor(hObj int, color int) int
- func XBkObj_SetFont(hObj int, hFont int) int
- func XBkObj_SetImage(hObj int, hImage int) int
- func XBkObj_SetMargin(hObj int, left int, top int, right int, bottom int) int
- func XBkObj_SetRectRoundAngle(hObj int, leftTop int, leftBottom int, rightTop int, rightBottom int) int
- func XBkObj_SetRotate(hObj int, angle float32) int
- func XBkObj_SetText(hObj int, pText string) int
- func XBkObj_SetTextAlign(hObj int, nAlign xcc.TextFormatFlag_) int
- func XBtn_AddAnimationFrame(hEle int, hImage int, uElapse int) int
- func XBtn_Create(x int, y int, cx int, cy int, pName string, hParent int) int
- func XBtn_EnableAnimation(hEle int, bEnable bool, bLoopPlay bool) int
- func XBtn_GetBindEle(hEle int) int
- func XBtn_GetGroupID(hEle int) int
- func XBtn_GetIcon(hEle int, nType int) int
- func XBtn_GetState(hEle int) xcc.Common_State3_
- func XBtn_GetStateEx(hEle int) xcc.Button_State_
- func XBtn_GetText(hEle int) string
- func XBtn_GetTextAlign(hEle int) xcc.TextFormatFlag_
- func XBtn_IsCheck(hEle int) bool
- func XBtn_SetBindEle(hEle int, hBindEle int) int
- func XBtn_SetCheck(hEle int, bCheck bool) bool
- func XBtn_SetGroupID(hEle int, nID int) int
- func XBtn_SetIcon(hEle int, hImage int) int
- func XBtn_SetIconAlign(hEle int, align xcc.Button_Icon_Align_) int
- func XBtn_SetIconDisable(hEle int, hImage int) int
- func XBtn_SetIconSpace(hEle int, size int) int
- func XBtn_SetOffset(hEle int, x int, y int) int
- func XBtn_SetOffsetIcon(hEle int, x int, y int) int
- func XBtn_SetState(hEle int, nState xcc.Common_State3_) int
- func XBtn_SetText(hEle int, pName string) int
- func XBtn_SetTextAlign(hEle int, nFlags xcc.TextFormatFlag_) int
- func XBtn_SetTypeEx(hEle int, nType xcc.XC_OBJECT_TYPE_EX) int
- func XC_AddFileSearchPath(pPath string) int
- func XC_Alert(pTitle, pText string) int
- func XC_CallUiThread(pCall func(data int) int, data int) int
- func XC_CallUiThread2(pCall uintptr, data int) int
- func XC_CombineRect(pDest *RECT, pSrc1 *RECT, pSrc2 *RECT) int
- func XC_DebugToFileInfo(pInfo string) int
- func XC_EnableAutoExitApp(bEnabel bool) int
- func XC_EnableDebugFile(bEnable bool) int
- func XC_EnableErrorMessageBox(bEnabel bool) int
- func XC_EnableGdiDrawText(bEnable bool) int
- func XC_EnableResMonitor(bEnable bool) int
- func XC_Free(p int) int
- func XC_FreeLibrary(hModule int) bool
- func XC_GetD2dFactory() int
- func XC_GetDWriteFactory() int
- func XC_GetDefaultFont() int
- func XC_GetObjectByID(hWindow int, nID int) int
- func XC_GetObjectByIDName(hWindow int, pName string) int
- func XC_GetObjectByName(pName string) int
- func XC_GetObjectByUID(nUID int) int
- func XC_GetObjectByUIDName(pName string) int
- func XC_GetObjectType(hXCGUI int) xcc.XC_OBJECT_TYPE
- func XC_GetProcAddress(hModule int, lpProcName string) int
- func XC_GetProperty(hXCGUI int, pName string) string
- func XC_GetTextShowRect(pString string, length int, hFontX int, nTextAlign xcc.TextFormatFlag_, ...) int
- func XC_GetTextShowSize(pString string, length int, hFontX int, pOutSize *SIZE) int
- func XC_GetTextShowSizeEx(pString string, length int, hFontX int, nTextAlign xcc.TextFormatFlag_, ...) int
- func XC_GetTextSize(pString string, length int, hFontX int, pOutSize *SIZE) int
- func XC_GetWicFactory() int
- func XC_InitFont(pFont *LOGFONTW, pName string, size int, bBold bool, bItalic bool, ...) int
- func XC_IsEnableD2D() bool
- func XC_IsHELE(hEle int) bool
- func XC_IsHWINDOW(hWindow int) bool
- func XC_IsHXCGUI(hXCGUI int, nType xcc.XC_OBJECT_TYPE) bool
- func XC_IsSViewExtend(hEle int) bool
- func XC_IsShape(hShape int) bool
- func XC_LoadDll(pDllFileName string) int
- func XC_LoadLayout(pFileName string, hParent, hAttachWnd int) int
- func XC_LoadLayoutFromStringW(pStringXML string, hParent, hAttachWnd int) int
- func XC_LoadLayoutZip(pZipFileName string, pFileName string, pPassword string, ...) int
- func XC_LoadLayoutZipMem(data []byte, pFileName string, pPassword string, hParent, hAttachWnd int) int
- func XC_LoadLibrary(lpFileName string) int
- func XC_LoadResource(pFileName string) bool
- func XC_LoadResourceFromStringW(pStringXML string, pFileName string) bool
- func XC_LoadResourceZip(pZipFileName string, pFileName string, pPassword string) bool
- func XC_LoadResourceZipMem(data []byte, pFileName string, pPassword string) bool
- func XC_LoadStyle(pFileName string) bool
- func XC_LoadStyleFromStringW(pFileName string, pString string) bool
- func XC_LoadStyleZip(pZipFile string, pFileName string, pPassword string) bool
- func XC_LoadStyleZipMem(data []byte, pFileName string, pPassword string) bool
- func XC_Malloc(size int) int
- func XC_MessageBox(pTitle, pText string, nFlags xcc.MessageBox_Flag_, hWndParent int, ...) xcc.MessageBox_Flag_
- func XC_PostMessage(hWindow int, msg int, wParam int, lParam int) bool
- func XC_PostQuitMessage(nExitCode int) int
- func XC_RectInRect(pRect1 *RECT, pRect2 *RECT) bool
- func XC_RegisterWindowClassName(pClassName string) bool
- func XC_SendMessage(hWindow int, msg int, wParam int, lParam int) int
- func XC_SetActivateTopWindow() bool
- func XC_SetD2dTextRenderingMode(mode xcc.XC_DWRITE_RENDERING_MODE_) int
- func XC_SetDefaultFont(hFontX int) int
- func XC_SetLayoutFrameColor(color int) int
- func XC_SetPaintFrequency(nMilliseconds int) int
- func XC_SetProperty(hXCGUI int, pName string, pValue string) bool
- func XC_SetTextRenderingHint(nType int) int
- func XC_ShowLayoutFrame(bShow bool) int
- func XC_ShowSvgFrame(bShow bool) int
- func XC_Sys_ShellExecute(hwnd int, lpOperation string, lpFile string, lpParameters string, ...) int
- func XC_atoutf8(pValue uintptr) uintptr
- func XC_atow(pValue uintptr) string
- func XC_hWindowFromHWnd(hWnd int) int
- func XC_utf8toa(pUtf8 uintptr) uintptr
- func XC_utf8tow(pUtf8 uintptr) string
- func XC_utf8towEx(pUtf8 uintptr, length int) string
- func XC_wtoa(pValue string) uintptr
- func XC_wtoutf8(pValue string) uintptr
- func XC_wtoutf8Ex(pValue string, length int) uintptr
- func XComboBox_AddItemImage(hEle int, hImage int) int
- func XComboBox_AddItemImageEx(hEle int, pName string, hImage int) int
- func XComboBox_AddItemText(hEle int, pText string) int
- func XComboBox_AddItemTextEx(hEle int, pName string, pText string) int
- func XComboBox_BindAdapter(hEle int, hAdapter int) int
- func XComboBox_Create(x int, y int, cx int, cy int, hParent int) int
- func XComboBox_CreateAdapter(hEle int) int
- func XComboBox_DeleteColumnAll(hEle int) int
- func XComboBox_DeleteItem(hEle int, iItem int) bool
- func XComboBox_DeleteItemAll(hEle int) int
- func XComboBox_DeleteItemEx(hEle int, iItem int, nCount int) bool
- func XComboBox_EnableDrawButton(hEle int, bEnable bool) int
- func XComboBox_EnableDropHeightFixed(hEle int, bEnable bool) int
- func XComboBox_EnableEdit(hEle int, bEdit bool) int
- func XComboBox_GetAdapter(hEle int) int
- func XComboBox_GetButtonRect(hEle int, pRect *RECT) int
- func XComboBox_GetCount(hEle int) int
- func XComboBox_GetCountColumn(hEle int) int
- func XComboBox_GetDropHeight(hEle int) int
- func XComboBox_GetItemFloat(hEle int, iItem int, iColumn int, pOutValue *float32) bool
- func XComboBox_GetItemFloatEx(hEle int, iItem int, pName string, pOutValue *float32) bool
- func XComboBox_GetItemImage(hEle int, iItem int, iColumn int) int
- func XComboBox_GetItemImageEx(hEle int, iItem int, pName string) int
- func XComboBox_GetItemInt(hEle int, iItem int, iColumn int, pOutValue *int) bool
- func XComboBox_GetItemIntEx(hEle int, iItem int, pName string, pOutValue *int) bool
- func XComboBox_GetItemText(hEle int, iItem int, iColumn int) string
- func XComboBox_GetItemTextEx(hEle int, iItem int, pName string) string
- func XComboBox_GetSelItem(hEle int) int
- func XComboBox_GetState(hEle int) xcc.ComboBox_State_
- func XComboBox_InsertItemImage(hEle int, iItem int, hImage int) int
- func XComboBox_InsertItemImageEx(hEle int, iItem int, pName string, hImage int) int
- func XComboBox_InsertItemText(hEle int, iItem int, pText string) int
- func XComboBox_InsertItemTextEx(hEle int, iItem int, pName string, pText string) int
- func XComboBox_PopupDropList(hEle int) int
- func XComboBox_SetBindName(hEle int, pName string) int
- func XComboBox_SetButtonSize(hEle int, size int) int
- func XComboBox_SetDropHeight(hEle int, height int) int
- func XComboBox_SetItemFloat(hEle int, iItem int, iColumn int, fFloat float32) bool
- func XComboBox_SetItemFloatEx(hEle int, iItem int, pName string, fFloat float32) bool
- func XComboBox_SetItemImage(hEle int, iItem int, iColumn int, hImage int) bool
- func XComboBox_SetItemImageEx(hEle int, iItem int, pName string, hImage int) bool
- func XComboBox_SetItemInt(hEle int, iItem int, iColumn int, nValue int) bool
- func XComboBox_SetItemIntEx(hEle int, iItem int, pName string, nValue int) bool
- func XComboBox_SetItemTemplate(hEle, hTemp int) int
- func XComboBox_SetItemTemplateXML(hEle int, pXmlFile string) int
- func XComboBox_SetItemTemplateXMLFromString(hEle int, pStringXML string) int
- func XComboBox_SetItemText(hEle int, iItem int, iColumn int, pText string) bool
- func XComboBox_SetItemTextEx(hEle int, iItem int, pName string, pText string) bool
- func XComboBox_SetSelItem(hEle int, iIndex int) bool
- func XDateTime_Create(x int, y int, cx int, cy int, hParent int) int
- func XDateTime_EnableSplitSlash(hEle int, bSlash bool) int
- func XDateTime_GetButton(hEle int, nType int) int
- func XDateTime_GetDate(hEle int, pnYear *int, pnMonth *int, pnDay *int) int
- func XDateTime_GetSelBkColor(hEle int) int
- func XDateTime_GetStyle(hEle int) int
- func XDateTime_GetTime(hEle int, pnHour *int, pnMinute *int, pnSecond *int) int
- func XDateTime_Popup(hEle int) int
- func XDateTime_SetDate(hEle int, nYear int, nMonth int, nDay int) int
- func XDateTime_SetSelBkColor(hEle int, crSelectBk int) int
- func XDateTime_SetStyle(hEle int, nStyle int) int
- func XDateTime_SetTime(hEle int, nHour int, nMinute int, nSecond int) int
- func XDebug_OutputDebugStringW(pString string) int
- func XDebug_Print(level int, pInfo string) int
- func XDebug_Set_OutputDebugString_UTF8(bUTF8 bool) int
- func XDraw_ClearClip(hDraw int) int
- func XDraw_Create(hWindow int) int
- func XDraw_CreateGDI(hWindow, hdc int) int
- func XDraw_D2D_Clear(hDraw int, color int) int
- func XDraw_Destroy(hDraw int) int
- func XDraw_Dottedline(hDraw int, x1 int, y1 int, x2 int, y2 int) int
- func XDraw_DottedlineF(hDraw int, x1, y1, x2, y2 float32) int
- func XDraw_DrawArc(hDraw int, x, y int, nWidth int, nHeight int, startAngle float32, ...) int
- func XDraw_DrawArcF(hDraw int, x, y, nWidth, nHeight, startAngle, sweepAngle float32) int
- func XDraw_DrawCurve(hDraw int, points []POINT, count int, tension float32) int
- func XDraw_DrawCurveF(hDraw int, points []POINTF, count int, tension float32) int
- func XDraw_DrawEllipse(hDraw int, pRect *RECT) int
- func XDraw_DrawLine(hDraw int, x1 int, y1 int, x2 int, y2 int) int
- func XDraw_DrawLineF(hDraw int, x1, y1, x2, y2 float32) int
- func XDraw_DrawPolygon(hDraw int, points []POINT, nCount int) int
- func XDraw_DrawPolygonF(hDraw int, points []POINTF, nCount int) int
- func XDraw_DrawRect(hDraw int, pRect *RECT) int
- func XDraw_DrawRectF(hDraw int, pRect *RECTF) int
- func XDraw_DrawRoundRect(hDraw int, pRect *RECT, nWidth int, nHeight int) int
- func XDraw_DrawRoundRectEx(hDraw int, pRect *RECT, nLeftTop int, nRightTop int, nRightBottom int, ...) int
- func XDraw_DrawRoundRectExF(hDraw int, pRect *RECT, nLeftTop, nRightTop, nRightBottom, nLeftBottom float32) int
- func XDraw_DrawRoundRectF(hDraw int, pRect *RECT, nWidth, nHeight float32) int
- func XDraw_DrawSvg(hDraw int, hSvg int, x int, y int) int
- func XDraw_DrawSvgEx(hDraw int, hSvg int, x int, y int, nWidth int, nHeight int) int
- func XDraw_DrawSvgSize(hDraw int, hSvg int, nWidth int, nHeight int) int
- func XDraw_DrawSvgSrc(hDraw int, hSvg int) int
- func XDraw_DrawText(hDraw int, lpString string, lpRect *RECT) int
- func XDraw_DrawTextF(hDraw int, lpString string, lpRect *RECTF) int
- func XDraw_DrawTextUnderline(hDraw int, lpString string, lpRect *RECT, colorLine int) int
- func XDraw_DrawTextUnderlineF(hDraw int, lpString string, lpRect *RECTF, colorLine int) int
- func XDraw_EnableSmoothingMode(hDraw int, bEnable bool) int
- func XDraw_EnableWndTransparent(hDraw int, bTransparent bool) int
- func XDraw_FillEllipse(hDraw int, pRect *RECT) int
- func XDraw_FillEllipseF(hDraw int, pRect *RECTF) int
- func XDraw_FillPolygon(hDraw int, points []POINT, nCount int) int
- func XDraw_FillPolygonF(hDraw int, points []POINTF, nCount int) int
- func XDraw_FillRect(hDraw int, pRect *RECT) int
- func XDraw_FillRectColor(hDraw int, pRect *RECT, color int) int
- func XDraw_FillRectColorF(hDraw int, pRect *RECTF, color int) int
- func XDraw_FillRectF(hDraw int, pRect *RECTF) int
- func XDraw_FillRoundRect(hDraw int, pRect *RECT, nWidth, nHeight int) int
- func XDraw_FillRoundRectEx(hDraw int, pRect *RECT, nLeftTop, nRightTop, nRightBottom, nLeftBottom int) int
- func XDraw_FillRoundRectExF(hDraw int, pRect *RECTF, ...) int
- func XDraw_FillRoundRectF(hDraw int, pRect *RECTF, nWidth, nHeight float32) int
- func XDraw_FocusRect(hDraw int, pRect *RECT) int
- func XDraw_FocusRectF(hDraw int, pRect *RECTF) int
- func XDraw_GDI_AlphaBlend(hDraw int, nXOriginDest int, nYOriginDest int, nWidthDest int, nHeightDest int, ...) bool
- func XDraw_GDI_BitBlt(hDrawDest int, nXDest int, nYDest int, nWidth int, nHeight int, hdcSrc int, ...) bool
- func XDraw_GDI_BitBlt2(hDrawDest int, nXDest int, nYDest int, nWidth int, nHeight int, hDrawSrc int, ...) bool
- func XDraw_GDI_CreatePen(hDraw int, fnPenStyle int, nWidth int, crColor int) int
- func XDraw_GDI_CreatePolygonRgn(hDraw int, pPt []POINT, cPoints int, fnPolyFillMode int) int
- func XDraw_GDI_CreateRectRgn(hDraw int, nLeftRect int, nTopRect int, nRightRect int, nBottomRect int) int
- func XDraw_GDI_CreateRoundRectRgn(hDraw int, nLeftRect int, nTopRect int, nRightRect int, nBottomRect int, ...) int
- func XDraw_GDI_CreateSolidBrush(hDraw int, crColor int) int
- func XDraw_GDI_DrawIconEx(hDraw int, xLeft int, yTop int, hIcon int, cxWidth int, cyWidth int, ...) bool
- func XDraw_GDI_Ellipse(hDraw int, pRect *RECT) bool
- func XDraw_GDI_FillRgn(hDraw int, hrgn int, hbr int) bool
- func XDraw_GDI_FrameRgn(hDraw int, hrgn int, hbr int, nWidth int, nHeight int) bool
- func XDraw_GDI_LineTo(hDraw int, nXEnd int, nYEnd int) bool
- func XDraw_GDI_MoveToEx(hDraw int, X int, Y int, pPoint *POINT) bool
- func XDraw_GDI_Polyline(hDraw int, pArrayPt []POINT, arrayPtSize int) bool
- func XDraw_GDI_Rectangle(hDraw int, nLeftRect int, nTopRect int, nRightRect int, nBottomRect int) bool
- func XDraw_GDI_RestoreGDIOBJ(hDraw int) int
- func XDraw_GDI_SelectClipRgn(hDraw int, hRgn int) int
- func XDraw_GDI_SetBkMode(hDraw int, bTransparent bool) int
- func XDraw_GDI_SetPixel(hDraw int, X int, Y int, crColor int) int
- func XDraw_GetD2dRenderTarget(hDraw int) int
- func XDraw_GetHDC(hDraw int) int
- func XDraw_GetOffset(hDraw int, pX *int, pY *int) int
- func XDraw_GradientFill2(hDraw int, pRect *RECT, color1 int, color2 int, mode xcc.GRADIENT_FILL_) int
- func XDraw_GradientFill2F(hDraw int, pRect *RECTF, color1 int, color2 int, mode xcc.GRADIENT_FILL_) int
- func XDraw_GradientFill4(hDraw int, pRect *RECT, color1 int, color2 int, color3 int, color4 int, ...) bool
- func XDraw_GradientFill4F(hDraw int, pRect *RECTF, color1 int, color2 int, color3 int, color4 int, ...) bool
- func XDraw_Image(hDraw int, hImageFrame int, x, y int) int
- func XDraw_ImageAdaptive(hDraw int, hImageFrame int, pRect *RECT, bOnlyBorder bool) int
- func XDraw_ImageAdaptiveF(hDraw int, hImageFrame int, pRect *RECTF, bOnlyBorder bool) int
- func XDraw_ImageEx(hDraw int, hImageFrame int, x, y, width, height int) int
- func XDraw_ImageExF(hDraw int, hImageFrame int, x, y, width, height float32) int
- func XDraw_ImageF(hDraw int, hImageFrame int, x, y float32) int
- func XDraw_ImageMask(hDraw int, hImageFrame int, hImageFrameMask int, x int, y int, x2 int, y2 int) int
- func XDraw_ImageMaskEllipse(hDraw int, hImageFrame int, pRect *RECT, pRcMask *RECT) int
- func XDraw_ImageMaskRect(hDraw int, hImageFrame int, pRect *RECT, pRcMask *RECT, pRcRoundAngle *RECT) int
- func XDraw_ImageSuper(hDraw int, hImageFrame int, pRect *RECT, bClip bool) int
- func XDraw_ImageSuperEx(hDraw int, hImageFrame int, prcDest *RECT, prcSrc *RECT) int
- func XDraw_ImageSuperExF(hDraw int, hImageFrame int, prcDest *RECTF, prcSrc *RECT) int
- func XDraw_ImageSuperF(hDraw int, hImageFrame int, pRect *RECTF, bClip bool) int
- func XDraw_ImageSuperMask(hDraw int, hImageFrame int, hImageFrameMask int, pRect *RECT, pRectMask *RECT, ...) int
- func XDraw_ImageTile(hDraw int, hImageFrame int, hImageFrameMask int, pRect *RECT, flag int) int
- func XDraw_ImageTileF(hDraw int, hImageFrame int, hImageFrameMask int, pRect *RECTF, flag int) int
- func XDraw_SetBrushColor(hDraw int, color int) int
- func XDraw_SetClipRect(hDraw int, pRect *RECT) int
- func XDraw_SetD2dTextRenderingMode(hDraw int, mode xcc.XC_DWRITE_RENDERING_MODE_) int
- func XDraw_SetFont(hDraw int, hFontx int) int
- func XDraw_SetLineWidth(hDraw int, nWidth int) int
- func XDraw_SetLineWidthF(hDraw int, nWidth float32) int
- func XDraw_SetOffset(hDraw int, x int, y int) int
- func XDraw_SetTextAlign(hDraw int, nFlags xcc.TextFormatFlag_) int
- func XDraw_SetTextRenderingHint(hDraw int, nType int) int
- func XDraw_SetTextVertical(hDraw int, bVertical bool) int
- func XDraw_TextOut(hDraw int, nXStart int, nYStart int, lpString string, cbString string) int
- func XDraw_TextOutA(hDraw int, nXStart int, nYStart int, lpString string) int
- func XDraw_TextOutAF(hDraw int, nXStart, nYStart float32, lpString string) int
- func XDraw_TextOutEx(hDraw int, nXStart int, nYStart int, lpString string) int
- func XDraw_TextOutExF(hDraw int, nXStart, nYStart float32, lpString string) int
- func XDraw_TextOutF(hDraw int, nXStart, nYStart float32, lpString string, cbString string) int
- func XEase_Back(p float32, flag xcc.Ease_Type_) float32
- func XEase_Bounce(p float32, flag xcc.Ease_Type_) float32
- func XEase_Circ(p float32, flag xcc.Ease_Type_) float32
- func XEase_Cubic(p float32, flag xcc.Ease_Type_) float32
- func XEase_Elastic(p float32, flag xcc.Ease_Type_) float32
- func XEase_Ex(pos float32, flag xcc.Ease_Flag_) float32
- func XEase_Expo(p float32, flag xcc.Ease_Type_) float32
- func XEase_Linear(p float32) float32
- func XEase_Quad(p float32, flag xcc.Ease_Type_) float32
- func XEase_Quart(p float32, flag xcc.Ease_Type_) float32
- func XEase_Quint(p float32, flag xcc.Ease_Type_) float32
- func XEase_Sine(p float32, flag xcc.Ease_Type_) float32
- func XEdit_AddByStyle(hEle int, iStyle int) int
- func XEdit_AddChatBegin(hEle int, hImageAvatar int, hImageBubble int, nFlag xcc.Chat_Flag_) int
- func XEdit_AddChatEnd(hEle int) int
- func XEdit_AddData(hEle int, pData *Edit_Data_Copy_, styleTable []uint16, nStyleCount int) int
- func XEdit_AddObject(hEle int, hObj int) int
- func XEdit_AddStyle(hEle int, hFont_image_Obj int, color int, bColor bool) int
- func XEdit_AddStyleEx(hEle int, fontName string, fontSize int, fontStyle xcc.FontStyle_, color int, ...) int
- func XEdit_AddText(hEle int, pString string) int
- func XEdit_AddTextEx(hEle int, pString string, iStyle int) int
- func XEdit_AddTextUser(hEle int, pString string) int
- func XEdit_AutoScroll(hEle int) bool
- func XEdit_AutoScrollEx(hEle int, iRow int, iCol int) bool
- func XEdit_CancelSelect(hEle int) bool
- func XEdit_ClipboardCopy(hEle int) bool
- func XEdit_ClipboardCut(hEle int) bool
- func XEdit_ClipboardPaste(hEle int) bool
- func XEdit_Create(x int, y int, cx int, cy int, hParent int) int
- func XEdit_CreateEx(x int, y int, cx int, cy int, nType xcc.Edit_Type_, hParent int) int
- func XEdit_Delete(hEle int, iStartRow int, iStartCol int, iEndRow int, iEndCol int) bool
- func XEdit_DeleteRow(hEle int, iRow int) bool
- func XEdit_DeleteSelect(hEle int) bool
- func XEdit_EnableAutoCancelSel(hEle int, bEnable bool) int
- func XEdit_EnableAutoSelAll(hEle int, bEnable bool) int
- func XEdit_EnableAutoWrap(hEle int, bEnable bool) int
- func XEdit_EnableMultiLine(hEle int, bEnable bool) int
- func XEdit_EnablePassword(hEle int, bEnable bool) int
- func XEdit_EnableReadOnly(hEle int, bEnable bool) int
- func XEdit_FreeData(pData *Edit_Data_Copy_) int
- func XEdit_GetAt(hEle int, iRow int, iCol int) int
- func XEdit_GetCurCol(hEle int) int
- func XEdit_GetCurPos(hEle int) int
- func XEdit_GetCurPosEx(hEle int, iRow *int, iCol *int) int
- func XEdit_GetCurRow(hEle int) int
- func XEdit_GetLength(hEle int) int
- func XEdit_GetLengthRow(hEle int, iRow int) int
- func XEdit_GetPoint(hEle int, iRow int, iCol int, pOut *POINT) int
- func XEdit_GetRowCount(hEle int) int
- func XEdit_GetSelectRange(hEle int, pBegin *Position_, pEnd *Position_) bool
- func XEdit_GetSelectText(hEle int, pOut *string, nOutLen int) int
- func XEdit_GetSelectTextLength(hEle int) int
- func XEdit_GetStyleInfo(hEle int, iStyle int, info *Edit_Style_Info_) bool
- func XEdit_GetText(hEle int, pOut *string, nOutlen int) int
- func XEdit_GetTextRow(hEle int, iRow int, pOut *string, nOutlen int) int
- func XEdit_GetVisibleRowRange(hEle int, piStart *int, piEnd *int) int
- func XEdit_InsertText(hEle int, iRow int, iCol int, pString string) int
- func XEdit_IsAutoWrap(hEle int) bool
- func XEdit_IsEmpty(hEle int) bool
- func XEdit_IsInSelect(hEle int, iRow int, iCol int) bool
- func XEdit_IsMultiLine(hEle int) bool
- func XEdit_IsPassword(hEle int) bool
- func XEdit_IsReadOnly(hEle int) bool
- func XEdit_ModifyStyle(hEle int, iStyle int, hFont int, color int, bColor bool) bool
- func XEdit_MoveEnd(hEle int) int
- func XEdit_PosToRowCol(hEle int, iPos int, pInfo *Position_) int
- func XEdit_Redo(hEle int) bool
- func XEdit_ReleaseStyle(hEle int, iStyle int) bool
- func XEdit_RowColToPos(hEle int, iRow int, iCol int) int
- func XEdit_SelectAll(hEle int) bool
- func XEdit_SetBackFont(hEle int, hFont int) int
- func XEdit_SetCaretColor(hEle int, color int) int
- func XEdit_SetCaretWidth(hEle int, nWidth int) int
- func XEdit_SetCharSpaceSize(hEle int, size int, sizeZh int) int
- func XEdit_SetChatIndentation(hEle int, nIndentation int) int
- func XEdit_SetCurPos(hEle int, iRow int) int
- func XEdit_SetCurPosEx(hEle int, iRow int, iCol int) int
- func XEdit_SetCurStyle(hEle int, iStyle int) int
- func XEdit_SetDefaultText(hEle int, pString string) int
- func XEdit_SetDefaultTextColor(hEle int, color int) int
- func XEdit_SetPasswordCharacter(hEle int, ch int) int
- func XEdit_SetRowHeight(hEle int, nHeight int) int
- func XEdit_SetRowHeightEx(hEle int, iRow int, nHeight int) int
- func XEdit_SetRowSpace(hEle int, nSpace int) int
- func XEdit_SetSelect(hEle int, iStartRow int, iStartCol int, iEndRow int, iEndCol int) bool
- func XEdit_SetSelectBkColor(hEle int, color int) int
- func XEdit_SetSelectTextStyle(hEle int, iStyle int) int
- func XEdit_SetSpaceSize(hEle int, size int) int
- func XEdit_SetTabSpace(hEle int, nSpace int) int
- func XEdit_SetText(hEle int, pString string) int
- func XEdit_SetTextAlign(hEle int, align xcc.Edit_TextAlign_Flag_) int
- func XEdit_SetTextInt(hEle int, nValue int) int
- func XEdit_Undo(hEle int) bool
- func XEditor_AddConst(hEle int, pKey string) int
- func XEditor_AddExcludeDefVarKeyword(hEle int, pKeyword string) int
- func XEditor_AddFunction(hEle int, pKey string) int
- func XEditor_AddKeyword(hEle int, pKey string, iStyle int) int
- func XEditor_ClearBreakpoint(hEle int) int
- func XEditor_Create(x int, y int, cx int, cy int, hParent int) int
- func XEditor_Expand(hEle int, iRow int, bExpand bool) int
- func XEditor_ExpandAll(hEle int, bExpand bool) int
- func XEditor_ExpandEx(hEle int, iRow int) int
- func XEditor_GetBreakpointCount(hEle int) int
- func XEditor_GetBreakpoints(hEle int, aPoints *[]int32, nCount int) int
- func XEditor_GetColor(hEle int, pInfo *Editor_Color_) int
- func XEditor_GetDepth(hEle int, iRow int) int
- func XEditor_GetExpandState(hEle int) string
- func XEditor_GetIndentation(hEle int, iRow int) int
- func XEditor_IsBreakpoint(hEle int, iRow int) bool
- func XEditor_RemoveBreakpoint(hEle int, iRow int) bool
- func XEditor_SetBreakpoint(hEle int, iRow int, bActivate bool) bool
- func XEditor_SetColor(hEle int, pInfo *Editor_Color_) int
- func XEditor_SetCurRow(hEle int, iRow int) int
- func XEditor_SetExpandState(hEle int, pString string) int
- func XEditor_SetRunRow(hEle int, iRow int) bool
- func XEditor_SetStyleClass(hEle int, iStyle int) int
- func XEditor_SetStyleComment(hEle int, iStyle int) int
- func XEditor_SetStyleDataType(hEle int, iStyle int) int
- func XEditor_SetStyleFunction(hEle int, iStyle int) int
- func XEditor_SetStyleKeyword(hEle int, iStyle int) int
- func XEditor_SetStyleMacro(hEle int, iStyle int) int
- func XEditor_SetStyleNumber(hEle int, iStyle int) int
- func XEditor_SetStyleString(hEle int, iStyle int) int
- func XEditor_SetStyleVar(hEle int, iStyle int) int
- func XEditor_ToExpandRow(hEle int, iRow int) int
- func XEidtor_EnableAutoMatchSpaseSelect(hEle int, bEnable bool) int
- func XEidtor_IsEmptyRow(hEle int, iRow int) int
- func XEle_AddBkBorder(hEle int, nState xcc.CombinedState, color int, width int) int
- func XEle_AddBkFill(hEle int, nState xcc.CombinedState, color int) int
- func XEle_AddBkImage(hEle int, nState xcc.CombinedState, hImage int) int
- func XEle_AddChild(hEle int, hChild int) bool
- func XEle_AdjustLayout(hEle int, nAdjustNo uint32) int
- func XEle_AdjustLayoutEx(hEle int, nFlags xcc.AdjustLayout_, nAdjustNo uint32) int
- func XEle_ClearBkInfo(hEle int) int
- func XEle_Create(x int, y int, cx int, cy int, hParent int) int
- func XEle_Destroy(hEle int) int
- func XEle_DrawEle(hEle int, hDraw int) int
- func XEle_DrawFocus(hEle int, hDraw int, pRect *RECT) bool
- func XEle_Enable(hEle int, bEnable bool) int
- func XEle_EnableBkTransparent(hEle int, bEnable bool) int
- func XEle_EnableCanvas(hEle int, bEnable bool) int
- func XEle_EnableDrawBorder(hEle int, bEnable bool) int
- func XEle_EnableDrawFocus(hEle int, bEnable bool) int
- func XEle_EnableEvent_XE_MOUSEWHEEL(hEle int, bEnable bool) int
- func XEle_EnableEvent_XE_PAINT_END(hEle int, bEnable bool) int
- func XEle_EnableFocus(hEle int, bEnable bool) int
- func XEle_EnableKeyTab(hEle int, bEnable bool) int
- func XEle_EnableMouseThrough(hEle int, bEnable bool) int
- func XEle_EnableSwitchFocus(hEle int, bEnable bool) int
- func XEle_EnableTopmost(hEle int, bTopmost bool) bool
- func XEle_EnableTransparentChannel(hEle int, bEnable bool) int
- func XEle_GetAlpha(hEle int) byte
- func XEle_GetBkInfoCount(hEle int) int
- func XEle_GetBkManager(hEle int) int
- func XEle_GetBkManagerEx(hEle int) int
- func XEle_GetBorderSize(hEle int, pBorder *RECT) int
- func XEle_GetChildByID(hEle int, nID int) int
- func XEle_GetChildByIndex(hEle int, index int) int
- func XEle_GetChildCount(hEle int) int
- func XEle_GetClientRect(hEle int, pRect *RECT) int
- func XEle_GetContentSize(hEle int, bHorizon bool, cx int, cy int, pSize *SIZE) int
- func XEle_GetCursor(hEle int) int
- func XEle_GetFocusBorderColor(hEle int) int
- func XEle_GetFont(hEle int) int
- func XEle_GetFontEx(hEle int) int
- func XEle_GetHeight(hEle int) int
- func XEle_GetPadding(hEle int, pPadding *RECT) int
- func XEle_GetPosition(hEle int, pOutX *int, pOutY *int) int
- func XEle_GetRect(hEle int, pRect *RECT) int
- func XEle_GetRectLogic(hEle int, pRect *RECT) int
- func XEle_GetSize(hEle int, pOutWidth *int, pOutHeight *int) int
- func XEle_GetStateFlags(hEle int) xcc.CombinedState
- func XEle_GetTextColor(hEle int) int
- func XEle_GetTextColorEx(hEle int) int
- func XEle_GetToolTip(hEle int) int
- func XEle_GetUserData(hEle int) int
- func XEle_GetWidth(hEle int) int
- func XEle_GetWndClientRect(hEle int, pRect *RECT) int
- func XEle_GetZOrder(hEle int) int
- func XEle_HitChildEle(hEle int, pPt *POINT) int
- func XEle_InsertChild(hEle int, hChild int, index int) bool
- func XEle_IsBkTransparent(hEle int) bool
- func XEle_IsChildEle(hEle int, hChildEle int) bool
- func XEle_IsDrawFocus(hEle int) bool
- func XEle_IsEnable(hEle int) bool
- func XEle_IsEnableCanvas(hEle int) bool
- func XEle_IsEnableEvent_XE_PAINT_END(hEle int) bool
- func XEle_IsEnableFocus(hEle int) bool
- func XEle_IsEnable_XE_MOUSEWHEEL(hEle int) bool
- func XEle_IsFocus(hEle int) bool
- func XEle_IsFocusEx(hEle int) bool
- func XEle_IsKeyTab(hEle int) bool
- func XEle_IsMouseThrough(hEle int) bool
- func XEle_IsSwitchFocus(hEle int) bool
- func XEle_KillXCTimer(hEle int, nIDEvent int) bool
- func XEle_PointClientToWndClient(hEle int, pPt *POINT) int
- func XEle_PointWndClientToEleClient(hEle int, pPt *POINT) int
- func XEle_PopupToolTip(hEle int, x int, y int) int
- func XEle_PostEvent(hEle int, nEvent xcc.XE_, wParam int, lParam int) int
- func XEle_RectClientToWndClient(hEle int, pRect *RECT) int
- func XEle_RectWndClientToEleClient(hEle int, pRect *RECT) int
- func XEle_Redraw(hEle int, bImmediate bool) int
- func XEle_RedrawRect(hEle int, pRect *RECT, bImmediate bool) int
- func XEle_RegEventC(hEle int, nEvent xcc.XE_, pFun interface{}) bool
- func XEle_RegEventC1(hEle int, nEvent xcc.XE_, pFun interface{}) bool
- func XEle_Remove(hEle int) int
- func XEle_RemoveEventC(hEle int, nEvent xcc.XE_, pFun interface{}) bool
- func XEle_SendEvent(hEle int, nEvent xcc.XE_, wParam int, lParam int) int
- func XEle_SetAlpha(hEle int, alpha uint8) int
- func XEle_SetBkInfo(hEle int, pText string) int
- func XEle_SetBkManager(hEle int, hBkInfoM int) int
- func XEle_SetBorderSize(hEle int, left int, top int, right int, bottom int) int
- func XEle_SetCapture(hEle int, b bool) int
- func XEle_SetCursor(hEle int, hCursor int) int
- func XEle_SetDragBorder(hEle int, nFlags xcc.Element_Position_) int
- func XEle_SetDragBorderBindEle(hEle int, nFlags xcc.Element_Position_, hBindEle int, nSpace int) int
- func XEle_SetFocusBorderColor(hEle int, color int) int
- func XEle_SetFont(hEle int, hFontx int) int
- func XEle_SetHeight(hEle int, nHeight int) int
- func XEle_SetLockScroll(hEle int, bHorizon bool, bVertical bool) int
- func XEle_SetMaxSize(hEle int, nWidth int, nHeight int) int
- func XEle_SetMinSize(hEle int, nWidth int, nHeight int) int
- func XEle_SetPadding(hEle int, left int, top int, right int, bottom int) int
- func XEle_SetPosition(hEle int, x int, y int, bRedraw bool, nFlags xcc.AdjustLayout_, ...) int
- func XEle_SetPositionLogic(hEle int, x int, y int, bRedraw bool, nFlags xcc.AdjustLayout_, ...) int
- func XEle_SetRect(hEle int, pRect *RECT, bRedraw bool, nFlags xcc.AdjustLayout_, ...) int
- func XEle_SetRectEx(hEle int, x int, y int, cx int, cy int, bRedraw bool, nFlags xcc.AdjustLayout_, ...) int
- func XEle_SetRectLogic(hEle int, pRect *RECT, bRedraw bool, nFlags xcc.AdjustLayout_, ...) int
- func XEle_SetSize(hEle int, nWidth int, nHeight int, bRedraw bool, nFlags xcc.AdjustLayout_, ...) int
- func XEle_SetTextColor(hEle int, color int) int
- func XEle_SetToolTip(hEle int, pText string) int
- func XEle_SetToolTipEx(hEle int, pText string, nTextAlign xcc.TextFormatFlag_) int
- func XEle_SetUserData(hEle int, nData int) int
- func XEle_SetWidth(hEle int, nWidth int) int
- func XEle_SetXCTimer(hEle int, nIDEvent int, uElapse int) bool
- func XEle_SetZOrder(hEle int, index int) bool
- func XEle_SetZOrderEx(hEle int, hDestEle int, nType xcc.Zorder_) bool
- func XExitXCGUI() int
- func XFont_AddRef(hFontX int) int
- func XFont_Create(size int) int
- func XFont_CreateEx(pName string, size int, style xcc.FontStyle_) int
- func XFont_CreateFromFile(pFontFile string, size int, style xcc.FontStyle_) int
- func XFont_CreateFromFont(pFont int) int
- func XFont_CreateFromHFONT(hFont int) int
- func XFont_CreateFromMem(data []byte, fontSize int, style xcc.FontStyle_) int
- func XFont_CreateFromRes(id int, pType string, fontSize int, style xcc.FontStyle_, hModule int) int
- func XFont_CreateLOGFONTW(pFontInfo *LOGFONTW) int
- func XFont_Destroy(hFontX int) int
- func XFont_EnableAutoDestroy(hFontX int, bEnable bool) int
- func XFont_GetFont(hFontX int) int
- func XFont_GetFontInfo(hFontX int, pInfo *Font_Info_) int
- func XFont_GetLOGFONTW(hFontX int, hdc int, pOut *LOGFONTW) bool
- func XFont_GetRefCount(hFontX int) int
- func XFont_Release(hFontX int) int
- func XFrameWnd_AddPane(hWindow int, hPaneDest int, hPaneNew int, align xcc.Pane_Align_) bool
- func XFrameWnd_Attach(hWnd, XCStyle int) int
- func XFrameWnd_Create(x int, y int, cx int, cy int, pTitle string, hWndParent int, ...) int
- func XFrameWnd_CreateEx(dwExStyle int, dwStyle int, lpClassName string, x int, y int, cx int, cy int, ...) int
- func XFrameWnd_GetDragFloatWndTopFlag(hWindow int) xcc.FrameWnd_Cell_Type_
- func XFrameWnd_GetLayoutAreaRect(hWindow int, pRect *RECT) int
- func XFrameWnd_LoadLayoutFile(hWindow int, aPaneList []int, nPaneCount int, pFileName string) bool
- func XFrameWnd_MergePane(hWindow int, hPaneDest int, hPaneNew int) bool
- func XFrameWnd_SaveLayoutToFile(hWindow int, pFileName string) bool
- func XFrameWnd_SetPaneSplitBarColor(hWindow int, color int) int
- func XFrameWnd_SetTabBarHeight(hWindow int, nHeight int) int
- func XFrameWnd_SetView(hWindow int, hEle int) int
- func XImage_AddRef(hImage int) int
- func XImage_Destroy(hImage int) int
- func XImage_EnableAutoDestroy(hImage int, bEnable bool) int
- func XImage_EnableCenter(hImage int, bCenter bool) int
- func XImage_EnableTranColor(hImage int, bEnable bool) int
- func XImage_GetDrawType(hImage int) int
- func XImage_GetHeight(hImage int) int
- func XImage_GetImageSrc(hImage int) int
- func XImage_GetRefCount(hImage int) int
- func XImage_GetSvg(hImage int) int
- func XImage_GetWidth(hImage int) int
- func XImage_IsAdaptive(hImage int) bool
- func XImage_IsCenter(hImage int) bool
- func XImage_IsStretch(hImage int) bool
- func XImage_IsTile(hImage int) bool
- func XImage_LoadFile(pFileName string) int
- func XImage_LoadFileAdaptive(pFileName string, leftSize int, topSize int, rightSize int, bottomSize int) int
- func XImage_LoadFileRect(pFileName string, x int, y int, cx int, cy int) int
- func XImage_LoadFromExtractIcon(pFileName string) int
- func XImage_LoadFromHBITMAP(hBitmap int) int
- func XImage_LoadFromHICON(hIcon int) int
- func XImage_LoadFromImage(pImage int) int
- func XImage_LoadMemory(pBuffer []byte) int
- func XImage_LoadMemoryAdaptive(pBuffer []byte, leftSize int, topSize int, rightSize int, bottomSize int) int
- func XImage_LoadMemoryRect(pBuffer []byte, x int, y int, cx int, cy int) int
- func XImage_LoadRes(id int, pType string, bStretch bool, hModule int) int
- func XImage_LoadResAdaptive(id int, pType string, leftSize int, topSize int, rightSize int, ...) int
- func XImage_LoadSrc(hImageSrc int) int
- func XImage_LoadSvg(hSvg int) int
- func XImage_LoadSvgFile(pFileName string) int
- func XImage_LoadSvgString(pString string) int
- func XImage_LoadSvgStringUtf8(pString string) int
- func XImage_LoadSvgStringW(pString string) int
- func XImage_LoadZip(pZipFileName string, pFileName string, pPassword string) int
- func XImage_LoadZipAdaptive(pZipFileName string, pFileName string, pPassword string, x1 int, x2 int, ...) int
- func XImage_LoadZipMem(data []byte, pFileName string, pPassword string) int
- func XImage_LoadZipRect(pZipFileName string, pFileName string, pPassword string, x int, y int, cx int, ...) int
- func XImage_Release(hImage int) int
- func XImage_SetDrawType(hImage int, nType xcc.Image_Draw_Type_) bool
- func XImage_SetDrawTypeAdaptive(hImage int, leftSize int, topSize int, rightSize int, bottomSize int) bool
- func XImage_SetRotateAngle(hImage int, fAngle float32) int
- func XImage_SetSplitEqual(hImage int, nCount int, iIndex int) int
- func XImage_SetTranColor(hImage int, color int) int
- func XImage_SetTranColorEx(hImage int, color int, tranColor uint8) int
- func XInitXCGUI(bD2D bool) bool
- func XLayoutBox_EnableAutoWrap(hLayoutBox int, bEnable bool) int
- func XLayoutBox_EnableHorizon(hLayoutBox int, bEnable bool) int
- func XLayoutBox_EnableOverflowHide(hLayoutBox int, bEnable bool) int
- func XLayoutBox_SetAlignBaseline(hLayoutBox int, nAlign xcc.Layout_Align_Axis_) int
- func XLayoutBox_SetAlignH(hLayoutBox int, nAlign xcc.Layout_Align_) int
- func XLayoutBox_SetAlignV(hLayoutBox int, nAlign xcc.Layout_Align_) int
- func XLayoutBox_SetSpace(hLayoutBox int, nSpace int) int
- func XLayoutBox_SetSpaceRow(hLayoutBox int, nSpace int) int
- func XLayoutFrame_Create(x int, y int, cx int, cy int, hParent int) int
- func XLayoutFrame_ShowLayoutFrame(hEle int, bEnable bool) int
- func XLayout_Create(x int, y int, cx int, cy int, hParent int) int
- func XLayout_CreateEx(hParent int) int
- func XLayout_EnableLayout(hEle int, bEnable bool) int
- func XLayout_GetHeightIn(hEle int) int
- func XLayout_GetWidthIn(hEle int) int
- func XLayout_IsEnableLayout(hEle int) bool
- func XLayout_ShowLayoutFrame(hEle int, bEnable bool) int
- func XListBox_AddItemImage(hEle int, hImage int) int
- func XListBox_AddItemImageEx(hEle int, pName string, hImage int) int
- func XListBox_AddItemText(hEle int, pText string) int
- func XListBox_AddItemTextEx(hEle int, pName string, pText string) int
- func XListBox_AddSelectItem(hEle int, iItem int) bool
- func XListBox_BindAdapter(hEle int, hAdapter int) int
- func XListBox_CancelSelectAll(hEle int) bool
- func XListBox_CancelSelectItem(hEle int, iItem int) bool
- func XListBox_Create(x int, y int, cx int, cy int, hParent int) int
- func XListBox_CreateAdapter(hEle int) int
- func XListBox_DeleteColumnAll(hEle int) int
- func XListBox_DeleteItem(hEle int, iItem int) bool
- func XListBox_DeleteItemAll(hEle int) int
- func XListBox_DeleteItemEx(hEle int, iItem int, nCount int) bool
- func XListBox_EnableFixedRowHeight(hEle int, bEnable bool) int
- func XListBox_EnableMultiSel(hEle int, bEnable bool) int
- func XListBox_EnableVirtualTable(hEle int, bEnable bool) int
- func XListBox_EnablemTemplateReuse(hEle int, bEnable bool) int
- func XListBox_GetAdapter(hEle int) int
- func XListBox_GetCountColumn_AD(hEle int) int
- func XListBox_GetCount_AD(hEle int) int
- func XListBox_GetItemData(hEle int, iItem int) int
- func XListBox_GetItemFloat(hEle int, iItem int, iColumn int, pOutValue *float32) bool
- func XListBox_GetItemFloatEx(hEle int, iItem int, pName string, pOutValue *float32) bool
- func XListBox_GetItemHeightDefault(hEle int, pHeight *int, pSelHeight *int) int
- func XListBox_GetItemImage(hEle int, iItem int, iColumn int) int
- func XListBox_GetItemImageEx(hEle int, iItem int, pName string) int
- func XListBox_GetItemIndexFromHXCGUI(hEle int, hXCGUI int) int
- func XListBox_GetItemInfo(hEle int, iItem int, pItem *ListBox_Item_Info_) bool
- func XListBox_GetItemInt(hEle int, iItem int, iColumn int, pOutValue *int) bool
- func XListBox_GetItemIntEx(hEle int, iItem int, pName string, pOutValue *int) bool
- func XListBox_GetItemMouseStay(hEle int) int
- func XListBox_GetItemText(hEle int, iItem int, iColumn int) string
- func XListBox_GetItemTextEx(hEle int, iItem int, pName string) string
- func XListBox_GetRowSpace(hEle int) int
- func XListBox_GetSelectAll(hEle int, pArray *[]int32, nArraySize int) int
- func XListBox_GetSelectCount(hEle int) int
- func XListBox_GetSelectItem(hEle int) int
- func XListBox_GetTemplateObject(hEle int, iItem int, nTempItemID int) int
- func XListBox_GetVisibleRowRange(hEle int, piStart *int, piEnd *int) int
- func XListBox_HitTest(hEle int, pPt *POINT) int
- func XListBox_HitTestOffset(hEle int, pPt *POINT) int
- func XListBox_InsertItemImage(hEle int, iItem int, hImage int) int
- func XListBox_InsertItemImageEx(hEle int, iItem int, pName string, hImage int) int
- func XListBox_InsertItemText(hEle int, iItem int, pValue string) int
- func XListBox_InsertItemTextEx(hEle int, iItem int, pName string, pValue string) int
- func XListBox_RefreshData(hEle int) int
- func XListBox_RefreshItem(hEle int, iItem int) int
- func XListBox_SelectAll(hEle int) bool
- func XListBox_SetDrawItemBkFlags(hEle int, nFlags xcc.List_DrawItemBk_Flag_) int
- func XListBox_SetItemData(hEle int, iItem int, nUserData int) bool
- func XListBox_SetItemFloat(hEle int, iItem int, iColumn int, fFloat float32) bool
- func XListBox_SetItemFloatEx(hEle int, iItem int, pName string, fFloat float32) bool
- func XListBox_SetItemHeightDefault(hEle int, nHeight int, nSelHeight int) int
- func XListBox_SetItemImage(hEle int, iItem int, iColumn int, hImage int) bool
- func XListBox_SetItemImageEx(hEle int, iItem int, pName string, hImage int) bool
- func XListBox_SetItemInfo(hEle int, iItem int, pItem *ListBox_Item_Info_) bool
- func XListBox_SetItemInt(hEle int, iItem int, iColumn int, nValue int) bool
- func XListBox_SetItemIntEx(hEle int, iItem int, pName string, nValue int) bool
- func XListBox_SetItemTemplate(hEle int, hTemp int) bool
- func XListBox_SetItemTemplateXML(hEle int, pXmlFile string) bool
- func XListBox_SetItemTemplateXMLFromString(hEle int, pStringXML string) bool
- func XListBox_SetItemText(hEle int, iItem int, iColumn int, pText string) bool
- func XListBox_SetItemTextEx(hEle int, iItem int, pName string, pText string) bool
- func XListBox_SetRowSpace(hEle int, nSpace int) int
- func XListBox_SetSelectItem(hEle int, iItem int) bool
- func XListBox_SetSplitLineColor(hEle int, color int) int
- func XListBox_SetVirtualRowCount(hEle int, nRowCount int) int
- func XListBox_Sort(hEle int, iColumnAdapter int, bAscending bool) int
- func XListBox_VisibleItem(hEle int, iItem int) int
- func XListView_AddSelectItem(hEle int, iGroup int, iItem int) bool
- func XListView_BindAdapter(hEle int, hAdapter int) int
- func XListView_CancelSelectAll(hEle int) int
- func XListView_Create(x int, y int, cx int, cy int, hParent int) int
- func XListView_CreateAdapter(hEle int) int
- func XListView_DeleteAll(hEle int) int
- func XListView_DeleteAllGroup(hEle int) int
- func XListView_DeleteAllItem(hEle int) int
- func XListView_DeleteColumnGroup(hEle int, iColumn int) int
- func XListView_DeleteColumnItem(hEle int, iColumn int) int
- func XListView_EnableMultiSel(hEle int, bEnable bool) int
- func XListView_EnableVirtualTable(hEle int, bEnable bool) int
- func XListView_EnablemTemplateReuse(hEle int, bEnable bool) int
- func XListView_ExpandGroup(hEle int, iGroup int, bExpand bool) bool
- func XListView_GetAdapter(hEle int) int
- func XListView_GetGroupHeight(hEle int) int
- func XListView_GetGroupUserData(hEle int, iGroup int) int
- func XListView_GetItemIDFromHXCGUI(hEle int, hXCGUI int, piGroup *int, piItem *int) bool
- func XListView_GetItemSize(hEle int, pSize *SIZE) int
- func XListView_GetItemUserData(hEle int, iGroup int, iItem int) int
- func XListView_GetSelectAll(hEle int, pArray int, nArraySize int) int
- func XListView_GetSelectItem(hEle int, piGroup *int, piItem *int) bool
- func XListView_GetSelectItemCount(hEle int) int
- func XListView_GetTemplateObject(hEle int, iGroup int, iItem int, nTempItemID int) int
- func XListView_GetTemplateObjectGroup(hEle int, iGroup int, nTempItemID int) int
- func XListView_GetVisibleItemRange(hEle int, piGroup1 *int, piGroup2 *int, piStartGroup *int, piStartItem *int, ...) int
- func XListView_Group_AddColumn(hEle int, pName string) int
- func XListView_Group_AddItemImage(hEle int, hImage int, iPos int) int
- func XListView_Group_AddItemImageEx(hEle int, pName string, hImage int, iPos int) int
- func XListView_Group_AddItemText(hEle int, pValue string, iPos int) int
- func XListView_Group_AddItemTextEx(hEle int, pName string, pValue string, iPos int) int
- func XListView_Group_DeleteAllChildItem(hEle int, iGroup int) int
- func XListView_Group_DeleteItem(hEle int, iGroup int) bool
- func XListView_Group_GetCount(hEle int) int
- func XListView_Group_GetImage(hEle int, iGroup int, iColumn int) int
- func XListView_Group_GetImageEx(hEle int, iGroup int, pName string) int
- func XListView_Group_GetText(hEle int, iGroup int, iColumn int) string
- func XListView_Group_GetTextEx(hEle int, iGroup int, pName string) string
- func XListView_Group_SetImage(hEle int, iGroup int, iColumn int, hImage int) bool
- func XListView_Group_SetImageEx(hEle int, iGroup int, pName string, hImage int) bool
- func XListView_Group_SetText(hEle int, iGroup int, iColumn int, pValue string) bool
- func XListView_Group_SetTextEx(hEle int, iGroup int, pName string, pValue string) bool
- func XListView_HitTest(hEle int, pPt *POINT, pOutGroup *int, pOutItem *int) bool
- func XListView_HitTestOffset(hEle int, pPt *POINT, pOutGroup *int, pOutItem *int) bool
- func XListView_Item_AddColumn(hEle int, pName string) int
- func XListView_Item_AddItemImage(hEle int, iGroup int, hImage int, iPos int) int
- func XListView_Item_AddItemImageEx(hEle int, iGroup int, pName string, hImage int, iPos int) int
- func XListView_Item_AddItemText(hEle int, iGroup int, pValue string, iPos int) int
- func XListView_Item_AddItemTextEx(hEle int, iGroup int, pName string, pValue string, iPos int) int
- func XListView_Item_DeleteItem(hEle int, iGroup int, iItem int) bool
- func XListView_Item_GetCount(hEle int, iGroup int) int
- func XListView_Item_GetImage(hEle int, iGroup int, iItem int, iColumn int) int
- func XListView_Item_GetImageEx(hEle int, iGroup int, iItem int, pName string) int
- func XListView_Item_GetText(hEle int, iGroup int, iItem int, iColumn int) string
- func XListView_Item_GetTextEx(hEle int, iGroup int, iItem int, pName string) string
- func XListView_Item_SetImage(hEle int, iGroup int, iItem int, iColumn int, hImage int) bool
- func XListView_Item_SetImageEx(hEle int, iGroup int, iItem int, pName string, hImage int) bool
- func XListView_Item_SetText(hEle int, iGroup int, iItem int, iColumn int, pValue string) bool
- func XListView_Item_SetTextEx(hEle int, iGroup int, iItem int, pName string, pValue string) bool
- func XListView_RefreshData(hEle int) int
- func XListView_RefreshItem(hEle int, iGroup int, iItem int) int
- func XListView_SetColumnSpace(hEle int, space int) int
- func XListView_SetDrawItemBkFlags(hEle int, nFlags xcc.List_DrawItemBk_Flag_) int
- func XListView_SetGroupHeight(hEle int, height int) int
- func XListView_SetGroupUserData(hEle int, iGroup int, nData int) int
- func XListView_SetItemSize(hEle int, width int, height int) int
- func XListView_SetItemTemplate(hEle int, hTemp int) bool
- func XListView_SetItemTemplateXML(hEle int, pXmlFile string) bool
- func XListView_SetItemTemplateXMLFromString(hEle int, pStringXML string) bool
- func XListView_SetItemUserData(hEle int, iGroup int, iItem int, nData int) int
- func XListView_SetRowSpace(hEle int, space int) int
- func XListView_SetSelectAll(hEle int) int
- func XListView_SetSelectItem(hEle int, iGroup int, iItem int) bool
- func XListView_SetVirtualItemCount(hEle int, iGroup int, nCount int) bool
- func XListView_VisibleItem(hEle int, iGroup int, iItem int) int
- func XList_AddColumn(hEle int, width int) int
- func XList_AddColumnImage(hEle int, nWidth int, pName string, hImage int) int
- func XList_AddColumnText(hEle int, nWidth int, pName string, pText string) int
- func XList_AddItemImage(hEle int, hImage int) int
- func XList_AddItemImageEx(hEle int, pName string, hImage int) int
- func XList_AddItemText(hEle int, pText string) int
- func XList_AddItemTextEx(hEle int, pName string, pText string) int
- func XList_AddSelectItem(hEle int, iItem int) bool
- func XList_BindAdapter(hEle int, hAdapter int) int
- func XList_BindAdapterHeader(hEle int, hAdapter int) int
- func XList_CancelSelectAll(hEle int) int
- func XList_CancelSelectItem(hEle int, iItem int) bool
- func XList_Create(x int, y int, cx int, cy int, hParent int) int
- func XList_CreateAdapter(hEle int) int
- func XList_CreateAdapterHeader(hEle int) int
- func XList_DeleteColumn(hEle int, iItem int) bool
- func XList_DeleteColumnAll(hEle int) int
- func XList_DeleteColumnAll_AD(hEle int) int
- func XList_DeleteItem(hEle int, iItem int) bool
- func XList_DeleteItemAll(hEle int) int
- func XList_DeleteItemEx(hEle int, iItem int, nCount int) bool
- func XList_EnableDragChangeColumnWidth(hEle int, bEnable bool) int
- func XList_EnableFixedRowHeight(hEle int, bEnable bool) int
- func XList_EnableItemBkFullRow(hEle int, bFull bool) int
- func XList_EnableMultiSel(hEle int, bEnable bool) int
- func XList_EnableVScrollBarTop(hEle int, bTop bool) int
- func XList_EnableVirtualTable(hEle int, bEnable bool) int
- func XList_EnablemTemplateReuse(hEle int, bEnable bool) int
- func XList_GetAdapter(hEle int) int
- func XList_GetAdapterHeader(hEle int) int
- func XList_GetColumnCount(hEle int) int
- func XList_GetColumnWidth(hEle int, iColumn int) int
- func XList_GetCountColumn_AD(hEle int) int
- func XList_GetCount_AD(hEle int) int
- func XList_GetHeaderHELE(hEle int) int
- func XList_GetHeaderHeight(hEle int) int
- func XList_GetHeaderItemIndexFromHXCGUI(hEle int, hXCGUI int) int
- func XList_GetHeaderTemplateObject(hEle int, iItem int, nTempItemID int) int
- func XList_GetItemData(hEle int, iItem int, iSubItem int) int
- func XList_GetItemFloat(hEle int, iItem int, iColumn int, pOutValue *float32) bool
- func XList_GetItemFloatEx(hEle int, iItem int, pName string, pOutValue *float32) bool
- func XList_GetItemHeight(hEle int, iRow int, pHeight *int, pSelHeight *int) int
- func XList_GetItemHeightDefault(hEle int, pHeight *int, pSelHeight *int) int
- func XList_GetItemImage(hEle int, iItem int, iColumn int) int
- func XList_GetItemImageEx(hEle int, iItem int, pName string) int
- func XList_GetItemIndexFromHXCGUI(hEle int, hXCGUI int) int
- func XList_GetItemInt(hEle int, iItem int, iColumn int, pOutValue *int) bool
- func XList_GetItemIntEx(hEle int, iItem int, pName string, pOutValue *int) bool
- func XList_GetItemText(hEle int, iItem int, iColumn int) string
- func XList_GetItemTextEx(hEle int, iItem int, pName string) string
- func XList_GetRowSpace(hEle int) int
- func XList_GetSelectAll(hEle int, pArray *[]int32, nArraySize int) int
- func XList_GetSelectItem(hEle int) int
- func XList_GetSelectItemCount(hEle int) int
- func XList_GetTemplateObject(hEle int, iItem int, iSubItem int, nTempItemID int) int
- func XList_GetVisibleRowRange(hEle int, piStart *int, piEnd *int) int
- func XList_HitTest(hEle int, pPt *POINT, piItem *int, piSubItem *int) bool
- func XList_HitTestOffset(hEle int, pPt *POINT, piItem *int, piSubItem *int) bool
- func XList_InsertColumn(hEle int, width int, iItem int) int
- func XList_InsertItemImage(hEle int, iItem int, hImage int) int
- func XList_InsertItemImageEx(hEle int, iItem int, pName string, hImage int) int
- func XList_InsertItemText(hEle int, iItem int, pValue string) int
- func XList_InsertItemTextEx(hEle int, iItem int, pName string, pValue string) int
- func XList_RefreshData(hEle int) int
- func XList_RefreshItem(hEle int, iItem int) int
- func XList_SetColumnMinWidth(hEle int, iItem int, width int) int
- func XList_SetColumnWidth(hEle int, iItem int, width int) int
- func XList_SetColumnWidthFixed(hEle int, iColumn int, bFixed bool) int
- func XList_SetDrawItemBkFlags(hEle int, nFlags xcc.List_DrawItemBk_Flag_) int
- func XList_SetHeaderHeight(hEle int, height int) int
- func XList_SetItemData(hEle int, iItem int, iSubItem int, data int) bool
- func XList_SetItemFloat(hEle int, iItem int, iColumn int, fFloat float32) bool
- func XList_SetItemFloatEx(hEle int, iItem int, pName string, fFloat float32) bool
- func XList_SetItemHeight(hEle int, iRow int, nHeight int, nSelHeight int) int
- func XList_SetItemHeightDefault(hEle int, nHeight int, nSelHeight int) int
- func XList_SetItemImage(hEle int, iItem int, iColumn int, hImage int) bool
- func XList_SetItemImageEx(hEle int, iItem int, pName string, hImage int) bool
- func XList_SetItemInt(hEle int, iItem int, iColumn int, nValue int) bool
- func XList_SetItemIntEx(hEle int, iItem int, pName string, nValue int) bool
- func XList_SetItemTemplate(hEle int, hTemp int) bool
- func XList_SetItemTemplateXML(hEle int, pXmlFile string) bool
- func XList_SetItemTemplateXMLFromString(hEle int, pStringXML string) bool
- func XList_SetItemText(hEle int, iItem int, iColumn int, pText string) bool
- func XList_SetItemTextEx(hEle int, iItem int, pName string, pText string) bool
- func XList_SetLockColumnLeft(hEle int, iColumn int) int
- func XList_SetLockColumnRight(hEle int, iColumn int) int
- func XList_SetLockRowBottom(hEle int, bLock bool) int
- func XList_SetLockRowBottomOverlap(hEle int, bOverlap bool) int
- func XList_SetRowSpace(hEle int, nSpace int) int
- func XList_SetSelectAll(hEle int) int
- func XList_SetSelectItem(hEle int, iItem int) bool
- func XList_SetSort(hEle int, iColumn int, iColumnAdapter int, bEnable bool) int
- func XList_SetSplitLineColor(hEle int, color int) int
- func XList_SetVirtualRowCount(hEle int, nRowCount int) int
- func XList_VisibleItem(hEle int, iItem int) int
- func XMenuBar_AddButton(hEle int, pText string) int
- func XMenuBar_Create(x int, y int, cx int, cy int, hParent int) int
- func XMenuBar_DeleteButton(hEle int, nIndex int) bool
- func XMenuBar_EnableAutoWidth(hEle int, bEnable bool) int
- func XMenuBar_GetButton(hEle int, nIndex int) bool
- func XMenuBar_GetMenu(hEle int, nIndex int) int
- func XMenuBar_SetButtonHeight(hEle int, height int) int
- func XMenu_AddItem(hMenu int, nID int, pText string, nParentID int, nFlags xcc.Menu_Item_Flag_) int
- func XMenu_AddItemIcon(hMenu int, nID int, pText string, nParentID int, hIcon int, ...) int
- func XMenu_CloseMenu(hMenu int) int
- func XMenu_Create() int
- func XMenu_DestroyMenu(hMenu int) int
- func XMenu_EnableDrawBackground(hMenu int, bEnable bool) int
- func XMenu_EnableDrawItem(hMenu int, bEnable bool) int
- func XMenu_GetEndChildItem(hMenu int, nID int) int
- func XMenu_GetFirstChildItem(hMenu int, nID int) int
- func XMenu_GetItemCount(hMenu int) int
- func XMenu_GetItemHeight(hMenu int) int
- func XMenu_GetItemText(hMenu int, nID int) string
- func XMenu_GetItemTextLength(hMenu int, nID int) int
- func XMenu_GetLeftSpaceText(hMenu int) int
- func XMenu_GetLeftWidth(hMenu int) int
- func XMenu_GetNextSiblingItem(hMenu int, nID int) int
- func XMenu_GetParentItem(hMenu int, nID int) int
- func XMenu_GetPrevSiblingItem(hMenu int, nID int) int
- func XMenu_InsertItem(hMenu int, nID int, pText string, nFlags xcc.Menu_Item_Flag_, insertID int) int
- func XMenu_InsertItemIcon(hMenu int, nID int, pText string, hIcon int, nFlags xcc.Menu_Item_Flag_, ...) int
- func XMenu_IsItemCheck(hMenu int, nID int) bool
- func XMenu_Popup(hMenu int, hParentWnd int, x int, y int, hParentEle int, ...) bool
- func XMenu_SetAutoDestroy(hMenu int, bAuto bool) int
- func XMenu_SetBkImage(hMenu int, hImage int) int
- func XMenu_SetBorderColor(hMenu int, crColor int) int
- func XMenu_SetBorderSize(hMenu int, nLeft int, nTop int, nRight int, nBottom int) int
- func XMenu_SetItemCheck(hMenu int, nID int, bCheck bool) bool
- func XMenu_SetItemFlags(hMenu int, nID int, uFlags int) bool
- func XMenu_SetItemHeight(hMenu int, height int) int
- func XMenu_SetItemIcon(hMenu int, nID int, hIcon int) bool
- func XMenu_SetItemText(hMenu int, nID int, pText string) bool
- func XMenu_SetItemWidth(hMenu int, nID int, nWidth int) bool
- func XModalWnd_Attach(hWnd int, XCStyle xcc.Window_Style_) int
- func XModalWnd_Create(nWidth int, nHeight int, pTitle string, hWndParent int, ...) int
- func XModalWnd_CreateEx(dwExStyle int, dwStyle int, lpClassName string, x int, y int, cx int, cy int, ...) int
- func XModalWnd_DoModal(hWindow int) xcc.MessageBox_Flag_
- func XModalWnd_EnableAutoClose(hWindow int, bEnable bool) int
- func XModalWnd_EnableEscClose(hWindow int, bEnable bool) int
- func XModalWnd_EndModal(hWindow int, nResult xcc.MessageBox_Flag_) int
- func XMonthCal_Create(x int, y int, cx int, cy int, hParent int) int
- func XMonthCal_GetButton(hEle int, nType int) int
- func XMonthCal_GetSelDate(hEle int, pnYear *int, pnMonth *int, pnDay *int) int
- func XMonthCal_GetToday(hEle int, pnYear *int, pnMonth *int, pnDay *int) int
- func XMonthCal_SetTextColor(hEle int, nFlag int, color int) int
- func XMonthCal_SetToday(hEle int, nYear int, nMonth int, nDay int) int
- func XMsg_Create(pTitle, pText string, nFlags xcc.MessageBox_Flag_, hWndParent int, ...) int
- func XMsg_CreateEx(dwExStyle int, dwStyle int, lpClassName, pTitle, pText string, ...) int
- func XNotifyMsg_Popup(position xcc.Position_Flag_, pTitle, pText string, hIcon int, ...) int
- func XNotifyMsg_PopupEx(position xcc.Position_Flag_, pTitle, pText string, hIcon int, ...) int
- func XNotifyMsg_SetBorderSize(hWindow, left, top, right, bottom int) int
- func XNotifyMsg_SetCaptionHeight(hWindow, nHeight int) int
- func XNotifyMsg_SetDuration(hWindow, duration int) int
- func XNotifyMsg_SetParentMargin(hWindow, left, top, right, bottom int) int
- func XNotifyMsg_SetSpace(hWindow, nSpace int) int
- func XNotifyMsg_SetWidth(hWindow, nWidth int) int
- func XNotifyMsg_WindowPopup(hWindow int, position xcc.Position_Flag_, pTitle, pText string, hIcon int, ...) int
- func XNotifyMsg_WindowPopupEx(hWindow int, position xcc.Position_Flag_, pTitle, pText string, hIcon int, ...) int
- func XObj_GetType(hXCGUI int) xcc.XC_OBJECT_TYPE
- func XObj_GetTypeBase(hXCGUI int) int
- func XObj_GetTypeEx(hXCGUI int) xcc.XC_OBJECT_TYPE_EX
- func XObj_SetTypeEx(hXCGUI int, nType xcc.XC_OBJECT_TYPE_EX) int
- func XPane_Create(pName string, nWidth int, nHeight int, hFrameWnd int) int
- func XPane_DockPane(hEle int) int
- func XPane_DrawPane(hEle int, hDraw int) int
- func XPane_FloatPane(hEle int) int
- func XPane_GetCaptionHeight(hEle int) int
- func XPane_GetState(hEle int) xcc.Pane_State_
- func XPane_GetTitle(hEle int) string
- func XPane_GetViewRect(hEle int, pRect *RECT) int
- func XPane_HidePane(hEle int, bGroupActivate bool) int
- func XPane_IsGroupActivate(hEle int) bool
- func XPane_IsShowPane(hEle int) bool
- func XPane_LockPane(hEle int) int
- func XPane_SetCaptionHeight(hEle int, nHeight int) int
- func XPane_SetSelect(hEle int) bool
- func XPane_SetSize(hEle int, nWidth int, nHeight int) int
- func XPane_SetTitle(hEle int, pTitle string) int
- func XPane_SetView(hEle int, hView int) int
- func XPane_ShowPane(hEle int, bGroupActivate bool) int
- func XProgBar_Create(x int, y int, cx int, cy int, hParent int) int
- func XProgBar_EnableHorizon(hEle int, bHorizon bool) int
- func XProgBar_EnableShowText(hEle int, bShow bool) bool
- func XProgBar_EnableStretch(hEle int, bStretch bool) bool
- func XProgBar_GetPos(hEle int) int
- func XProgBar_GetRange(hEle int) int
- func XProgBar_SetImageLoad(hEle int, hImage int) int
- func XProgBar_SetPos(hEle int, pos int) int
- func XProgBar_SetRange(hEle int, range_ int) int
- func XRes_EnableDelayLoad(bEnable bool) int
- func XRes_GetBkM(pName string) int
- func XRes_GetColor(pName string) int
- func XRes_GetFont(pName string) int
- func XRes_GetIDValue(pName string) int
- func XRes_GetImage(pName string) int
- func XRes_GetImageEx(pFileName string, pName string) int
- func XRes_SetLoadFileCallback(pFun interface{}) int
- func XRunXCGUI() int
- func XSBar_Create(x int, y int, cx int, cy int, hParent int) int
- func XSBar_EnableHorizon(hEle int, bHorizon bool) bool
- func XSBar_GetButtonDown(hEle int) int
- func XSBar_GetButtonSlider(hEle int) int
- func XSBar_GetButtonUp(hEle int) int
- func XSBar_GetRange(hEle int) int
- func XSBar_GetSliderMaxLength(hEle int) int
- func XSBar_ScrollBottom(hEle int) bool
- func XSBar_ScrollDown(hEle int) bool
- func XSBar_ScrollPos(hEle int, pos int) bool
- func XSBar_ScrollTop(hEle int) bool
- func XSBar_ScrollUp(hEle int) bool
- func XSBar_SetRange(hEle int, range_ int) int
- func XSBar_SetSliderLength(hEle int, length int) int
- func XSBar_SetSliderMinLength(hEle int, minLength int) int
- func XSBar_SetSliderPadding(hEle int, nPadding int) int
- func XSBar_ShowButton(hEle int, bShow bool) int
- func XSView_Create(x int, y int, cx int, cy int, hParent int) int
- func XSView_EnableAutoShowScrollBar(hEle int, bEnable bool) int
- func XSView_GetLineSize(hEle int, pSize *SIZE) int
- func XSView_GetScrollBarH(hEle int) int
- func XSView_GetScrollBarV(hEle int) int
- func XSView_GetTotalSize(hEle int, pSize *SIZE) int
- func XSView_GetViewHeight(hEle int) int
- func XSView_GetViewPosH(hEle int) int
- func XSView_GetViewPosV(hEle int) int
- func XSView_GetViewRect(hEle int, pRect *RECT) int
- func XSView_GetViewWidth(hEle int) int
- func XSView_ScrollBottom(hEle int) bool
- func XSView_ScrollBottomLine(hEle int) bool
- func XSView_ScrollLeft(hEle int) bool
- func XSView_ScrollLeftLine(hEle int) bool
- func XSView_ScrollPosH(hEle int, pos int) bool
- func XSView_ScrollPosV(hEle int, pos int) bool
- func XSView_ScrollPosXH(hEle int, posX int) bool
- func XSView_ScrollPosYV(hEle int, posY int) bool
- func XSView_ScrollRight(hEle int) bool
- func XSView_ScrollRightLine(hEle int) bool
- func XSView_ScrollTop(hEle int) bool
- func XSView_ScrollTopLine(hEle int) bool
- func XSView_SetLineSize(hEle int, nWidth int, nHeight int) bool
- func XSView_SetScrollBarSize(hEle int, size int) int
- func XSView_SetTotalSize(hEle int, cx int, cy int) bool
- func XSView_ShowSBarH(hEle int, bShow bool) int
- func XSView_ShowSBarV(hEle int, bShow bool) int
- func XShapeEllipse_Create(x int, y int, cx int, cy int, hParent int) int
- func XShapeEllipse_EnableBorder(hShape int, bEnable bool) int
- func XShapeEllipse_EnableFill(hShape int, bEnable bool) int
- func XShapeEllipse_SetBorderColor(hShape int, color int) int
- func XShapeEllipse_SetFillColor(hShape int, color int) int
- func XShapeGif_Create(x int, y int, cx int, cy int, hParent int) int
- func XShapeGif_GetImage(hShape int) int
- func XShapeGif_SetImage(hShape int, hImage int) int
- func XShapeGroupBox_Create(x int, y int, cx int, cy int, pName string, hParent int) int
- func XShapeGroupBox_EnableRoundAngle(hShape int, bEnable bool) int
- func XShapeGroupBox_GetRoundAngle(hShape int, pWidth *int, pHeight *int) int
- func XShapeGroupBox_GetTextOffset(hShape int, pOffsetX *int, pOffsetY *int) int
- func XShapeGroupBox_SetBorderColor(hShape int, color int) int
- func XShapeGroupBox_SetFontX(hShape int, hFontX int) int
- func XShapeGroupBox_SetRoundAngle(hShape int, nWidth int, nHeight int) int
- func XShapeGroupBox_SetText(hShape int, pText string) int
- func XShapeGroupBox_SetTextColor(hShape int, color int) int
- func XShapeGroupBox_SetTextOffset(hShape int, offsetX int, offsetY int) int
- func XShapeLine_Create(x1 int, y1 int, x2 int, y2 int, hParent int) int
- func XShapeLine_SetColor(hShape int, color int) int
- func XShapeLine_SetPosition(hShape int, x1 int, y1 int, x2 int, y2 int) int
- func XShapePic_Create(x int, y int, cx int, cy int, hParent int) int
- func XShapePic_GetImage(hShape int) int
- func XShapePic_SetImage(hShape int, hImage int) int
- func XShapeRect_Create(x int, y int, cx int, cy int, hParent int) int
- func XShapeRect_EnableBorder(hShape int, bEnable bool) int
- func XShapeRect_EnableFill(hShape int, bEnable bool) int
- func XShapeRect_EnableRoundAngle(hShape int, bEnable bool) int
- func XShapeRect_GetRoundAngle(hShape int, pWidth *int, pHeight *int) int
- func XShapeRect_SetBorderColor(hShape int, color int) int
- func XShapeRect_SetFillColor(hShape int, color int) int
- func XShapeRect_SetRoundAngle(hShape int, nWidth int, nHeight int) int
- func XShapeText_Create(x int, y int, cx int, cy int, pName string, hParent int) int
- func XShapeText_GetFont(hTextBlock int) int
- func XShapeText_GetText(hTextBlock int) string
- func XShapeText_GetTextColor(hTextBlock int) int
- func XShapeText_GetTextLength(hTextBlock int) int
- func XShapeText_SetFont(hTextBlock int, hFontx int) int
- func XShapeText_SetOffset(hTextBlock int, x int, y int) int
- func XShapeText_SetText(hTextBlock int, pName string) int
- func XShapeText_SetTextAlign(hTextBlock int, align xcc.TextFormatFlag_) int
- func XShapeText_SetTextColor(hTextBlock int, color int) int
- func XShape_AdjustLayout(hShape int) int
- func XShape_Destroy(hShape int) int
- func XShape_GetAlpha(hShape int) int
- func XShape_GetContentSize(hShape int, pSize *SIZE) int
- func XShape_GetHeight(hShape int) int
- func XShape_GetPosition(hShape int, pOutX *int, pOutY *int) int
- func XShape_GetRect(hShape int, pRect *RECT) int
- func XShape_GetRectLogic(hShape int, pRect *RECT) int
- func XShape_GetSize(hShape int, pOutWidth *int, pOutHeight *int) int
- func XShape_GetWidth(hShape int) int
- func XShape_GetWndClientRect(hShape int, pRect *RECT) int
- func XShape_GetZOrder(hShape int) int
- func XShape_Redraw(hShape int) int
- func XShape_RemoveShape(hShape int) int
- func XShape_SetAlpha(hShape int, alpha uint8) int
- func XShape_SetPosition(hShape int, x int, y int) int
- func XShape_SetRect(hShape int, pRect *RECT) int
- func XShape_SetRectLogic(hShape int, pRect *RECT, bRedraw bool) bool
- func XShape_SetSize(hShape int, nWidth int, nHeight int) int
- func XShape_ShowLayout(hShape int, bShow bool) int
- func XSliderBar_Create(x int, y int, cx int, cy int, hParent int) int
- func XSliderBar_EnableHorizon(hEle int, bHorizon bool) int
- func XSliderBar_GetButton(hEle int) int
- func XSliderBar_GetPos(hEle int) int
- func XSliderBar_GetRange(hEle int) int
- func XSliderBar_SetButtonHeight(hEle int, height int) int
- func XSliderBar_SetButtonWidth(hEle int, width int) int
- func XSliderBar_SetImageLoad(hEle int, hImage int) int
- func XSliderBar_SetPos(hEle int, pos int) int
- func XSliderBar_SetRange(hEle int, range_ int) int
- func XSvg_AddRef(hSvg int) int
- func XSvg_Destroy(hSvg int) int
- func XSvg_EnableAutoDestroy(hSvg int, bEnable bool) int
- func XSvg_GetAlpha(hSvg int) int
- func XSvg_GetHeight(hSvg int) int
- func XSvg_GetPosition(hSvg int, pX, pY *int) int
- func XSvg_GetPositionF(hSvg int, pX, pY *float32) int
- func XSvg_GetRefCount(hSvg int) int
- func XSvg_GetRotate(hSvg int, pAngle *float32, pX *float32, pY *float32, pbOffset *bool) int
- func XSvg_GetRotateAngle(hSvg int) float32
- func XSvg_GetSize(hSvg int, pWidth, pHeight *int) int
- func XSvg_GetUserFillColor(hSvg int, pColor *int) bool
- func XSvg_GetUserStrokeColor(hSvg int, pColor *int, pStrokeWidth *float32) bool
- func XSvg_GetViewBox(hSvg int, pViewBox *RECT) int
- func XSvg_GetWidth(hSvg int) int
- func XSvg_LoadFile(pFileName string) int
- func XSvg_LoadRes(id int, pType string, hModule int) int
- func XSvg_LoadString(pString string) int
- func XSvg_LoadStringUtf8(pString string) int
- func XSvg_LoadStringW(pString string) int
- func XSvg_LoadZip(pZipFileName, pFileName, pPassword string) int
- func XSvg_Release(hSvg int) int
- func XSvg_SetAlpha(hSvg int, alpha byte) int
- func XSvg_SetPosition(hSvg int, x, y int) int
- func XSvg_SetPositionF(hSvg int, x, y float32) int
- func XSvg_SetRotate(hSvg int, angle float32, x float32, y float32, bOffset bool) int
- func XSvg_SetRotateAngle(hSvg int, angle float32) int
- func XSvg_SetSize(hSvg int, nWidth, nHeight int) int
- func XSvg_SetUserFillColor(hSvg int, color int, bEnable bool) int
- func XSvg_SetUserStrokeColor(hSvg int, color int, strokeWidth float32, bEnable bool) int
- func XSvg_Show(hSvg int, bShow bool) int
- func XTabBar_AddLabel(hEle int, pName string) int
- func XTabBar_Create(x int, y int, cx int, cy int, hParent int) int
- func XTabBar_DeleteLabel(hEle int, index int) bool
- func XTabBar_DeleteLabelAll(hEle int) int
- func XTabBar_EnableClose(hEle int, bEnable bool) int
- func XTabBar_EnableDropMenu(hEle int, bEnable bool) int
- func XTabBar_EnableTile(hEle int, bTile bool) int
- func XTabBar_GetButtonDropMenu(hEle int) int
- func XTabBar_GetButtonLeft(hEle int) int
- func XTabBar_GetButtonRight(hEle int) int
- func XTabBar_GetLabel(hEle int, index int) int
- func XTabBar_GetLabelClose(hEle int, index int) int
- func XTabBar_GetLabelCount(hEle int) int
- func XTabBar_GetLabelSpacing(hEle int) int
- func XTabBar_GetSelect(hEle int) int
- func XTabBar_GetindexByEle(hEle int, hLabel int) int
- func XTabBar_InsertLabel(hEle int, index int, pName string) int
- func XTabBar_MoveLabel(hEle int, iSrc int, iDest int) bool
- func XTabBar_SetCloseSize(hEle int, pSize *SIZE) int
- func XTabBar_SetDown(hEle int) int
- func XTabBar_SetLabelSpacing(hEle int, spacing int) int
- func XTabBar_SetLabelWidth(hEle int, index int, nWidth int) int
- func XTabBar_SetPadding(hEle int, left int, top int, right int, bottom int) int
- func XTabBar_SetSelect(hEle int, index int) int
- func XTabBar_SetTurnButtonSize(hEle int, pSize *SIZE) int
- func XTabBar_SetUp(hEle int) int
- func XTabBar_ShowLabel(hEle int, index int, bShow bool) bool
- func XTable_ComboCol(hShape int, iRow int, iCol int, count int) int
- func XTable_ComboRow(hShape int, iRow int, iCol int, count int) int
- func XTable_Create(x int, y int, cx int, cy int, hParent int) int
- func XTable_GetItemRect(hShape int, iRow int, iCol int, pRect *RECT) bool
- func XTable_Reset(hShape int, nRow int, nCol int) int
- func XTable_SetBorderColor(hShape int, color int) int
- func XTable_SetColWidth(hShape int, iCol int, width int) int
- func XTable_SetFont(hShape int, hFont int) int
- func XTable_SetItemBkColor(hShape int, iRow int, iCol int, color int, bColor bool) int
- func XTable_SetItemFlag(hShape int, iRow int, iCol int, flag xcc.Table_Flag_) int
- func XTable_SetItemFont(hShape int, iRow int, iCol int, hFont int) int
- func XTable_SetItemLine(hShape int, iRow1 int, iCol1 int, iRow2 int, iCol2 int, nFlag int, color int) int
- func XTable_SetItemPadding(hShape int, leftSize int, topSize int, rightSize int, bottomSize int) int
- func XTable_SetItemText(hShape int, iRow int, iCol int, pText string) int
- func XTable_SetItemTextAlign(hShape int, iRow int, iCol int, nAlign xcc.TextFormatFlag_) int
- func XTable_SetItemTextColor(hShape int, iRow int, iCol int, color int, bColor bool) int
- func XTable_SetRowHeight(hShape int, iRow int, height int) int
- func XTable_SetTextColor(hShape int, color int) int
- func XTemp_AddNode(pParentNode int, pNode int) bool
- func XTemp_AddNodeRoot(hTemp int, pNode int) bool
- func XTemp_Clone(hTemp int) int
- func XTemp_CloneNode(pNode int) int
- func XTemp_Create(nType xcc.ListItemTemp_Type_) int
- func XTemp_CreateNode(nType xcc.XC_OBJECT_TYPE) int
- func XTemp_Destroy(hTemp int) bool
- func XTemp_GetNode(pNode int, itemID int) int
- func XTemp_GetType(hTemp int) xcc.ListItemTemp_Type_
- func XTemp_List_GetNode(hTemp int, index int) int
- func XTemp_Load(nType xcc.ListItemTemp_Type_, pFileName string) int
- func XTemp_LoadEx(nType xcc.ListItemTemp_Type_, pFileName string, pOutTemp1 *int, pOutTemp2 *int) bool
- func XTemp_LoadFromString(nType xcc.ListItemTemp_Type_, pStringXML string) int
- func XTemp_LoadFromStringEx(nType xcc.ListItemTemp_Type_, pStringXML string, pOutTemp1 *int, ...) bool
- func XTemp_LoadZip(nType int, pZipFile string, pFileName string, pPassword string) int
- func XTemp_LoadZipEx(nType xcc.ListItemTemp_Type_, pZipFile string, pFileName string, ...) bool
- func XTemp_LoadZipMem(nType xcc.ListItemTemp_Type_, data []byte, pFileName string, pPassword string) int
- func XTemp_LoadZipMemEx(nType xcc.ListItemTemp_Type_, data []byte, pFileName string, pPassword string, ...) bool
- func XTemp_SetNodeAttribute(pNode int, pName string, pAttr string) bool
- func XTemp_SetNodeAttributeEx(pNode int, itemID int, pName string, pAttr string) bool
- func XTextLink_Create(x int, y int, cx int, cy int, pName string, hParent int) int
- func XTextLink_EnableUnderlineLeave(hEle int, bEnable bool) int
- func XTextLink_EnableUnderlineStay(hEle int, bEnable bool) int
- func XTextLink_SetTextColorStay(hEle int, color int) int
- func XTextLink_SetUnderlineColorLeave(hEle int, color int) int
- func XTextLink_SetUnderlineColorStay(hEle int, color int) int
- func XToolBar_Create(x int, y int, cx int, cy int, hParent int) int
- func XToolBar_DeleteAllEle(hEle int) int
- func XToolBar_DeleteEle(hEle int, index int) int
- func XToolBar_EnableButtonMenu(hEle int, bEnable bool) int
- func XToolBar_GetButtonLeft(hEle int) int
- func XToolBar_GetButtonMenu(hEle int) int
- func XToolBar_GetButtonRight(hEle int) int
- func XToolBar_GetEle(hEle int, index int) int
- func XToolBar_InsertEle(hEle int, hNewEle int, index int) int
- func XToolBar_InsertSeparator(hEle int, index int, color int) int
- func XToolBar_SetSpace(hEle int, nSize int) int
- func XTree_BindAdapter(hEle int, hAdapter int) int
- func XTree_Create(x int, y int, cx int, cy int, hParent int) int
- func XTree_CreateAdapter(hEle int) int
- func XTree_DeleteColumnAll(hEle int) int
- func XTree_DeleteItem(hEle int, nID int) bool
- func XTree_DeleteItemAll(hEle int) int
- func XTree_EnableConnectLine(hEle int, bEnable bool, bSolid bool) int
- func XTree_EnableDragItem(hEle int, bEnable bool) int
- func XTree_EnableExpand(hEle int, bEnable bool) int
- func XTree_EnablemTemplateReuse(hEle int, bEnable bool) int
- func XTree_ExpandAllChildItem(hEle int, nID int, bExpand bool) bool
- func XTree_ExpandItem(hEle int, nID int, bExpand bool) bool
- func XTree_GetAdapter(hEle int) int
- func XTree_GetCount(hEle int) int
- func XTree_GetCountColumn(hEle int) int
- func XTree_GetEndChildItem(hEle int, nID int) int
- func XTree_GetFirstChildItem(hEle int, nID int) int
- func XTree_GetIndentation(hEle int) int
- func XTree_GetItemData(hEle int, nID int) int
- func XTree_GetItemHeight(hEle int, nID int, pHeight *int, pSelHeight *int) int
- func XTree_GetItemHeightDefault(hEle int, pHeight *int, pSelHeight *int) int
- func XTree_GetItemIDFromHXCGUI(hEle int, hXCGUI int) int
- func XTree_GetItemImage(hEle int, nID int, iColumn int) int
- func XTree_GetItemImageEx(hEle int, nID int, pName string) int
- func XTree_GetItemText(hEle int, nID int, iColumn int) string
- func XTree_GetItemTextEx(hEle int, nID int, pName string) string
- func XTree_GetNextSiblingItem(hEle int, nID int) int
- func XTree_GetParentItem(hEle int, nID int) int
- func XTree_GetPrevSiblingItem(hEle int, nID int) int
- func XTree_GetRowSpace(hEle int) int
- func XTree_GetSelectItem(hEle int) int
- func XTree_GetTemplateObject(hEle int, nID int, nTempItemID int) int
- func XTree_HitTest(hEle int, pPt *POINT) int
- func XTree_HitTestOffset(hEle int, pPt *POINT) int
- func XTree_InsertItemImage(hEle int, hImage int, nParentID int, insertID int) int
- func XTree_InsertItemImageEx(hEle int, pName string, hImage int, nParentID int, insertID int) int
- func XTree_InsertItemText(hEle int, pValue string, nParentID int, insertID int) int
- func XTree_InsertItemTextEx(hEle int, pName string, pValue string, nParentID int, insertID int) int
- func XTree_IsExpand(hEle int, nID int) bool
- func XTree_MoveItem(hEle int, nMoveItem int, nDestItem int, nFlag int) bool
- func XTree_RefreshData(hEle int) int
- func XTree_RefreshItem(hEle int, nID int) int
- func XTree_SetConnectLineColor(hEle int, color int) int
- func XTree_SetConnectLineLength(hEle int, nLength int) int
- func XTree_SetDragInsertPositionColor(hEle int, color int) int
- func XTree_SetDrawItemBkFlags(hEle int, nFlags xcc.List_DrawItemBk_Flag_) int
- func XTree_SetExpandButtonSize(hEle int, nWidth int, nHeight int) int
- func XTree_SetIndentation(hEle int, nWidth int) int
- func XTree_SetItemData(hEle int, nID int, nUserData int) bool
- func XTree_SetItemHeight(hEle int, nID int, nHeight int, nSelHeight int) int
- func XTree_SetItemHeightDefault(hEle int, nHeight int, nSelHeight int) int
- func XTree_SetItemImage(hEle int, nID int, iColumn int, hImage int) bool
- func XTree_SetItemImageEx(hEle int, nID int, pName string, hImage int) bool
- func XTree_SetItemTemplate(hEle int, hTemp int) bool
- func XTree_SetItemTemplateSel(hEle int, hTemp int) bool
- func XTree_SetItemTemplateXML(hEle int, pXmlFile string) bool
- func XTree_SetItemTemplateXMLFromString(hEle int, pStringXML string) bool
- func XTree_SetItemTemplateXMLSel(hEle int, pXmlFile string) bool
- func XTree_SetItemTemplateXMLSelFromString(hEle int, pStringXML string) bool
- func XTree_SetItemText(hEle int, nID int, iColumn int, pValue string) bool
- func XTree_SetItemTextEx(hEle int, nID int, pName string, pValue string) bool
- func XTree_SetRowSpace(hEle int, nSpace int) int
- func XTree_SetSelectItem(hEle int, nID int) bool
- func XTree_SetSplitLineColor(hEle int, color int) int
- func XTree_VisibleItem(hEle int, nID int) int
- func XUI_EnableCSS(hXCGUI int, bEnable bool) int
- func XUI_GetCssName(hXCGUI int) string
- func XUI_GetStyle(hXCGUI int) xcc.XC_OBJECT_STYLE
- func XUI_SetCssName(hXCGUI int, pName string) int
- func XUI_SetStyle(hXCGUI int, nStyle xcc.XC_OBJECT_STYLE) int
- func XWidget_EnableLayoutControl(hXCGUI int, bEnable bool) int
- func XWidget_GetHWINDOW(hXCGUI int) int
- func XWidget_GetHWND(hXCGUI int) int
- func XWidget_GetID(hXCGUI int) int
- func XWidget_GetName(hXCGUI int) string
- func XWidget_GetParent(hXCGUI int) int
- func XWidget_GetParentEle(hXCGUI int) int
- func XWidget_GetUID(hXCGUI int) int
- func XWidget_IsLayoutControl(hXCGUI int) bool
- func XWidget_IsShow(hXCGUI int) bool
- func XWidget_LayoutItem_EnableFloat(hXCGUI int, bFloat bool) int
- func XWidget_LayoutItem_EnableSwap(hXCGUI int, bEnable bool) int
- func XWidget_LayoutItem_EnableWrap(hXCGUI int, bWrap bool) int
- func XWidget_LayoutItem_GetHeight(hXCGUI int, pType, pHeight *int) int
- func XWidget_LayoutItem_GetMargin(hXCGUI int, pMargin *RECT) int
- func XWidget_LayoutItem_GetWidth(hXCGUI int, pType, pWidth *int) int
- func XWidget_LayoutItem_SetAlign(hXCGUI int, nAlign xcc.Layout_Align_Axis_) int
- func XWidget_LayoutItem_SetHeight(hXCGUI int, nType xcc.Layout_Size_, nHeight int) int
- func XWidget_LayoutItem_SetMargin(hXCGUI, left, top, right, bottom int) int
- func XWidget_LayoutItem_SetMinSize(hXCGUI, width, height int) int
- func XWidget_LayoutItem_SetPosition(hXCGUI, left, top, right, bottom int) int
- func XWidget_LayoutItem_SetWidth(hXCGUI int, nType xcc.Layout_Size_, nWidth int) int
- func XWidget_SetID(hXCGUI, nID int) int
- func XWidget_SetName(hXCGUI int, pName string) int
- func XWidget_SetUID(hXCGUI, nUID int) int
- func XWidget_Show(hXCGUI int, bShow bool) int
- func XWnd_AddBkBorder(hWindow int, nState xcc.Window_State_Flag_, color int, width int) int
- func XWnd_AddBkFill(hWindow int, nState xcc.Window_State_Flag_, color int) int
- func XWnd_AddBkImage(hWindow int, nState xcc.Window_State_Flag_, hImage int) int
- func XWnd_AddChild(hWindow int, hChild int) bool
- func XWnd_AdjustLayout(hWindow int) int
- func XWnd_AdjustLayoutEx(hWindow int, nFlags xcc.AdjustLayout_) int
- func XWnd_Attach(hWnd int, XCStyle xcc.Window_Style_) int
- func XWnd_Center(hWindow int) int
- func XWnd_CenterEx(hWindow, width, height int) int
- func XWnd_ClearBkInfo(hWindow int) int
- func XWnd_CloseWindow(hWindow int) int
- func XWnd_Create(x int, y int, cx int, cy int, pTitle string, hWndParent int, ...) int
- func XWnd_CreateCaret(hWindow, hEle, x, y, width, height int) int
- func XWnd_CreateEx(dwExStyle int, dwStyle int, lpClassName string, x int, y int, cx int, cy int, ...) int
- func XWnd_DestroyCaret(hWindow int) int
- func XWnd_DrawWindow(hWindow int, hDraw int) int
- func XWnd_EnableAutoFocus(hWindow int, bEnable bool) int
- func XWnd_EnableDragBorder(hWindow int, bEnable bool) int
- func XWnd_EnableDragCaption(hWindow int, bEnable bool) int
- func XWnd_EnableDragFiles(hWindow int, bEnable bool) bool
- func XWnd_EnableDragWindow(hWindow int, bEnable bool) int
- func XWnd_EnableDrawBk(hWindow int, bEnable bool) int
- func XWnd_EnableLayout(hWindow int, bEnable bool) int
- func XWnd_EnableLayoutOverlayBorder(hWindow int, bEnable bool) int
- func XWnd_EnableMaxWindow(hWindow int, bEnable bool) int
- func XWnd_EnablemLimitWindowSize(hWindow int, bEnable bool) int
- func XWnd_GetBkInfoCount(hWindow int) int
- func XWnd_GetBkManager(hWindow int) int
- func XWnd_GetBkManagerEx(hWindow int) int
- func XWnd_GetBodyRect(hWindow int, pRect *RECT) int
- func XWnd_GetBorderSize(hWindow int, pBorder *RECT) int
- func XWnd_GetButton(hWindow, nFlag int) int
- func XWnd_GetCaptureEle(hWindow int) int
- func XWnd_GetCaretHELE(hWindow int) int
- func XWnd_GetCaretInfo(hWindow int, pX, pY, pWidth, pHeight *int) int
- func XWnd_GetChild(hWindow, nID int) int
- func XWnd_GetChildByID(hWindow, nID int) int
- func XWnd_GetChildByIndex(hWindow, index int) int
- func XWnd_GetChildCount(hWindow int) int
- func XWnd_GetClientRect(hWindow int, pRect *RECT) int
- func XWnd_GetCursor(hWindow int) int
- func XWnd_GetDragBorderSize(hWindow int, pBorder *RECT) int
- func XWnd_GetDrawRect(hWindow int, pRcPaint *RECT) int
- func XWnd_GetFocusEle(hWindow int) int
- func XWnd_GetHWND(hWindow int) int
- func XWnd_GetID(hWindow int) int
- func XWnd_GetIcon(hWindow int) int
- func XWnd_GetLayoutRect(hWindow int, pRect *RECT) int
- func XWnd_GetName(hWindow int) string
- func XWnd_GetRect(hWindow int, pRect *RECT) int
- func XWnd_GetShadowInfo(hWindow int, nSize *int, nDepth *byte, nAngeleSize *int, bRightAngle *bool, ...) int
- func XWnd_GetStayEle(hWindow int) int
- func XWnd_GetTextColor(hWindow int) int
- func XWnd_GetTextColorEx(hWindow int) int
- func XWnd_GetTitle(hWindow int) string
- func XWnd_GetTitleColor(hWindow int) int
- func XWnd_GetTransparentType(hWindow int) xcc.Window_Transparent_
- func XWnd_HitChildEle(hWindow int, pPt *POINT) int
- func XWnd_InsertChild(hWindow int, hChild int, index int) bool
- func XWnd_IsDragBorder(hWindow int) bool
- func XWnd_IsDragCaption(hWindow int) bool
- func XWnd_IsDragWindow(hWindow int) bool
- func XWnd_IsEnableLayout(hWindow int) bool
- func XWnd_IsMaxWindow(hWindow int) bool
- func XWnd_KillTimer(hWindow, nIDEvent int) int
- func XWnd_KillXCTimer(hWindow, nIDEvent int) int
- func XWnd_MaxWindow(hWindow int, bMaximize bool) int
- func XWnd_Redraw(hWindow int, bImmediate bool) int
- func XWnd_RedrawRect(hWindow int, pRect *RECT, bImmediate bool) int
- func XWnd_RegEventC(hWindow int, nEvent xcc.WM_, pFun interface{}) bool
- func XWnd_RegEventC1(hWindow int, nEvent xcc.WM_, pFun interface{}) bool
- func XWnd_RemoveEventC(hWindow int, nEvent xcc.WM_, pFun interface{}) bool
- func XWnd_SetBkInfo(hWindow int, pText string) int
- func XWnd_SetBkMagager(hWindow, hBkInfoM int) int
- func XWnd_SetBorderSize(hWindow, left, top, right, bottom int) int
- func XWnd_SetCaptionMargin(hWindow int, left int, top int, right int, bottom int) int
- func XWnd_SetCaptureEle(hWindow, hEle int) int
- func XWnd_SetCaretColor(hWindow, color int) int
- func XWnd_SetCaretPos(hWindow, x, y, width, height int, bUpdate bool) int
- func XWnd_SetCursor(hWindow int, hCursor int) int
- func XWnd_SetCursorSys(hWindow, hCursor int) int
- func XWnd_SetDragBorderSize(hWindow, left, top, right, bottom int) int
- func XWnd_SetFocusEle(hWindow int, hFocusEle int) bool
- func XWnd_SetFont(hWindow, hFontx int) int
- func XWnd_SetID(hWindow, nID int) int
- func XWnd_SetIcon(hWindow, hImage int) int
- func XWnd_SetMinimumSize(hWindow, width, height int) int
- func XWnd_SetName(hWindow int, pName string) int
- func XWnd_SetPadding(hWindow, left, top, right, bottom int) int
- func XWnd_SetPosition(hWindow, x, y int) int
- func XWnd_SetRect(hWindow int, pRect *RECT) bool
- func XWnd_SetShadowInfo(hWindow, nSize int, nDepth byte, nAngeleSize int, bRightAngle bool, color int) int
- func XWnd_SetTextColor(hWindow, color int) int
- func XWnd_SetTimer(hWindow, nIDEvent, uElapse int) int
- func XWnd_SetTitle(hWindow int, pTitle string) int
- func XWnd_SetTitleColor(hWindow, color int) int
- func XWnd_SetTop(hWindow int) int
- func XWnd_SetTransparentAlpha(hWindow int, alpha byte) int
- func XWnd_SetTransparentColor(hWindow, color int) int
- func XWnd_SetTransparentType(hWindow int, nType xcc.Window_Transparent_) int
- func XWnd_SetXCTimer(hWindow, nIDEvent, uElapse int) int
- func XWnd_Show(hWindow int, bShow bool) int
- func XWnd_ShowCaret(hWindow int, bShow bool) int
- func XWnd_ShowLayoutFrame(hWindow int, bEnable bool) int
- func XWnd_ShowWindow(hWindow int, nCmdShow xcc.SW_) int
- type Edit_Data_Copy_
- type Edit_Data_Copy_Style_
- type Edit_Style_Info_
- type Editor_Color_
- type Font_Info_
- type LOGFONTW
- type ListBox_Item_
- type ListBox_Item_Info_
- type ListView_Item_
- type ListView_Item_Id_
- type List_Header_Item_
- type List_Item_
- type Menu_DrawBackground_
- type Menu_DrawItem_
- type Menu_PopupWnd_
- type MonthCal_item_
- type POINT
- type POINTF
- type Position_
- type PropertyGrid_item_
- type RECT
- type RECTF
- type SIZE
- type Tree_Drag_Item_
- type Tree_Item_
Examples ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ABGR ¶
ABGR 根据r, g, b, a组合成十进制ABGR颜色.
@param r 红色分量. @param g 绿色分量. @param b 蓝色分量. @param a 透明度. @return int ABGR颜色.
func LoadXCGUI ¶
func LoadXCGUI()
LoadXCGUI 将从 xcguiPath 加载xcgui.dll. xcguiPath 的默认值是'xcgui.dll'.
如果你想要更改xcgui.dll的路径, 那么请在调用本函数之前调用 xc.SetXcguiPath(). 注意: app.New() 函数内部会自动调用 xc.LoadXCGUI(). 所以一般是不需要手动调用的, 除非你没有使用 app.New() 函数, 而是使用了 xc.XInitXCGUI(), 那么你需要在 xc.XInitXCGUI() 之前调用 xc.LoadXCGUI().
func RGB ¶
RGB 根据r, g, b组合成十进制RGB颜色.
@param r 红色分量. @param g 绿色分量. @param b 蓝色分量. @return int RGB颜色.
func RGBA ¶
RGBA 根据r, g, b, a组合成十进制ABGR颜色. 和 ABGR 函数一模一样, 只是为了符合部分人使用习惯.
@param r 红色分量. @param g 绿色分量. @param b 蓝色分量. @param a 透明度. @return int ABGR颜色.
func RGBA2 ¶
RGBA2 根据rgb, a组合成十进制ABGR颜色. 和 ABGR2 函数一模一样, 只是为了符合部分人使用习惯.
@param rgb RGB颜色. @param a 透明度. @return int ABGR颜色.
func SetXcguiPath ¶
SetXcguiPath 手动设置xcgui.dll的路径. 未设置时, 默认值为'xcgui.dll'.
@param XcguiPath dll文件名, 不是目录. @return error 如果出错, 要么你输入的文件不存在, 要么你输入的不是dll文件.
func XAdListView_Group_AddItemImage ¶
数据适配器列表视_添加组图片, 组操作, 添加组, 数据默认填充第一列.
hAdapter: 数据适配器句柄.
hImage: 图片句柄.
iPos: 插入位置, 可为-1.
func XAdListView_Group_AddItemImageEx ¶
数据适配器列表视_添加组图片扩展, 组操作, 添加组, 数据填充指定列.
hAdapter: 数据适配器句柄.
pName: 字段称.
hImage: 图片句柄.
iPos: 插入位置, 可为-1.
func XAdListView_Group_AddItemText ¶
数据适配器列表视_添加组文本, 组操作, 添加组, 数据默认填充到第一列, 返回组索引.
hAdapter: 数据适配器句柄.
pValue: 值.
iPos: 插入位置, 可为-1.
func XAdListView_Group_AddItemTextEx ¶
数据适配器列表视_添加组文本扩展, 组操作, 添加组, 数据填充指定列, 返回组索引.
hAdapter: 数据适配器句柄.
pName: 字段称.
pValue: 值.
iPos: 插入位置, 可为-1.
func XAdListView_Group_DeleteAllChildItem ¶
数据适配器列表视_删除全部子项, 删除指定组的所有子项.
hAdapter: 数据适配器句柄.
iGroup: 组索引.
func XAdListView_Group_GetImage ¶
数据适配器列表视_组取图片, 返回图片句柄.
hAdapter: 数据适配器句柄.
iGroup: 组索引.
iColumn: 列索引.
func XAdListView_Group_GetImageEx ¶
数据适配器列表视_组取图片扩展, 返回图片句柄.
hAdapter: 数据适配器句柄.
iGroup: 组索引.
pName: 字段名称.
func XAdListView_Group_GetText ¶
数据适配器列表视_组取文本, 返回文本内容.
hAdapter: 数据适配器句柄.
iGroup: 组索引.
iColumn: 列索引.
func XAdListView_Group_GetTextEx ¶
数据适配器列表视_组取文本扩展, 返回文本内容.
hAdapter: 数据适配器句柄.
iGroup: 组索引.
pName: 字段名称.
func XAdListView_Group_SetImage ¶
数据适配器列表视_组设置图片, 组操作, 设置指定项数据.
hAdapter: 数据适配器句柄.
iGroup: 组索引.
iColumn: 列索引.
hImage: 图片句柄.
func XAdListView_Group_SetImageEx ¶
数据适配器列表视_组设置图片扩展, 组操作, 设置指定项数据.
hAdapter: 数据适配器句柄.
iGroup: 组索引.
pName: 字段名.
hImage: 图片句柄.
func XAdListView_Group_SetText ¶
数据适配器列表视_组设置文本, 组操作, 设置指定项数据.
hAdapter: 数据适配器句柄.
iGroup: 组索引.
iColumn: 列索引.
pValue: 值.
func XAdListView_Group_SetTextEx ¶
数据适配器列表视_组设置文本扩展, 组操作, 设置指定项数据.
hAdapter: 数据适配器句柄.
iGroup: 组索引.
pName: 字段名.
pValue: 值.
func XAdListView_Item_AddItemImage ¶
数据适配器列表视_添加项图片, 项操作, 添加项.
hAdapter: 数据适配器句柄.
iGroup: 组索引.
hImage: 图片句柄.
iPos: 插入位置, 可为-1.
func XAdListView_Item_AddItemImageEx ¶
func XAdListView_Item_AddItemImageEx(hAdapter int, iGroup int, pName string, hImage int, iPos int) int
数据适配器列表视_添加项图片扩展, 项操作, 添加项, 填充指定列数据.
hAdapter: 数据适配器句柄.
iGroup: 组索引.
pName: 字段称.
hImage: 图片句柄.
iPos: 插入位置, 可为-1.
func XAdListView_Item_AddItemText ¶
数据适配器列表视_添加项文本, 项操作, 添加项.
hAdapter: 数据适配器句柄.
iGroup: 组索引.
pValue: 值.
iPos: 插入位置, 可为-1.
func XAdListView_Item_AddItemTextEx ¶
func XAdListView_Item_AddItemTextEx(hAdapter int, iGroup int, pName string, pValue string, iPos int) int
数据适配器列表视_添加项文本扩展, 项操作, 添加项, 数据填充指定列.
hAdapter: 数据适配器句柄.
iGroup: 组索引.
pName: 字段称.
pValue: 值.
iPos: 插入位置, 可为-1.
func XAdListView_Item_GetImage ¶
数据适配器列表视_项取图片. 项操作, 返回项图片句柄.
hAdapter: 数据适配器句柄.
iGroup: 组索引.
iItem: 项索引.
iColumn: 列索引.
func XAdListView_Item_GetImageEx ¶
数据适配器列表视_项获取图片扩展, 项操作, 获取项图片句柄.
hAdapter: 数据适配器句柄.
iGroup: 组索引.
iItem: 项索引.
pName: 字段称.
func XAdListView_Item_GetText ¶
数据适配器列表视_项取文本. 项操作, 返回项文本内容.
hAdapter: 数据适配器句柄.
iGroup: 组索引.
iItem: 项索引.
iColumn: 列索引.
func XAdListView_Item_GetTextEx ¶
数据适配器列表视_项获取文本扩展, 项操作, 获取项文本内容.
hAdapter: 数据适配器句柄.
iGroup: 组索引.
iItem: 项索引.
pName: 字段称.
func XAdListView_Item_SetImage ¶
数据适配器列表视_项置图片, 项操作, 数据填充指定列.
hAdapter: 数据适配器句柄.
iGroup: 组索引.
iItem: 项索引.
iColumn: 列索引.
hImage: 图片句柄.
func XAdListView_Item_SetImageEx ¶
func XAdListView_Item_SetImageEx(hAdapter int, iGroup int, iItem int, pName string, hImage int) bool
数据适配器列表视_项置图片扩展, 项操作, 数据填充指定列.
hAdapter: 数据适配器句柄.
iGroup: 组索引.
iItem: 项索引.
pName: 字段称.
hImage: 图片句柄.
func XAdListView_Item_SetText ¶
数据适配器列表视_项置文本, 项操作, 数据填充指定列.
hAdapter: 数据适配器句柄.
iGroup: 组索引.
iItem: 项索引.
iColumn: 列索引.
pValue: 值.
func XAdListView_Item_SetTextEx ¶
func XAdListView_Item_SetTextEx(hAdapter int, iGroup int, iItem int, pName string, pValue string) bool
数据适配器列表视_项置文本扩展, 项操作, 数据填充指定列.
hAdapter: 数据适配器句柄.
iGroup: 组索引.
iItem: 项索引.
pName: 字段称.
pValue: 值.
func XAdTable_AddItemImage ¶
数据适配器表_添加项图片, 添加数据项, 默认值放到第一列, 返回项索引值.
hAdapter: 数据适配器句柄.
hImage: 图片句柄.
func XAdTable_AddItemImageEx ¶
数据适配器表_添加项图片扩展, 添加数据项, 并填充指定列数据.
hAdapter: 数据适配器句柄.
pName: 字段称.
hImage: 图片句柄.
func XAdTable_AddItemTextEx ¶
数据适配器表_添加项文本扩展, 添加数据项, 填充指定列数据, 返回项索引.
hAdapter: 数据适配器句柄.
pName: 字段称.
pValue: 值.
func XAdTable_GetItemDataType ¶
func XAdTable_GetItemDataType(hAdapter int, iItem int, iColumn int) xcc.Adapter_Date_Type_
数据适配器表_取项数据类型, 获取项数据类型, 返回: Adapter_Date_Type_.
hAdapter: 数据适配器句柄.
iItem: 项索引.
iColumn: 列索引.
func XAdTable_GetItemDataTypeEx ¶
func XAdTable_GetItemDataTypeEx(hAdapter int, iItem int, pName string) xcc.Adapter_Date_Type_
数据适配器表_取项数据类型扩展, 返回: Adapter_Date_Type_.
hAdapter: 数据适配器句柄.
iItem: 项索引.
pName: 字段称.
func XAdTable_GetItemFloat ¶
数据适配器表_取项浮点值, 获取项值.
hAdapter: 数据适配器句柄.
iItem: 项索引.
iColumn: 列索引.
pOutValue: 接收返还值.
func XAdTable_GetItemFloatEx ¶
数据适配器表_取项浮点值扩展, 获取项值.
hAdapter: 数据适配器句柄.
iItem: 项索引.
pName: 字段称.
pOutValue: 接收返还值.
func XAdTable_GetItemInt ¶
数据适配器表_取项整数值, 获取项值.
hAdapter: 数据适配器句柄.
iItem: 项索引.
iColumn: 列索引.
pOutValue: 接收返还值.
func XAdTable_GetItemIntEx ¶
数据适配器表_取项整数值扩展, 获取项值.
hAdapter: 数据适配器句柄.
iItem: 项索引.
pName: 字段称.
pOutValue: 接收返还值.
func XAdTable_InsertItemImage ¶
数据适配器表_插入项图片, 插入数据项, 填充第一列数据, 返回项索引.
hAdapter: 数据适配器句柄.
iItem: 插入位置索引.
hImage: 图片句柄.
func XAdTable_InsertItemImageEx ¶
数据适配器表_插入项图片扩展, 插入数据项, 并填充指定列数据, 返回项索引.
hAdapter: 数据适配器句柄.
iItem: 插入位置索引.
pName: 字段称.
hImage: 图片句柄.
func XAdTable_InsertItemText ¶
数据适配器表_插入项文本, 插入数据项, 填充第一列数据, 返回项索引.
hAdapter: 数据适配器句柄.
iItem: 插入位置索引.
pValue: 值.
func XAdTable_InsertItemTextEx ¶
数据适配器表_插入项文本扩展, 插入数据项, 并填充指定列数据, 返回项索引.
hAdapter: 数据适配器句柄.
iItem: 插入位置索引.
pName: 字段称.
pValue: 值.
func XAdTable_SetItemFloat ¶
数据适配器表_置项浮点值, 设置项数据.
hAdapter: 数据适配器句柄.
iItem: 项索引.
iColumn: 列索引.
fValue: 值.
func XAdTable_SetItemFloatEx ¶
数据适配器表_置项浮点值扩展, 设置项数据.
hAdapter: 数据适配器句柄.
iItem: 项索引.
pName: 字段称.
fValue: 值.
func XAdTable_SetItemImage ¶
数据适配器表_置项图片, 设置项数据.
hAdapter: 数据适配器句柄.
iItem: 项索引.
iColumn: 列索引.
hImage: 图片句柄.
func XAdTable_SetItemImageEx ¶
数据适配器表_置项图片扩展, 设置项数据.
hAdapter: 数据适配器句柄.
iItem: 项索引.
pName: 字段称.
hImage: 图片句柄.
func XAdTable_SetItemInt ¶
数据适配器表_置项整数值, 设置项数据.
hAdapter: 数据适配器句柄.
iItem: 项索引.
iColumn: 列索引.
nValue: 值.
func XAdTable_SetItemIntEx ¶
数据适配器表_置项整数值扩展, 设置项数据.
hAdapter: 数据适配器句柄.
iItem: 项索引.
pName: 字段称.
nValue: 值.
func XAdTable_SetItemText ¶
数据适配器表_置项文本, 设置项数据.
hAdapter: 数据适配器句柄.
iItem: 项索引.
iColumn: 列索引.
pValue: 值.
func XAdTable_SetItemTextEx ¶
数据适配器表_置项文本扩展, 设置项数据.
hAdapter: 数据适配器句柄.
iItem: 项索引.
pName: 字段称.
pValue: 值.
func XAdTable_Sort ¶
数据适配器表_排序, 对内容进行排序.
hAdapter: 数据适配器句柄.
iColumn: 要排序的列索引。.
bAscending: 是否按照升序方式排序.
func XAdTree_GetItemImageEx ¶
数据适配器树_取项图片扩展, 获取项内容, 返回图片句柄.
hAdapter: 数据适配器句柄.
nID: 项ID.
pName: 字段称.
func XAdTree_InsertItemImage ¶
数据适配器树_插入项图片, 插入项, 数据填充到第一列, 返回项ID值.
hAdapter: 数据适配器句柄.
hImage: 图片句柄.
nParentID: 父ID.
insertID: 插入位置ID.
func XAdTree_InsertItemImageEx ¶
func XAdTree_InsertItemImageEx(hAdapter int, pName string, hImage int, nParentID int, insertID int) int
数据适配器树_插入项图片扩展, 插入项, 数据填充到指定列, 返回项ID值.
hAdapter: 数据适配器句柄.
pName: 字段称.
hImage: 图片句柄.
nParentID: 父ID.
insertID: 插入位置ID.
func XAdTree_InsertItemText ¶
数据适配器树_插入项文本, 插入项, 数据填充到第一列, 返回项ID值.
hAdapter: 数据适配器句柄.
pValue: 值.
nParentID: 父ID.
insertID: 插入位置ID.
func XAdTree_InsertItemTextEx ¶
func XAdTree_InsertItemTextEx(hAdapter int, pName string, pValue string, nParentID int, insertID int) int
数据适配器树_插入项文本扩展, 插入项, 数据填充到指定列, 返回项ID值.
hAdapter: 数据适配器句柄.
pName: 字段称.
pValue: 值.
nParentID: 父ID.
insertID: 插入位置ID.
func XAdTree_SetItemImage ¶
数据适配器树_置项图片, 设置项数据.
hAdapter: 数据适配器句柄.
nID: 项ID.
iColumn: 列索引.
hImage: 图片句柄.
func XAdTree_SetItemImageEx ¶
数据适配器树_置项图片扩展, 设置项内容.
hAdapter: 数据适配器句柄.
nID: 项ID.
pName: 字段称.
hImage: 图片句柄.
func XAdTree_SetItemText ¶
数据适配器树_置项文本, 设置项数据.
hAdapter: 数据适配器句柄.
nID: 项ID.
iColumn: 列索引.
pValue: 值.
func XAdTree_SetItemTextEx ¶
数据适配器树_置项文本扩展, 设置项文件内容.
hAdapter: 数据适配器句柄.
nID: 项ID.
pName: 字段称.
pValue: 值.
func XAnimaGroup_Create ¶
动画组_创建, 动画同步组, 当组中动画序列全部完成后, 重新开始.
当遇到无限循环项时, 直至其他序列完成后终止循环, 避免出现无法到达终点, 无法返回头部进行同步, 返回动画组句柄.
nLoopCount: 动画循环次数, 0: 无限循环.
func XAnimaItem_EnableCompleteRelease ¶
动画项_启用完成释放, 当动画项完成后自动释放.
例如对多个动画序列进行渐近式延迟, 在动画序列头标添加延时项(时间差), 当延时项完成时自动释放, 后续动画循环就形成一种时间差(因为对齐的时间差销毁了, 他们永远无法对齐时间).
hAnimationItem: 动画项句柄.
bEnable: 是否启用.
func XAnimaMove_SetFlag ¶
func XAnimaMove_SetFlag(hAnimationMove int, flags xcc.Animation_Move_) int
动画移动_置标识, 此接口可独立设置x轴移动或y轴移动.
hAnimationMove: 动画移动项句柄.
flags: 动画移动标识, 可组合使用, Animation_Move_.
TODO: 此函数尚未封装到类中.
func XAnimaRotate_SetCenter ¶
动画旋转_置中心, 设置旋转中心点坐标.
hAnimationRotate: 动画旋转项句柄.
x: 坐标X.
y: 坐标Y.
bOffset: TRUE: 相对于自身中心点偏移, FALSE: 绝对坐标.
func XAnimaScale_SetPosition ¶
func XAnimaScale_SetPosition(hAnimationScale int, position xcc.Position_Flag_) bool
动画缩放_置延伸位置, 设置缩放起点, 确定延伸方向.
hAnimationScale: 动画缩放项句柄.
position: 位置, Position_Flag_.
func XAnima_Alpha ¶
func XAnima_Alpha(hSequence int, duration int, alpha uint8, nLoopCount int, ease_flag xcc.Ease_Flag_, bGoBack bool) int
动画_透明度, 返回动画项句柄.
hSequence: 动画序列句柄.
duration: 持续时间.
alpha: 透明度.
nLoopCount: 动画循环次数, 0: 无限循环.
ease_flag: 缓动标识, Ease_Flag_.
bGoBack: 是否返回. 当启用后: 往返到起点, 起点->终点->起点.
func XAnima_AlphaEx ¶
func XAnima_AlphaEx(hSequence int, duration int, from_alpha uint8, to_alpha uint8, nLoopCount int, ease_flag xcc.Ease_Flag_, bGoBack bool) int
动画_透明度扩展, 从指定透明度到目标透明度, 返回动画项句柄.
hSequence: 动画序列句柄.
duration: 持续时间.
from_alpha: 起始透明度.
to_alpha: 终止透明度.
nLoopCount: 动画循环次数, 0: 无限循环.
ease_flag: 缓动标识, Ease_Flag_.
bGoBack: 是否返回. 当启用后: 往返到起点, 起点->终点->起点.
func XAnima_Color ¶
func XAnima_Color(hSequence int, duration int, color int, nLoopCount int, ease_flag xcc.Ease_Flag_, bGoBack bool) int
动画_颜色, 返回动画项句柄.
hSequence: 动画序列句柄.
duration: 持续时间.
color: ABGR颜色.
nLoopCount: 动画循环次数, 0: 无限循环.
ease_flag: 缓动标识, Ease_Flag_.
bGoBack: 是否返回. 当启用后: 往返到起点, 起点->终点->起点.
func XAnima_ColorEx ¶
func XAnima_ColorEx(hSequence int, duration int, from int, to int, nLoopCount int, ease_flag xcc.Ease_Flag_, bGoBack bool) int
动画_颜色扩展, 从指定颜色到目标颜色, 返回动画项句柄.
hSequence: 动画序列句柄.
duration: 持续时间.
from: 起点颜色, ABGR颜色.
to: 终点颜色, ABGR颜色.
nLoopCount: 动画循环次数, 0: 无限循环.
ease_flag: 缓动标识, Ease_Flag_.
bGoBack: 是否返回. 当启用后: 往返到起点, 起点->终点->起点.
func XAnima_Create ¶
动画_创建动画序列, 按顺序执行的动画列表, 返回动画序列句柄.
hObjectUI: 绑定的UI对象. UI对象句柄: 窗口句柄, 元素句柄, 形状句柄, SVG句柄.
nLoopCount: 动画循环次数, 0: 无限循环.
func XAnima_DelayEx ¶
func XAnima_DelayEx(hSequence int, duration float32, nLoopCount int, ease_flag xcc.Ease_Flag_, bGoBack bool) int
动画_延迟扩展, 可以作为一个空动画, 然后在回调里处理自己的算法, 返回动画项句柄.
hSequence: 动画序列句柄.
duration: 持续时间.
nLoopCount: 动画循环次数, 0:无限循环.
ease_flag: 缓动标识, Ease_Flag_.
bGoBack: 是否返回. 当启用后: 往返到起点, 起点->终点->起点.
func XAnima_EnableAutoDestroy ¶
动画_启用自动销毁, TRUE: 当引用计数为0时自动销毁, FALSE: 手动销毁.
hAnimation: 动画项或动画序列或动画组句柄.
bEnable: 是否启用.
func XAnima_LayoutHeight ¶
func XAnima_LayoutHeight(hSequence int, duration int, nType xcc.Layout_Size_, height float32, nLoopCount int, ease_flag xcc.Ease_Flag_, bGoBack bool) int
动画_布局高度, 修改布局高度属性, 返回动画项句柄.
hSequence: 动画序列句柄.
duration: 持续时间.
nType: 布局高度类型: xcc.Layout_Size_.
height: 布局高度.
nLoopCount: 动画循环次数, 0: 无限循环.
ease_flag: 缓动标识, Ease_Flag_.
bGoBack: 是否返回. 当启用后: 往返到起点, 起点->终点->起点.
func XAnima_LayoutSize ¶
func XAnima_LayoutSize(hSequence int, duration int, nWidthType xcc.Layout_Size_, width float32, nHeightType xcc.Layout_Size_, height float32, nLoopCount int, ease_flag xcc.Ease_Flag_, bGoBack bool) int
动画_布局大小, 修改布局宽度和高度, 返回动画项句柄.
hSequence: 动画序列句柄.
duration: 持续时间.
nWidthType: 布局宽度类型: xcc.Layout_Size_.
width: 布局宽度.
nHeightType: 布局高度类型: xcc.Layout_Size_.
height: 布局高度.
nLoopCount: 动画循环次数, 0: 无限循环.
ease_flag: 缓动标识, Ease_Flag_.
bGoBack: 是否返回. 当启用后: 往返到起点, 起点->终点->起点.
func XAnima_LayoutWidth ¶
func XAnima_LayoutWidth(hSequence int, duration int, nType xcc.Layout_Size_, width float32, nLoopCount int, ease_flag xcc.Ease_Flag_, bGoBack bool) int
动画_布局宽度, 修改布局宽度属性, 返回动画项句柄.
hSequence: 动画序列句柄.
duration: 持续时间.
nType: 布局宽度类型: xcc.Layout_Size_.
width: 布局宽度.
nLoopCount: 动画循环次数, 0: 无限循环.
ease_flag: 缓动标识, Ease_Flag_.
bGoBack: 是否返回. 当启用后: 往返到起点, 起点->终点->起点.
func XAnima_Move ¶
func XAnima_Move(hSequence int, duration int, x float32, y float32, nLoopCount int, ease_flag xcc.Ease_Flag_, bGoBack bool) int
动画_移动, 移动到目标位置, 默认以UI对象中心点为操作方式, 避免出现坐标错位, 返回动画项句柄.
hSequence: 动画序列句柄.
duration: 持续时间.
x: 终点位置X(对象左上角坐标).
y: 终点位置Y(对象左上角坐标).
nLoopCount: 动画循环次数, 0:无限循环.
ease_flag: 缓动标识, Ease_Flag_.
bGoBack: 是否返回. 当启用后: 往返到起点, 起点->终点->起点.
func XAnima_MoveEx ¶
func XAnima_MoveEx(hSequence int, duration int, from_x float32, from_y float32, to_x float32, to_y float32, nLoopCount int, ease_flag xcc.Ease_Flag_, bGoBack bool) int
动画_移动扩展, 从指定位置移动到目标位置, 默认以UI对象中心点为操作方式, 避免出现坐标错位, 返回动画项句柄.
hSequence: 动画序列句柄.
duration: 持续时间.
from_x: 起点位置X(对象左上角坐标).
from_y: 起点位置Y(对象左上角坐标).
to_x: 终点位置X(对象左上角坐标).
to_y: 终点位置Y(对象左上角坐标).
nLoopCount: 动画循环次数, 0:无限循环.
ease_flag: 缓动标识, Ease_Flag_.
bGoBack: 是否返回. 当启用后: 往返到起点, 起点->终点->起点.
func XAnima_Rotate ¶
func XAnima_Rotate(hSequence int, duration int, angle float32, nLoopCount int, ease_flag xcc.Ease_Flag_, bGoBack bool) int
动画_旋转, 旋转角度支持负数值, 因为负数可以控制反向旋转, 返回动画旋转项句柄.
hSequence: 动画序列句柄.
duration: 持续时间.
angle: 角度.
nLoopCount: 动画循环次数, 0: 无限循环.
ease_flag: 缓动标识, Ease_Flag_.
bGoBack: 是否返回. 当启用后: 往返到起点, 起点->终点->起点.
func XAnima_RotateEx ¶
func XAnima_RotateEx(hSequence int, duration int, from float32, to float32, nLoopCount int, ease_flag xcc.Ease_Flag_, bGoBack bool) int
动画_旋转扩展, 指定起点和终点, 返回动画旋转项句柄.
hSequence: 动画序列句柄.
duration: 持续时间.
from: 起点角度.
to: 终点角度.
nLoopCount: 动画循环次数, 0: 无限循环.
ease_flag: 缓动标识, Ease_Flag_.
bGoBack: 是否返回. 当启用后: 往返到起点, 起点->终点->起点.
func XAnima_Run ¶
动画_运行, 并且增加引用计数.
hAnimation: 动画序列或动画组句柄.
hRedrawObjectUI: 当更新UI时重绘的UI层. UI对象句柄: 窗口句柄, 元素句柄, 形状句柄, SVG句柄.
func XAnima_Scale ¶
func XAnima_Scale(hSequence int, duration int, scaleX float32, scaleY float32, nLoopCount int, ease_flag xcc.Ease_Flag_, bGoBack bool) int
动画_缩放, 缩放对象, 默认以自身为中心缩放, 返回动画缩放项句柄.
hSequence: 动画序列句柄.
duration: 持续时间.
scaleX: X轴缩放比例.
scaleY: Y轴缩放比例.
nLoopCount: 动画循环次数, 0: 无限循环.
ease_flag: 缓动标识, Ease_Flag_.
bGoBack: 是否返回. 当启用后: 往返到起点, 起点->终点->起点.
func XAnima_ScaleSize ¶
func XAnima_ScaleSize(hSequence int, duration int, width float32, height float32, nLoopCount int, ease_flag xcc.Ease_Flag_, bGoBack bool) int
动画_缩放大小, 修改UI对象大小, 默认向右延伸, 返回动画缩放项句柄.
hSequence: 动画序列句柄.
duration: 持续时间.
width: 宽度.
height: 高度.
nLoopCount: 动画循环次数, 0: 无限循环.
ease_flag: 缓动标识, Ease_Flag_.
bGoBack: 是否返回. 当启用后: 往返到起点, 起点->终点->起点.
func XBkM_AddBorder ¶
func XBkM_AddBorder(hBkInfoM int, nState xcc.CombinedState, color, width, id int) int
背景_添加边框, 添加背景内容边框.
hBkInfoM: 背景管理器句柄.
nState: 组合状态.
color: ABGR颜色.
width: 线宽.
id: 背景对象ID, 可忽略(填0).
func XBkM_AddFill ¶
func XBkM_AddFill(hBkInfoM int, nState xcc.CombinedState, color, id int) int
背景_添加填充, 添加背景内容填充.
hBkInfoM: 背景管理器句柄.
nState: 组合状态.
color: ABGR颜色.
id: 背景对象ID, 可忽略(填0).
func XBkM_AddImage ¶
func XBkM_AddImage(hBkInfoM int, nState xcc.CombinedState, hImage, id int) int
背景_添加图片, 添加背景内容图片.
hBkInfoM: 背景管理器句柄.
nState: 组合状态.
hImage: 图片句柄.
id: 背景对象ID, 可忽略(填0).
func XBkM_DrawEx ¶
func XBkM_DrawEx(hBkInfoM int, nState xcc.CombinedState, hDraw int, pRect *RECT, nStateEx xcc.CombinedState) bool
背景_绘制扩展, 绘制背景内容, 设置条件.
hBkInfoM: 背景管理器句柄.
nState: 组合状态.
hDraw: 图形绘制句柄.
pRect: 区域坐标.
nStateEx: 当(nState)中包含(nStateEx)中的一个或多个状态时有效.
注解: 例如用来绘制列表项时, nState中包含项的状态(nStateEx)才会绘制, 避免列表项与元素背景叠加.
func XBkM_GetStateTextColor ¶
func XBkM_GetStateTextColor(hBkInfoM int, nState xcc.CombinedState, color *int) bool
背景_取指定状态文本颜色.
hBkInfoM: 背景管理器句柄.
nState: 组合状态.
color: 接收返回的ABGR颜色.
func XBkM_SetBkInfo ¶
!废弃函数, 保留为了兼容旧版; 请使用 XBkM_SetInfo().
背景_置内容, 设置背景内容, 返回设置的背景对象数量.
hBkInfoM: 背景管理器句柄.
pText: 背景内容字符串.
func XBkObj_SetAlign ¶
func XBkObj_SetAlign(hObj int, nFlags xcc.BkObject_Align_Flag_) int
背景对象_置对齐.
hObj: 背景对象句柄.
nFlags: 对齐方式, BkObject_Align_Flag_.
func XBkObj_SetMargin ¶
背景对象_置外间距, 外间距与对齐标识(BkObject_Align_Flag_)互相依赖.
hObj: 背景对象句柄.
left: 左边间距.
top: 顶部间距.
right: 右边间距.
bottom: 底部间距.
func XBkObj_SetRectRoundAngle ¶
func XBkObj_SetRectRoundAngle(hObj int, leftTop int, leftBottom int, rightTop int, rightBottom int) int
背景对象_置矩形圆角.
hObj: 背景对象句柄.
leftTop: 左上角.
leftBottom: 左下角.
rightTop: 右上角.
rightBottom: 右下角.
func XBkObj_SetTextAlign ¶
func XBkObj_SetTextAlign(hObj int, nAlign xcc.TextFormatFlag_) int
背景对象_置文本对齐.
hObj: 背景对象句柄.
nAlign: 文本对齐方式, TextFormatFlag_, TextAlignFlag_, TextTrimming_.
func XBtn_EnableAnimation ¶
按钮_启用动画, 开始或关闭图片动画的播放.
hEle: 元素句柄.
bEnable: 开始播放动画TRUE, 关闭播放动画FALSE.
bLoopPlay: 是否循环播放.
func XBtn_GetState ¶
func XBtn_GetState(hEle int) xcc.Common_State3_
XBtn_GetState 按钮_取状态.
@param hEle 元素句柄. @return xcc.Common_State3_
func XBtn_GetStateEx ¶
func XBtn_GetStateEx(hEle int) xcc.Button_State_
XBtn_GetStateEx 按钮_取状态扩展.
@param hEle 元素句柄. @return xcc.Button_State_
func XBtn_GetTextAlign ¶
func XBtn_GetTextAlign(hEle int) xcc.TextFormatFlag_
按钮_取文本对齐方式, 返回: TextFormatFlag_ , TextAlignFlag_ , TextTrimming_.
hEle: 元素句柄.
func XBtn_SetIconAlign ¶
func XBtn_SetIconAlign(hEle int, align xcc.Button_Icon_Align_) int
按钮_置图标对齐.
hEle: 元素句柄.
align: 对齐方式, Button_Icon_Align_.
func XBtn_SetState ¶
func XBtn_SetState(hEle int, nState xcc.Common_State3_) int
XBtn_SetState 按钮_置状态.
@param hEle 元素句柄. @param nState 按钮状态: xcc.Common_State3_ @return int
func XBtn_SetTextAlign ¶
func XBtn_SetTextAlign(hEle int, nFlags xcc.TextFormatFlag_) int
按钮_置文本对齐.
hEle: 元素句柄.
nFlags: 对齐方式, TextFormatFlag_ , TextAlignFlag_ , TextTrimming_.
func XBtn_SetTypeEx ¶
func XBtn_SetTypeEx(hEle int, nType xcc.XC_OBJECT_TYPE_EX) int
按钮_置类型扩展, 设置按钮类型并自动修改样式和文本对齐方式.
hEle: 元素句柄.
nType: 按钮类型, Button_Type_ , element_type_ , xc_ex_error.
func XC_CallUiThread ¶
炫彩_调用界面线程, 调用UI线程, 设置回调函数, 在回调函数里操作UI.
pCall: 回调函数.
data: 用户自定义数据. func(data int) int
func XC_DebugToFileInfo ¶
XC_DebugToFileInfo 炫彩_输出调试信息到文件, 打印调试信息到文件xcgui_debug.txt.
@param pInfo 文本. @return int
func XC_EnableAutoExitApp ¶
炫彩_启用自动退出程序, 启动或禁用自动退出程序, 当检测到所有用户创建的窗口都关闭时, 自动退出程序; 可调用 XC_PostQuitMessage() 手动退出程序.
bEnabel: 是否启用.
func XC_EnableGdiDrawText ¶
炫彩_启用GDI绘制文本, 将影响到以下函数: XDraw_TextOut, XDraw_TextOutEx, XDraw_TextOutA.
bEnable: 是否启用.
func XC_GetDWriteFactory ¶
func XC_GetDWriteFactory() int
炫彩_取DWrite工厂, 开启D2D有效, 返回 IDWriteFactory* .
func XC_GetObjectType ¶
func XC_GetObjectType(hXCGUI int) xcc.XC_OBJECT_TYPE
炫彩_取对象类型, 获取句柄类型, 返回: XC_OBJECT_TYPE.
hXCGUI: 炫彩对象句柄.
func XC_GetProcAddress ¶
炫彩_取动态库中函数地址, 系统API GetProcAddress, 返回函数地址.
hModule: 动态库模块句柄.
lpProcName: 函数名.
func XC_GetTextShowRect ¶
func XC_GetTextShowRect(pString string, length int, hFontX int, nTextAlign xcc.TextFormatFlag_, width int, pOutSize *SIZE) int
XC_GetTextShowRect 炫彩_取文本显示矩形.
@param pString 字符串. @param length 字符串长度. @param hFontX 字体. @param nTextAlign 文本对齐: xcc.TextFormatFlag_. @param width 最大宽度. @param pOutSize 接收返回大小. @return int
func XC_GetTextShowSizeEx ¶
func XC_GetTextShowSizeEx(pString string, length int, hFontX int, nTextAlign xcc.TextFormatFlag_, pOutSize *SIZE) int
炫彩_取文本显示大小扩展.
pString: 字符串.
length: 字符串长度.
hFontX: 字体.
nTextAlign: 文本对齐方式, TextFormatFlag_, TextAlignFlag_, TextTrimming_.
pOutSize: 接收返回大小.
func XC_InitFont ¶
func XC_InitFont(pFont *LOGFONTW, pName string, size int, bBold bool, bItalic bool, bUnderline bool, bStrikeOut bool) int
炫彩_初始化字体, 初始化LOGFONTW结构体.
pFont: LOGFONTW结构体指针.
pName: 字体名称.
size: 字体大小.
bBold: 是否为粗体.
bItalic: 是否为斜体.
bUnderline: 是否有下划线.
bStrikeOut: 是否有删除线.
func XC_IsHXCGUI ¶
func XC_IsHXCGUI(hXCGUI int, nType xcc.XC_OBJECT_TYPE) bool
炫彩_判断句柄包含类型, 判断句柄是否拥有该类型.
hXCGUI: 炫彩句柄.
nType: 句柄类型, XC_OBJECT_TYPE, 以XC_开头的常量.
func XC_LoadDll ¶
炫彩_加载DLL, 返回DLL模块句柄. 加载指定DLL, 并且调用DLL中函数LoadDll(), DLL中导出函数格式: int WINAPI LoadDll().
pDllFileName: DLL文件名.
func XC_LoadLayout ¶
炫彩_加载布局文件, 返回窗口句柄或布局句柄或元素句柄.
pFileName: 布局文件名.
hParent: 父对象句柄.
hAttachWnd: 附加窗口句柄, 附加到指定的窗口, 可填0.
func XC_LoadLayoutFromStringW ¶
炫彩_加载布局文件从字符串W, 加载布局文件从内存字符串, 返回窗口句柄或布局句柄或元素句柄.
pStringXML: 字符串.
hParent: 父对象.
hAttachWnd: 附加窗口句柄, 附加到指定的窗口, 可填0.
func XC_LoadLayoutZip ¶
func XC_LoadLayoutZip(pZipFileName string, pFileName string, pPassword string, hParent, hAttachWnd int) int
炫彩_加载布局文件ZIP, 加载布局文件从zip压缩包中, 返回窗口句柄或布局句柄或元素句柄.
pZipFileName: zip文件名.
pFileName: 布局文件名.
pPassword: zip密码.
hParent: 父对象句柄.
hAttachWnd: 附加窗口句柄, 附加到指定的窗口, 可填0.
func XC_LoadLayoutZipMem ¶
func XC_LoadLayoutZipMem(data []byte, pFileName string, pPassword string, hParent, hAttachWnd int) int
炫彩_加载布局文件内存ZIP, 加载布局文件从zip压缩包中, 返回窗口句柄或布局句柄或元素句柄.
data: 布局文件数据.
pFileName: 布局文件名.
pPassword: zip密码.
hParent: 父对象句柄.
hAttachWnd: 附加窗口句柄, 附加到指定的窗口, 可填0.
func XC_LoadResourceZip ¶
炫彩_加载资源文件ZIP.
pZipFileName: zip文件名.
pFileName: 资源文件名.
pPassword: zip压缩包密码.
func XC_MessageBox ¶
func XC_MessageBox(pTitle, pText string, nFlags xcc.MessageBox_Flag_, hWndParent int, XCStyle xcc.Window_Style_) xcc.MessageBox_Flag_
XC_MessageBox 炫彩_消息框.
@param pTitle 标题. @param pText 内容文本. @param nFlags 标识: xcc.MessageBox_Flag_. @param XCStyle xcc.Window_Style_. @return xcc.MessageBox_Flag_ , 返回: xcc.MessageBox_Flag_Ok: 点击确定按钮退出. xcc.MessageBox_Flag_Cancel: 点击取消按钮退出. xcc.MessageBox_Flag_Other: 其他方式退出.
func XC_RegisterWindowClassName ¶
炫彩_注册窗口类名, 如果是在DLL中使用, 那么DLL卸载时需要注销窗口类名, 否则DLL卸载后, 类名所指向的窗口过程地址失效.
pClassName: 类名.
func XC_SetActivateTopWindow ¶
func XC_SetActivateTopWindow() bool
XC_SetActivateTopWindow 炫彩_激活窗口, 激活当前进程最上层窗口.
@return bool
func XC_SetD2dTextRenderingMode ¶
func XC_SetD2dTextRenderingMode(mode xcc.XC_DWRITE_RENDERING_MODE_) int
炫彩_置D2D文本渲染模式.
mode: 渲染模式, XC_DWRITE_RENDERING_MODE_ .
func XC_Sys_ShellExecute ¶
func XC_Sys_ShellExecute(hwnd int, lpOperation string, lpFile string, lpParameters string, lpDirectory string, nShowCmd xcc.SW_) int
对指定文件执行操作. 如果函数成功,则返回大于 32 的值。如果函数失败,则返回指示失败原因的错误值.
hwnd: 用于显示 UI 或错误消息的父窗口的句柄。如果操作与窗口无关,则此值可以为0.
lpOperation: 填“open”则打开lpFlie文档. 其它操作详见: https://docs.microsoft.com/en-us/windows/win32/api/shellapi/nf-shellapi-shellexecutew.
lpFile: 想用关联的程序打印或打开的一个程序名或文件名.
lpParameters: 如果lpFile是一个可执行文件,则这个字串包含了传递给执行程序的参数.
lpDirectory: 想使用的默认路径完整路径.
nShowCmd: 定义了如何显示启动程序的常数值: xcc.SW_.
func XComboBox_Create ¶
组合框_创建, 返回元素句柄.
x: 元素x坐标.
y: 元素y坐标.
cx: 宽度.
cy: 高度.
hParent: 父是窗口资源句柄或UI元素资源句柄.如果是窗口资源句柄将被添加到窗口.
func XComboBox_EnableDropHeightFixed ¶
组合框_启用下拉列表高度固定大小, 启用/关闭下拉列表高度固定大小.
hEle: 元素句柄.
bEnable: 是否启用.
func XComboBox_GetItemFloatEx ¶
组合框_取项浮点值扩展.
hEle: 元素句柄.
iItem: 项索引.
pName: 字段名.
pOutValue: 接收返回浮点值.
func XComboBox_GetState ¶
func XComboBox_GetState(hEle int) xcc.ComboBox_State_
组合框_取状态, 返回: ComboBox_State_.
hEle: 元素句柄.
func XComboBox_InsertItemImageEx ¶
组合框_插入项图片扩展, 返回项索引.
hEle: 元素句柄.
iItem: 项索引.
pName: 字段名.
hImage: 图片句柄.
func XComboBox_InsertItemTextEx ¶
组合框_插入项文本扩展, 返回项索引.
hEle: 元素句柄.
iItem: 项索引.
pName: 字段名.
pText: 文本.
func XDateTime_Create ¶
日期_创建, 创建日期时间元素, 返回元素句柄.
x: x坐标.
y: y坐标.
cx: 宽度.
cy: 高度.
hParent: 父为窗口句柄或元素句柄.
func XDateTime_EnableSplitSlash ¶
日期_启用分割栏为斜线, 切换分割栏为: 斜线或横线.
hEle: 元素句柄.
bSlash: TRUE: 斜线, FALSE: 横线.
func XDateTime_GetTime ¶
日期_取当前时间.
hEle: 元素句柄.
pnHour: 时.[OUT].
pnMinute: 分.[OUT].
pnSecond: 秒.[OUT].
func XDateTime_SetSelBkColor ¶
日期_置选择日期背景颜色, 设置被选择文字的背景颜色.
hEle: 元素句柄.
crSelectBk: 文字被选中背景色, ABGR颜色.
func XDraw_Dottedline ¶
绘制_虚线, 绘制水平或垂直虚线.
hDraw: 图形绘制句柄.
x1: 起点x坐标.
y1: 起点y坐标.
x2: 结束点x坐标.
y2: 结束点y坐标.
func XDraw_DottedlineF ¶
绘制_虚线F, 绘制水平或垂直虚线.
hDraw: 图形绘制句柄.
x1: 起点x坐标.
y1: 起点y坐标.
x2: 结束点x坐标.
y2: 结束点y坐标.
func XDraw_DrawArc ¶
func XDraw_DrawArc(hDraw int, x, y int, nWidth int, nHeight int, startAngle float32, sweepAngle float32) int
绘制_圆弧.
hDraw: 图形绘制句柄.
x: 坐标.
y: 坐标.
nWidth: 宽度.
nHeight: 高度.
startAngle: 起始角度.
sweepAngle: 绘制角度, 从起始角度开始计算.
func XDraw_DrawArcF ¶
绘制_圆弧F.
hDraw: 图形绘制句柄.
x: 坐标.
y: 坐标.
nWidth: 宽度.
nHeight: 高度.
startAngle: 起始角度.
sweepAngle: 绘制角度, 从起始角度开始计算.
func XDraw_DrawCurve ¶
绘制_曲线, D2D暂时留空.
hDraw: 图形绘制句柄.
points: 坐标点数组.
count: 数组大小.
tension: 大于或等于0.0F的值,指定曲线的张力, D2D 忽略此参数.
func XDraw_DrawCurveF ¶
绘制_曲线F, D2D暂时留空.
hDraw: 图形绘制句柄.
points: 坐标点数组.
count: 数组大小.
tension: 大于或等于0.0F的值,指定曲线的张力, D2D 忽略此参数.
func XDraw_DrawRoundRect ¶
绘制_圆角矩形, 绘制圆角矩形边框.
hDraw: 图形绘制句柄.
pRect: 矩形坐标.
nWidth: 圆角宽度.
nHeight: 圆角高度.
func XDraw_DrawRoundRectEx ¶
func XDraw_DrawRoundRectEx(hDraw int, pRect *RECT, nLeftTop int, nRightTop int, nRightBottom int, nLeftBottom int) int
绘制_圆角矩形扩展, 绘制圆角矩形边框.
hDraw: 图形绘制句柄.
pRect: 坐标.
nLeftTop: 圆角大小.
nRightTop: 圆角大小.
nRightBottom: 圆角大小.
nLeftBottom: 圆角大小.
func XDraw_DrawRoundRectExF ¶
func XDraw_DrawRoundRectExF(hDraw int, pRect *RECT, nLeftTop, nRightTop, nRightBottom, nLeftBottom float32) int
绘制_圆角矩形扩展F, 绘制圆角矩形边框.
hDraw: 图形绘制句柄.
pRect: 坐标.
nLeftTop: 圆角大小.
nRightTop: 圆角大小.
nRightBottom: 圆角大小.
nLeftBottom: 圆角大小.
func XDraw_DrawRoundRectF ¶
绘制_圆角矩形F, 绘制圆角矩形边框.
hDraw: 图形绘制句柄.
pRect: 矩形坐标.
nWidth: 圆角宽度.
nHeight: 圆角高度.
func XDraw_DrawSvgEx ¶
绘制_SVG扩展.
hDraw: 图形绘制句柄.
hSvg: SVG句柄.
x: x坐标.
y: y坐标.
nWidth: 宽度.
nHeight: 高度.
func XDraw_DrawTextUnderline ¶
绘制_文本下划线.
hDraw: 图形绘制句柄.
lpString: 字符串.
lpRect: 坐标.
colorLine: 下划线颜色, ABGR颜色.
func XDraw_DrawTextUnderlineF ¶
绘制_文本下划线F.
hDraw: 图形绘制句柄.
lpString: 字符串.
lpRect: 坐标.
colorLine: 下划线颜色, ABGR颜色.
func XDraw_EnableWndTransparent ¶
绘制_启用窗口透明判断, 当启用之后, 调用GDI+函数时, 如果参数alpha=255, 将自动修改为254, 应对GDI+的bug, 否则透明通道异常.
hDraw: 图形绘制句柄.
bTransparent: 是否启用.
func XDraw_FillRect ¶
绘制_填充矩形, 通过使用指定的刷子填充一个矩形, 此功能包括左侧和顶部的边界, 但不包括矩形的右边和底部边界.
hDraw: 图形绘制句柄.
pRect: 矩形区域.
func XDraw_FillRectF ¶
绘制_填充矩形F, 通过使用指定的刷子填充一个矩形, 此功能包括左侧和顶部的边界, 但不包括矩形的右边和底部边界.
hDraw: 图形绘制句柄.
pRect: 矩形区域.
func XDraw_FillRoundRectEx ¶
func XDraw_FillRoundRectEx(hDraw int, pRect *RECT, nLeftTop, nRightTop, nRightBottom, nLeftBottom int) int
绘制_填充圆角矩形扩展.
hDraw: 图形绘制句柄.
pRect: 坐标.
nLeftTop: 圆角大小.
nRightTop: 圆角大小.
nRightBottom: 圆角大小.
nLeftBottom: 圆角大小.
func XDraw_FillRoundRectExF ¶
func XDraw_FillRoundRectExF(hDraw int, pRect *RECTF, nLeftTop, nRightTop, nRightBottom, nLeftBottom float32) int
绘制_填充圆角矩形扩展F.
hDraw: 图形绘制句柄.
pRect: 坐标.
nLeftTop: 圆角大小.
nRightTop: 圆角大小.
nRightBottom: 圆角大小.
nLeftBottom: 圆角大小.
func XDraw_GDI_AlphaBlend ¶
func XDraw_GDI_AlphaBlend(hDraw int, nXOriginDest int, nYOriginDest int, nWidthDest int, nHeightDest int, hdcSrc int, nXOriginSrc int, nYOriginSrc int, nWidthSrc int, nHeightSrc int, alpha int) bool
绘制_带透明复制, AlphaBlend() 参见MSDN.
hDraw: XX.
nXOriginDest: XX.
nYOriginDest: XX.
nWidthDest: XX.
nHeightDest: XX.
hdcSrc: XX.
nXOriginSrc: XX.
nYOriginSrc: XX.
nWidthSrc: XX.
nHeightSrc: XX.
alpha: XX.
func XDraw_GDI_BitBlt ¶
func XDraw_GDI_BitBlt(hDrawDest int, nXDest int, nYDest int, nWidth int, nHeight int, hdcSrc int, nXSrc int, nYSrc int, dwRop int) bool
绘制_复制, BitBlt() 参见MSDN.
hDrawDest: XX.
nXDest: XX.
nYDest: XX.
nWidth: XX.
nHeight: XX.
hdcSrc: XX.
nXSrc: XX.
nYSrc: XX.
dwRop: XX.
func XDraw_GDI_BitBlt2 ¶
func XDraw_GDI_BitBlt2(hDrawDest int, nXDest int, nYDest int, nWidth int, nHeight int, hDrawSrc int, nXSrc int, nYSrc int, dwRop int) bool
绘制_复制2, BitBlt() 参见MSDN.
hDrawDest: XX.
nXDest: XX.
nYDest: XX.
nWidth: XX.
nHeight: XX.
hDrawSrc: XX.
nXSrc: XX.
nYSrc: XX.
dwRop: XX.
func XDraw_GDI_CreatePen ¶
绘制_创建画笔, GDI创建一个逻辑笔, 指定的样式, 宽度和颜色, 随后的笔可以选择到设备上下文, 用于绘制线条和曲线.
hDraw: 图形绘制句柄.
fnPenStyle: 画笔样式, PS_SOLID:实线, PS_DASH:段线, PS_DOT:点线, PS_DASHDOT:段线_点线, PS_DASHDOTDOT:段线_点_点, PS_NULL:空, PS_INSIDEFRAME:实线_笔宽是向里扩展.
nWidth: 画笔宽度.
crColor: RGB颜色.
func XDraw_GDI_CreatePolygonRgn ¶
绘制_创建多边形区域, GDI创建一个多边形区域, 成功返回区域句柄, 失败返回NULL.
hDraw: 图形绘制句柄.
pPt: POINT数组.
cPoints: 数组大小.
fnPolyFillMode: 多边形填充模式, 指定用于确定在该地区的像素填充模式,这个参数可以是下列值之一.
ALTERNATE Selects alternate mode (fills area between odd-numbered and even-numbered polygon sides on each scan line).
WINDING Selects winding mode (fills any region with a nonzero winding value).
func XDraw_GDI_CreateRectRgn ¶
func XDraw_GDI_CreateRectRgn(hDraw int, nLeftRect int, nTopRect int, nRightRect int, nBottomRect int) int
绘制_创建矩形区域, GDI创建矩形区域, 成功返回区域句柄, 失败返回NULL.
hDraw: 图形绘制句柄.
nLeftRect: 左上角X坐标.
nTopRect: 左上角Y坐标.
nRightRect: 右下角X坐标.
nBottomRect: 右下角Y坐标.
func XDraw_GDI_CreateRoundRectRgn ¶
func XDraw_GDI_CreateRoundRectRgn(hDraw int, nLeftRect int, nTopRect int, nRightRect int, nBottomRect int, nWidthEllipse int, nHeightEllipse int) int
绘制_创建圆角矩形区域, GDI创建一个圆角的矩形区域, 成功返回区域句柄, 失败返回NULL.
hDraw: 图形绘制句柄.
nLeftRect: X-坐标的左上角.
nTopRect: Y-坐标左上角坐标.
nRightRect: X-坐标右下角.
nBottomRect: Y-坐标右下角.
nWidthEllipse: 椭圆的宽度.
nHeightEllipse: 椭圆的高度.
func XDraw_GDI_DrawIconEx ¶
func XDraw_GDI_DrawIconEx(hDraw int, xLeft int, yTop int, hIcon int, cxWidth int, cyWidth int, istepIfAniCur int, hbrFlickerFreeDraw int, diFlags int) bool
绘制_图标, 绘制图标, DrawIconEx()参见MSDN.
hDraw: .
xLeft: .
yTop: .
hIcon: .
cxWidth: .
cyWidth: .
istepIfAniCur: .
hbrFlickerFreeDraw: .
diFlags: .
func XDraw_GDI_FrameRgn ¶
绘制_边框区域, 绘制边框, 使用指定的画刷绘制指定的区域的边框. 如果函数成功, 返回非零值, 如果函数失败, 返回值是零.
hDraw: 图形绘制句柄.
hrgn: 区域句柄.
hbr: 画刷句柄.
nWidth: 边框宽度, 垂直边.
nHeight: 边框高度, 水平边.
func XDraw_GDI_LineTo ¶
绘制_线终点, 函数绘制一条线从当前位置到, 但不包括指定点. 如果函数成功, 返回非零值.
hDraw: 图形绘制句柄.
nXEnd: X坐标, 线结束点.
nYEnd: Y坐标, 线结束点.
func XDraw_GDI_MoveToEx ¶
绘制_移动到起点, 更新当前位置到指定点,并返回以前的位置. 如果函数成功, 返回非零值.
hDraw: 图形绘制句柄.
X: 坐标.
Y: 坐标.
pPoint: 接收以前的当前位置到一个POINT结构的指针, 如果这个参数是NULL指针, 没有返回原来的位置.
func XDraw_GDI_Polyline ¶
绘制_折线, Polyline() 参见MSDN.
hDraw: 图形绘制句柄.
pArrayPt: 参见MSDN.
arrayPtSize: 参见MSDN.
func XDraw_GDI_Rectangle ¶
func XDraw_GDI_Rectangle(hDraw int, nLeftRect int, nTopRect int, nRightRect int, nBottomRect int) bool
绘制_矩形, 绘制矩形, 使用当前的画刷和画笔. 如果函数成功, 返回非零值, 如果函数失败, 返回值是零.
hDraw: 图形绘制句柄.
nLeftRect: 左上角X坐标.
nTopRect: 左上角Y坐标.
nRightRect: 右下角X坐标.
nBottomRect: 右下角Y坐标.
func XDraw_GDI_SelectClipRgn ¶
绘制_选择裁剪区域, 选择一个区域作为当前裁剪区域, 注意: 该函数只对GDI有效.
hDraw: 图形绘制句柄.
hRgn: 区域句柄.
返回: 返回值指定地区的复杂性,可以是下列值之一.
NULLREGION Region is empty.
SIMPLEREGION Region is a single rectangle.
COMPLEXREGION Region is more than one rectangle.
ERROR An error occurred. (The previous clipping region is unaffected).
func XDraw_GDI_SetPixel ¶
绘制_置像素颜色, 函数设置在指定的坐标到指定的颜色的像素. 如果函数成功返回RGB值, 如果失败返回-1.
hDraw: 图形绘制句柄.
X: 坐标.
Y: 坐标.
crColor: RGB颜色值.
func XDraw_GradientFill2 ¶
func XDraw_GradientFill2(hDraw int, pRect *RECT, color1 int, color2 int, mode xcc.GRADIENT_FILL_) int
绘制_渐变填充2, 渐变填充, 从一种颜色过渡到另一种颜色.
hDraw: 图形绘制句柄.
pRect: 矩形坐标.
color1: 开始颜色, ABGR颜色.
color2: 结束颜色, ABGR颜色.
mode: 模式, GRADIENT_FILL_.
func XDraw_GradientFill2F ¶
func XDraw_GradientFill2F(hDraw int, pRect *RECTF, color1 int, color2 int, mode xcc.GRADIENT_FILL_) int
绘制_渐变填充2F, 渐变填充, 从一种颜色过渡到另一种颜色.
hDraw: 图形绘制句柄.
pRect: 矩形坐标.
color1: 开始颜色, ABGR颜色.
color2: 结束颜色, ABGR颜色.
mode: 模式, GRADIENT_FILL_.
func XDraw_GradientFill4 ¶
func XDraw_GradientFill4(hDraw int, pRect *RECT, color1 int, color2 int, color3 int, color4 int, mode xcc.GRADIENT_FILL_) bool
绘制_渐变填充4, 渐变填充,从一种颜色过渡到另一种颜色.
hDraw: 图形绘制句柄.
pRect: 矩形坐标.
color1: 开始颜色, ABGR颜色.
color2: 结束颜色, ABGR颜色.
color3: 开始颜色, ABGR颜色.
color4: 结束颜色, ABGR颜色.
mode: 模式, GRADIENT_FILL_.
func XDraw_GradientFill4F ¶
func XDraw_GradientFill4F(hDraw int, pRect *RECTF, color1 int, color2 int, color3 int, color4 int, mode xcc.GRADIENT_FILL_) bool
绘制_渐变填充4F, 渐变填充,从一种颜色过渡到另一种颜色.
hDraw: 图形绘制句柄.
pRect: 矩形坐标.
color1: 开始颜色, ABGR颜色.
color2: 结束颜色, ABGR颜色.
color3: 开始颜色, ABGR颜色.
color4: 结束颜色, ABGR颜色.
mode: 模式, GRADIENT_FILL_.
func XDraw_ImageAdaptive ¶
绘制_图片自适应.
hDraw: 图形绘制句柄.
hImageFrame: 图片句柄.
pRect: 坐标.
bOnlyBorder: 是否只绘制边缘区域.
func XDraw_ImageAdaptiveF ¶
绘制_图片自适应F.
hDraw: 图形绘制句柄.
hImageFrame: 图片句柄.
pRect: 坐标.
bOnlyBorder: 是否只绘制边缘区域.
func XDraw_ImageEx ¶
绘制_图片扩展, 绘制图片.
hDraw: 图形绘制句柄.
hImageFrame: 图片句柄.
x: x坐标.
y: y坐标.
width: 宽度.
height: 高度.
func XDraw_ImageExF ¶
绘制_图片扩展F, 绘制图片.
hDraw: 图形绘制句柄.
hImageFrame: 图片句柄.
x: x坐标.
y: y坐标.
width: 宽度.
height: 高度.
func XDraw_ImageMask ¶
func XDraw_ImageMask(hDraw int, hImageFrame int, hImageFrameMask int, x int, y int, x2 int, y2 int) int
绘制_图片遮盖, 绘制带遮盖的图片, D2D留空.
hDraw: 图形绘制句柄.
hImageFrame: 图片句柄.
hImageFrameMask: 图片句柄, 遮盖.
x: hImageFrame X坐标.
y: hImageFrame Y坐标.
x2: hImageFrameMask X坐标.
y2: hImageFrameMask Y坐标.
func XDraw_ImageMaskEllipse ¶
绘制_图片遮盖椭圆, 绘制带椭圆遮盖的图片, D2D留空.
hDraw: 图形绘制句柄.
hImageFrame: 图片句柄.
pRect: .
pRcMask: .
func XDraw_ImageMaskRect ¶
func XDraw_ImageMaskRect(hDraw int, hImageFrame int, pRect *RECT, pRcMask *RECT, pRcRoundAngle *RECT) int
绘制_图片遮盖矩形, 绘制带矩形遮盖的图片, D2D留空.
hDraw: 图形绘制句柄.
hImageFrame: 图片句柄.
pRect: .
pRcMask: .
pRcRoundAngle: .
func XDraw_ImageSuperExF ¶
绘制_图片增强扩展F.
hDraw: 图形绘制句柄.
hImageFrame: 图片句柄.
prcDest: 目标坐标.
prcSrc: 源坐标.
func XDraw_ImageSuperMask ¶
func XDraw_ImageSuperMask(hDraw int, hImageFrame int, hImageFrameMask int, pRect *RECT, pRectMask *RECT, bClip bool) int
绘制_图片增强遮盖, 绘制带遮盖的图片. D2D留空.
hDraw: 图形绘制句柄.
hImageFrame: 图片句柄.
hImageFrameMask: 图片句柄, 遮盖.
pRect: 坐标.
pRectMask: 坐标, 遮盖.
bClip: 是否裁剪区域.
func XDraw_ImageTile ¶
绘制_图片平铺, 绘制图片.
hDraw: 图形绘制句柄.
hImageFrame: 图片句柄.
pRect: 坐标.
flag: 标识, 0:从左上角开始平铺, 1:从左下角开始平铺.
func XDraw_ImageTileF ¶
绘制_图片平铺F, 绘制图片.
hDraw: 图形绘制句柄.
hImageFrame: 图片句柄.
pRect: 坐标.
flag: 标识, 0:从左上角开始平铺, 1:从左下角开始平铺.
func XDraw_SetD2dTextRenderingMode ¶
func XDraw_SetD2dTextRenderingMode(hDraw int, mode xcc.XC_DWRITE_RENDERING_MODE_) int
绘制_置D2D文本渲染模式.
hDraw: 图形绘制句柄.
mode 渲染模式 XC_DWRITE_RENDERING_MODE_.
func XDraw_SetTextAlign ¶
func XDraw_SetTextAlign(hDraw int, nFlags xcc.TextFormatFlag_) int
绘制_置文本对齐, 设置文本对齐.
hDraw: 图形绘制句柄.
nFlags: 对齐标识, TextFormatFlag_, TextAlignFlag_, TextTrimming_.
func XDraw_TextOut ¶
绘制_文本, TextOut() 参见MSDN.
hDraw: 图形绘制句柄.
nXStart: XX.
nYStart: XX.
lpString: XX.
cbString: XX.
func XDraw_TextOutA ¶
绘制_文本A, TextOut() 参见MSDN.
hDraw: 图形绘制句柄.
nXStart: XX.
nYStart: XX.
lpString: XX.
func XDraw_TextOutAF ¶
绘制_文本AF, TextOut() 参见MSDN.
hDraw: 图形绘制句柄.
nXStart: XX.
nYStart: XX.
lpString: XX.
func XDraw_TextOutEx ¶
绘制_文本扩展, TextOut() 参见MSDN.
hDraw: 图形绘制句柄.
nXStart: XX.
nYStart: XX.
lpString: XX.
func XDraw_TextOutExF ¶
绘制_文本扩展F, TextOut() 参见MSDN.
hDraw: 图形绘制句柄.
nXStart: XX.
nYStart: XX.
lpString: XX.
func XDraw_TextOutF ¶
绘制_文本F, TextOut() 参见MSDN.
hDraw: 图形绘制句柄.
nXStart: XX.
nYStart: XX.
lpString: XX.
cbString: XX.
func XEase_Back ¶
func XEase_Back(p float32, flag xcc.Ease_Type_) float32
缓动_Back, 回弹, 比较缓慢.
p: 位置, 0.0f - 1.0f.
flag: 缓动类型, Ease_Type_.
func XEase_Bounce ¶
func XEase_Bounce(p float32, flag xcc.Ease_Type_) float32
缓动_Bounce, 弹跳, 模拟小球落地弹跳.
p: 位置, 0.0f - 1.0f.
flag: 缓动类型, Ease_Type_.
func XEase_Circ ¶
func XEase_Circ(p float32, flag xcc.Ease_Type_) float32
缓动_Circ, 圆环, 好比绕过一个圆环.
p: 位置, 0.0f - 1.0f.
flag: 缓动类型, Ease_Type_.
func XEase_Cubic ¶
func XEase_Cubic(p float32, flag xcc.Ease_Type_) float32
缓动_Cubic, 三次方曲线, 圆弧.
p: 位置, 0.0f - 1.0f.
flag: 缓动类型, Ease_Type_.
func XEase_Elastic ¶
func XEase_Elastic(p float32, flag xcc.Ease_Type_) float32
缓动_Elastic, 强力回弹.
p: 位置, 0.0f - 1.0f.
flag: 缓动类型, Ease_Type_.
func XEase_Ex ¶
func XEase_Ex(pos float32, flag xcc.Ease_Flag_) float32
缓动_扩展, 全部缓动类型.
pos: 位置, 0.0f - 1.0f.
flag: 缓动标识, Ease_Flag_.
func XEase_Expo ¶
func XEase_Expo(p float32, flag xcc.Ease_Type_) float32
缓动_Expo, 突击曲线, 突然一下.
p: 位置, 0.0f - 1.0f.
flag: 缓动类型, Ease_Type_.
func XEase_Quad ¶
func XEase_Quad(p float32, flag xcc.Ease_Type_) float32
缓动_Quad, 二次方曲线.
p: 位置, 0.0f - 1.0f.
flag: 缓动类型, Ease_Type_.
func XEase_Quart ¶
func XEase_Quart(p float32, flag xcc.Ease_Type_) float32
缓动_Quart, 四次方曲线.
p: 位置, 0.0f - 1.0f.
flag: 缓动类型, Ease_Type_.
func XEase_Quint ¶
func XEase_Quint(p float32, flag xcc.Ease_Type_) float32
缓动_Quint, 五次方曲线.
p: 位置, 0.0f - 1.0f.
flag: 缓动类型, Ease_Type_.
func XEase_Sine ¶
func XEase_Sine(p float32, flag xcc.Ease_Type_) float32
缓动_Sine, 正弦曲线, 在末端变化.
p: 位置, 0.0f - 1.0f.
flag: 缓动类型, Ease_Type_.
func XEdit_AddChatBegin ¶
编辑框_添加气泡开始, 当前行开始.
hEle: 元素句柄.
hImageAvatar: 头像.
hImageBubble: 气泡背景.
nFlag: 标志, Chat_Flag_.
func XEdit_AddData ¶
func XEdit_AddData(hEle int, pData *Edit_Data_Copy_, styleTable []uint16, nStyleCount int) int
编辑框_添加数据.
hEle: 元素句柄.
pData: 数据结构.
styleTable: 样式表.
nStyleCount: 样式数量.
func XEdit_AddStyleEx ¶
func XEdit_AddStyleEx(hEle int, fontName string, fontSize int, fontStyle xcc.FontStyle_, color int, bColor bool) int
编辑框_添加样式扩展, 返回样式索引.
hEle: 元素句柄.
fontName: 字体名称.
fontSize: 字体大小.
fontStyle: 字体样式, FontStyle_.
color: 颜色.
bColor: 是否使用颜色.
func XEdit_AddTextUser ¶
XEdit_AddTextUser 编辑框_插入文本模拟用户操作, 自动刷新UI, 支持撤销/恢复.
@param hEle 元素句柄. @param pString 字符串. @return int
func XEdit_CreateEx ¶
编辑框_创建扩展, 返回元素句柄.
x: 元素x坐标.
y: 元素y坐标.
cx: 宽度.
cy: 高度.
nType: 类型, Edit_Type_.
hParent: 父为窗口句柄或元素句柄.
func XEdit_Delete ¶
编辑框_删除, 删除指定范围内容.
hEle: 元素句柄.
iStartRow: 起始行索引.
iStartCol: 起始行列索引.
iEndRow: 结束行索引.
iEndCol: 结束行列索引.
func XEdit_GetSelectText ¶
编辑框_取选择文本, 不包括非文本内容, 返回接收文本内容实际长度.
hEle: 元素句柄.
pOut: 接收返回文本内容.
nOutLen: 接收内存大小.
func XEdit_GetStyleInfo ¶
func XEdit_GetStyleInfo(hEle int, iStyle int, info *Edit_Style_Info_) bool
编辑框_取样式信息.
hEle: 元素句柄.
iStyle: 样式索引.
info: 返回样式信息.
func XEdit_ModifyStyle ¶
编辑框_修改样式.
hEle: 元素句柄.
iStyle: 样式索引.
hFont: 字体句柄.
color: ABGR颜色.
bColor: 是否使用颜色.
func XEdit_PosToRowCol ¶
XEdit_PosToRowCol 编辑框_转换位置, 转换位置点到行列.
@param hEle 元素句柄. @param iPos 位置点. @param pInfo 行列. @return int
func XEdit_SetBackFont ¶
编辑框_置后备字体, 置中文字体. 如果已设置, 当遇到中文字符时使用后备字体, 解决不支持中文的字体的问题
hEle: 元素句柄.
hFont: 字体.
func XEdit_SetCurPos ¶
XEdit_SetCurPos 编辑框_置当前位置.
@param hEle hEle: 元素句柄. @param iRow iRow: 行索引. @return int
func XEdit_SetRowHeightEx ¶
编辑框_置指定行高度, 类型为 Edit_Type_Richedit 支持指定不同行高.
hEle: 元素句柄.
iRow: 行索引.
nHeight: 高度.
func XEdit_SetSelect ¶
编辑框_置选择.
hEle: 元素句柄.
iStartRow: 起始行索引.
iStartCol: 起始行列索引.
iEndRow: 结束行索引.
iEndCol: 结束行列索引.
func XEdit_SetTextAlign ¶
func XEdit_SetTextAlign(hEle int, align xcc.Edit_TextAlign_Flag_) int
编辑框_置文本对齐, 单行模式下有效.
hEle: 元素句柄.
align: 对齐方式, Edit_TextAlign_Flag_.
func XEditor_AddExcludeDefVarKeyword ¶
代码编辑框_添加排除定义变量关键字, 排除定义变量的关键字, 用于排除定义变量, 因为定义变量禁用自动匹配; 此关键字不加入自动匹配,仅用于排除定义变量.
hEle: 元素句柄.
pKeyword: 字符串.
func XEditor_GetColor ¶
func XEditor_GetColor(hEle int, pInfo *Editor_Color_) int
代码编辑框_取颜色信息.
hEle: 元素句柄.
pInfo: 颜色信息结构体指针.
func XEditor_SetColor ¶
func XEditor_SetColor(hEle int, pInfo *Editor_Color_) int
代码编辑框_置颜色.
hEle: 元素句柄.
pInfo: 颜色信息结构体指针.
func XEle_AddBkFill ¶
func XEle_AddBkFill(hEle int, nState xcc.CombinedState, color int) int
元素_添加背景填充, 添加背景内容填充.
hEle: 元素句柄.
nState: 组合状态.
color: ABGR颜色.
func XEle_AddBkImage ¶
func XEle_AddBkImage(hEle int, nState xcc.CombinedState, hImage int) int
元素_添加背景图片, 添加背景内容图片.
hEle: 元素句柄.
nState: 组合状态.
hImage: 图片句柄.
func XEle_AdjustLayoutEx ¶
func XEle_AdjustLayoutEx(hEle int, nFlags xcc.AdjustLayout_, nAdjustNo uint32) int
元素_调整布局扩展.
hEle: 元素句柄.
nFlags: 调整标识.
nAdjustNo: 调整布局流水号, 可填0.
func XEle_EnableCanvas ¶
元素_启用画布, 启用或禁用背景画布; 如果禁用那么将绘制在父的画布之上, 也就是说他没有自己的画布.
hEle: 元素句柄.
bEnable: 是否启用.
func XEle_EnableEvent_XE_MOUSEWHEEL ¶
元素_启用事件_XE_MOUSEWHEEL, 启用接收鼠标滚动事件, 如果禁用那么事件会传递给父元素.
hEle: 元素句柄.
bEnable: 是否启用.
func XEle_EnableMouseThrough ¶
元素_启用鼠标穿透. 启用鼠标穿透, 如果启用, 那么该元素不能接收到鼠标事件, 但是他的子元素不受影响, 任然可以接收鼠标事件.
hEle: 元素句柄.
bEnable: 是否启用.
func XEle_EnableTransparentChannel ¶
元素_启用透明通道, 启用或关闭元素透明通道, 如果启用, 将强制设置元素背景不透明, 默认为启用, 此功能是为了兼容GDI不支持透明通道问题.
hEle: 元素句柄.
bEnable: 启用或关闭.
func XEle_GetContentSize ¶
元素_取内容大小.
hEle: 元素句柄.
bHorizon: 水平或垂直, 布局属性交换依赖.
cx: 宽度.
cy: 高度.
pSize: 返回大小.
func XEle_GetStateFlags ¶
func XEle_GetStateFlags(hEle int) xcc.CombinedState
元素_取状态, 获取组合状态.
hEle: 元素句柄.
func XEle_IsEnable_XE_MOUSEWHEEL ¶
元素_判断启用_XE_MOUSEWHEEL, 判断是否启用鼠标滚动事件, 如果禁用那么事件会发送给他的父元素.
hEle: 元素句柄.
func XEle_SetDragBorder ¶
func XEle_SetDragBorder(hEle int, nFlags xcc.Element_Position_) int
元素_置拖动边框.
hEle: 元素句柄.
nFlags: 边框位置组合, Element_Position_.
func XEle_SetDragBorderBindEle ¶
func XEle_SetDragBorderBindEle(hEle int, nFlags xcc.Element_Position_, hBindEle int, nSpace int) int
元素_置拖动边框绑定元素, 设置拖动边框绑定元素, 当拖动边框时, 自动调整绑定元素的大小.
hEle: 元素句柄.
nFlags: 边框位置标识, Element_Position_.
hBindEle: 绑定元素.
nSpace: 元素间隔大小.
func XEle_SetLockScroll ¶
元素_置锁定滚动, 设置锁定元素在滚动视图中跟随滚动, 如果设置TRUE将不跟随滚动.
hEle: 元素句柄.
bHorizon: 是否锁定水平滚动.
bVertical: 是否锁定垂直滚动.
func XEle_SetPosition ¶
func XEle_SetPosition(hEle int, x int, y int, bRedraw bool, nFlags xcc.AdjustLayout_, nAdjustNo uint32) int
元素_移动, 如果坐标未改变返回0, 如果大小改变返回2(触发XE_SIZE), 否则返回1.
hEle: 元素句柄.
x: X坐标.
y: Y坐标.
bRedraw: 是否重绘.
nFlags: 调整布局标识位: xcc.AdjustLayout_.
nAdjustNo: 调整布局流水号, 可填0.
func XEle_SetPositionLogic ¶
func XEle_SetPositionLogic(hEle int, x int, y int, bRedraw bool, nFlags xcc.AdjustLayout_, nAdjustNo uint32) int
元素_移动逻辑坐标, 移动元素坐标, 逻辑坐标, 包含滚动视图偏移. 如果坐标未改变返回0, 如果大小改变返回2(触发XE_SIZE), 否则返回1.
hEle: 元素句柄.
x: X坐标.
y: Y坐标.
bRedraw: 是否重绘.
nFlags: 调整布局标识位: xcc.AdjustLayout_.
nAdjustNo: 调整布局流水号, 可填0.
func XEle_SetRect ¶
func XEle_SetRect(hEle int, pRect *RECT, bRedraw bool, nFlags xcc.AdjustLayout_, nAdjustNo uint32) int
元素_置坐标, 如果返回0坐标没有改变, 如果大小改变返回2(触发XE_SIZE), 否则返回1(仅改变left,top,没有改变大小).
hEle: 元素句柄.
pRect: 坐标.
bRedraw: 是否重绘.
nFlags: 调整布局标识位: xcc.AdjustLayout_.
nAdjustNo: 调整布局流水号, 可填0.
func XEle_SetRectEx ¶
func XEle_SetRectEx(hEle int, x int, y int, cx int, cy int, bRedraw bool, nFlags xcc.AdjustLayout_, nAdjustNo uint32) int
元素_置坐标扩展, 如果坐标未改变返回0, 如果大小改变返回2(触发XE_SIZE), 否则返回1.
hEle: 元素句柄.
x: X坐标.
y: Y坐标.
cx: 宽度.
cy: 高度.
bRedraw: 是否重绘.
nFlags: 调整布局标识位: xcc.AdjustLayout_.
nAdjustNo: 调整布局流水号, 可填0.
func XEle_SetRectLogic ¶
func XEle_SetRectLogic(hEle int, pRect *RECT, bRedraw bool, nFlags xcc.AdjustLayout_, nAdjustNo uint32) int
元素_置逻辑坐标, 如果坐标未改变返回0, 如果大小改变返回2(触发XE_SIZE), 否则返回1.
hEle: 元素句柄.
pRect: 坐标.
bRedraw: 是否重绘.
nFlags: 调整布局标识位: xcc.AdjustLayout_ , 此参数将会传入XE_SIZE ,XE_ADJUSTLAYOUT 事件回调.
nAdjustNo: 调整布局流水号, 可填0.
func XEle_SetSize ¶
func XEle_SetSize(hEle int, nWidth int, nHeight int, bRedraw bool, nFlags xcc.AdjustLayout_, nAdjustNo uint32) int
元素_置大小.
hEle: 元素句柄.
nWidth: 宽度.
nHeight: 高度.
bRedraw: 是否重绘.
nFlags: 调整布局标识位: xcc.AdjustLayout_.
nAdjustNo: 调整布局流水号, 可填0.
func XEle_SetToolTipEx ¶
func XEle_SetToolTipEx(hEle int, pText string, nTextAlign xcc.TextFormatFlag_) int
元素_置工具提示扩展, 设置工具提示内容.
hEle: 元素句柄.
pText: 工具提示内容.
nTextAlign: 文本对齐方式, TextFormatFlag_, TextAlignFlag_, TextTrimming_.
func XFont_Create ¶
XFont_Create 字体_创建, 创建炫彩字体. 当字体句柄与元素关联后, 会自动释放.
@param size 字体大小,单位(pt,磅). @return int 返回字体句柄.
func XFont_CreateEx ¶
func XFont_CreateEx(pName string, size int, style xcc.FontStyle_) int
XFont_CreateEx 字体_创建扩展. 创建炫彩字体.
@param pName 字体名称. @param size 字体大小, 单位(pt,磅). @param style 字体样式, xcc.FontStyle_. @return int 返回字体句柄.
func XFont_CreateFromFile ¶
func XFont_CreateFromFile(pFontFile string, size int, style xcc.FontStyle_) int
XFont_CreateFromFile 字体_创建从文件. 创建字体从文件.
@param pFontFile 字体文件名. @param size 字体大小, 单位(pt,磅). @param style 字体样式, xcc.FontStyle_. @return int 返回字体句柄.
func XFont_CreateFromFont ¶
XFont_CreateFromFont 字体_创建从Font. 创建炫彩字体从GDI+字体(Font).
@param pFont GDI+字体指针(Font*). @return int 返回字体句柄.
func XFont_CreateFromHFONT ¶
XFont_CreateFromHFONT 字体_创建从HFONT. 创建炫彩字体从现有HFONT字体.
@param hFont 字体句柄. @return int 返回字体句柄.
func XFont_CreateFromMem ¶
func XFont_CreateFromMem(data []byte, fontSize int, style xcc.FontStyle_) int
XFont_CreateFromMem 字体_创建从内存. 创建炫彩字体从内存.
@param data 字体文件数据. @param fontSize 字体大小, 单位(pt,磅). @param style 字体样式, xcc.FontStyle_. @return int 返回字体句柄.
func XFont_CreateFromRes ¶
XFont_CreateFromRes 字体_创建从资源. 创建字体从资源.
@param id xx. @param pType xx. @param fontSize 字体大小, 单位(pt,磅). @param style 字体样式, xcc.FontStyle_. @param hModule xx. @return int 返回炫彩字体句柄.
func XFont_CreateLOGFONTW ¶
XFont_CreateLOGFONTW 字体_创建从LOGFONT. 创建炫彩字体.
@param pFontInfo 字体信息. @return int 返回字体句柄.
func XFont_Destroy ¶
XFont_Destroy 字体_销毁. 强制销毁炫彩字体, 谨慎使用, 建议使用 XFont_Release() 释放.
@param hFontX 字体句柄. @return int
func XFont_EnableAutoDestroy ¶
XFont_EnableAutoDestroy 字体_启用自动销毁. 是否自动销毁.
@param hFontX 字体句柄. @param bEnable 是否启用. @return int
func XFont_GetFontInfo ¶
func XFont_GetFontInfo(hFontX int, pInfo *Font_Info_) int
XFont_GetFontInfo 字体_取信息. 获取字体信息.
@param hFontX 字体句柄. @param pInfo 接收返回的字体信息. @return int
func XFont_GetLOGFONTW ¶
XFont_GetLOGFONTW 字体_取LOGFONTW. 获取字体LOGFONTW.
@param hFontX 字体句柄. @param hdc hdc句柄. @param pOut 接收返回信息. @return bool
func XFrameWnd_AddPane ¶
框架窗口_添加窗格, 添加窗格到框架窗口.
hWindow: 窗口句柄.
hPaneDest: 目标窗格.
hPaneNew: 当前窗格.
align: 对齐方式, Pane_Align_.
func XFrameWnd_Create ¶
func XFrameWnd_Create(x int, y int, cx int, cy int, pTitle string, hWndParent int, XCStyle xcc.Window_Style_) int
框架窗口_创建, 返回GUI库窗口资源句柄.
x: 窗口左上角x坐标.
y: 窗口左上角y坐标.
cx: 窗口宽度.
cy: 窗口高度.
pTitle: 窗口标题.
hWndParent: 父窗口.
XCStyle: GUI库窗口样式: Window_Style_.
func XFrameWnd_CreateEx ¶
func XFrameWnd_CreateEx(dwExStyle int, dwStyle int, lpClassName string, x int, y int, cx int, cy int, pTitle string, hWndParent int, XCStyle xcc.Window_Style_) int
框架窗口_创建扩展, 返回GUI库窗口资源句柄.
dwExStyle: 窗口扩展样式.
dwStyle: 窗口样式.
lpClassName: 窗口类名.
x: 窗口左上角x坐标.
y: 窗口左上角y坐标.
cx: 窗口宽度.
cy: 窗口高度.
pTitle: 窗口名.
hWndParent: 父窗口.
XCStyle: GUI库窗口样式: Window_Style_.
func XFrameWnd_GetDragFloatWndTopFlag ¶
func XFrameWnd_GetDragFloatWndTopFlag(hWindow int) xcc.FrameWnd_Cell_Type_
框架窗口_取拖动浮动窗格停留位置标识, 返回框架窗口单元格类型: xcc.FrameWnd_Cell_Type_.
hWindow: 窗口句柄.
func XFrameWnd_LoadLayoutFile ¶
框架窗口_加载布局信息文件, 加载布局信息文件.
hWindow: 窗口句柄.
aPaneList: 窗格句柄数组.
nPaneCount: 窗格数量.
pFileName: 文件名,如果文件名为空,将使用默认文件名frameWnd_layout.xml.
func XFrameWnd_SaveLayoutToFile ¶
框架窗口_保存布局到文件, 保存布局信息到文件.
hWindow: 窗口句柄.
pFileName: 文件名,如果文件名为空,将使用默认文件名frameWnd_layout.xml.
func XImage_EnableAutoDestroy ¶
图片_启用自动销毁, 启用或关闭自动销毁, 当与UI元素关联时有效.
hImage: 图片句柄.
bEnable: 启用自动销毁TRUE.
func XImage_LoadFileAdaptive ¶
func XImage_LoadFileAdaptive(pFileName string, leftSize int, topSize int, rightSize int, bottomSize int) int
图片_加载从文件自适应, 加载图片从文件, 自适应图片.
pFileName: 图片文件.
leftSize: 坐标.
topSize: 坐标.
rightSize: 坐标.
bottomSize: 坐标.
func XImage_LoadFileRect ¶
图片_加载从文件指定区域, 加载图片, 指定区位置及大小.
pFileName: 图片文件.
x: 坐标.
y: 坐标.
cx: 宽度.
cy: 高度.
func XImage_LoadFromExtractIcon ¶
图片_加载文件图标, 加载文件图标, 从一个EXE文件或DLL文件或图标文件; 例如:*.exe文件的图标.
pFileName: 文件名.
func XImage_LoadMemoryAdaptive ¶
func XImage_LoadMemoryAdaptive(pBuffer []byte, leftSize int, topSize int, rightSize int, bottomSize int) int
图片_加载从内存自适应, 加载流图片压缩包, 自适应图片(九宫格).
pBuffer: 图片数据.
leftSize: 坐标.
topSize: 坐标.
rightSize: 坐标.
bottomSize: 坐标.
func XImage_LoadMemoryRect ¶
图片_加载从内存指定区域, 加载流图片, 指定区位置及大小.
pBuffer: 图片数据.
x: 坐标.
y: 坐标.
cx: 宽度.
cy: 高度.
func XImage_LoadRes ¶
图片_加载从资源.
id: 资源ID.
pType: 资源类型.
bStretch: 是否拉伸图片.
hModule: 从指定模块加载, 例如:DLL, EXE; 如果为空, 从当前EXE加载.
func XImage_LoadResAdaptive ¶
func XImage_LoadResAdaptive(id int, pType string, leftSize int, topSize int, rightSize int, bottomSize, hModule int) int
图片_加载从资源自适应, 加载图片从资源, 自适应图片.
id: 资源ID.
pType: 资源类型.
leftSize: 坐标.
topSize: 坐标.
rightSize: 坐标.
bottomSize: 坐标.
hModule: 从指定模块加载, 例如:DLL, EXE; 如果为空, 从当前EXE加载.
func XImage_LoadZip ¶
图片_加载从ZIP, 加载图片从ZIP压缩包.
pZipFileName: ZIP压缩包文件名.
pFileName: 图片文件名.
pPassword: ZIP压缩包密码.
func XImage_LoadZipAdaptive ¶
func XImage_LoadZipAdaptive(pZipFileName string, pFileName string, pPassword string, x1 int, x2 int, y1 int, y2 int) int
图片_加载从ZIP自适应, 加载图片从ZIP压缩包, 自适应图片.
pZipFileName: ZIP压缩包文件名.
pFileName: 图片文件名.
pPassword: ZIP压缩包密码.
x1: 坐标.
x2: 坐标.
y1: 坐标.
y2: 坐标.
func XImage_LoadZipRect ¶
func XImage_LoadZipRect(pZipFileName string, pFileName string, pPassword string, x int, y int, cx int, cy int) int
图片_加载从ZIP指定区域, 加载ZIP图片, 指定区位置及大小.
pZipFileName: ZIP文件.
pFileName: 图片名称.
pPassword: 密码.
x: 坐标.
y: 坐标.
cx: 宽度.
cy: 高度.
func XImage_SetDrawType ¶
func XImage_SetDrawType(hImage int, nType xcc.Image_Draw_Type_) bool
图片_置绘制类型, 设置图片绘制类型.
hImage: 图片句柄.
nType: 图片绘制类型, Image_Draw_Type_.
func XImage_SetDrawTypeAdaptive ¶
func XImage_SetDrawTypeAdaptive(hImage int, leftSize int, topSize int, rightSize int, bottomSize int) bool
图片_置绘制类型自适应, 设置图片自适应(九宫格).
hImage: 图片句柄.
leftSize: 坐标.
topSize: 坐标.
rightSize: 坐标.
bottomSize: 坐标.
func XImage_SetTranColorEx ¶
图片_置透明色扩展, 指定图片透明颜色及透明度.
hImage: 图片句柄.
color: ABGR颜色.
tranColor: 透明色的透明度.
func XInitXCGUI ¶
XInitXCGUI 炫彩_初始化.
@Description 在调用本函数之前请先调用 xc.LoadXCGUI(). @param bD2D 是否启用D2D. @return bool
Example ¶
package main import ( "gitee.com/wengo/windows_gui/xc" "gitee.com/wengo/windows_gui/xcc" ) func main() { // 可自定义xcgui.dll的路径, 如无需自定义, 则删掉这句代码. /* err := xc.SetXcguiPath(`C:\Users\Administrator\Desktop\XCGUI.dll`) if err != nil { panic(err) }*/ xc.LoadXCGUI() xc.XInitXCGUI(true) hWindow := xc.XWnd_Create(0, 0, 500, 500, "", 0, xcc.Window_Style_Default) xc.XWnd_ShowWindow(hWindow, xcc.SW_SHOW) xc.XRunXCGUI() xc.XExitXCGUI() }
Output:
func XLayoutBox_SetAlignBaseline ¶
func XLayoutBox_SetAlignBaseline(hLayoutBox int, nAlign xcc.Layout_Align_Axis_) int
布局盒子_置对齐基线.
hLayoutBox: 窗口或布局元素或布局框架句柄.
nAlign: 对齐方式: xcc.Layout_Align_Axis_.
func XLayoutBox_SetAlignH ¶
func XLayoutBox_SetAlignH(hLayoutBox int, nAlign xcc.Layout_Align_) int
XLayoutBox_SetAlignH 布局盒子_置水平对齐.
@param hLayoutBox 窗口或布局元素或布局框架句柄. @param nAlign 对齐方式: xcc.Layout_Align_. @return int
func XLayoutBox_SetAlignV ¶
func XLayoutBox_SetAlignV(hLayoutBox int, nAlign xcc.Layout_Align_) int
XLayoutBox_SetAlignV 布局盒子_置垂直对齐.
@param hLayoutBox 窗口或布局元素或布局框架句柄. @param nAlign 对齐方式: xcc.Layout_Align_. @return int
func XLayout_Create ¶
布局_创建, 创建布局元素, 返回元素句柄.
x: 元素x坐标.
y: 元素y坐标.
cx: 宽度.
cy: 高度.
hParent: 父为窗口句柄或元素句柄.
func XListBox_Create ¶
列表框_创建, 创建列表框元素, 返回元素句柄.
x: 元素x坐标.
y: 元素y坐标.
cx: 宽度.
cy: 高度.
hParent: 父是窗口资源句柄或UI元素资源句柄. 如果是窗口资源句柄将被添加到窗口, 如果是元素资源句柄将被添加到元素.
func XListBox_GetItemIndexFromHXCGUI ¶
列表框_取所在行索引, 获取当前对象所在模板实例, 属于列表中哪一个项(行). 成功返回项索引, 否则返回XC_ID_ERROR.
hEle: 元素句柄.
hXCGUI: 对象句柄, UI元素句柄或形状对象句柄.
func XListBox_GetItemInfo ¶
func XListBox_GetItemInfo(hEle int, iItem int, pItem *ListBox_Item_Info_) bool
列表框_取项背景信息, 获取项信息.
hEle: 元素句柄.
iItem: 项索引.
pItem: 项信息.
func XListBox_GetSelectAll ¶
列表框_取全部选择, 获取所有选择项, 返回接收数量.
hEle: 元素句柄.
pArray: 数组缓冲区.
nArraySize: 数组大小.
func XListBox_GetTemplateObject ¶
列表框_取模板对象, 通过模板项ID, 获取实例化模板项ID对应的对象句柄, 成功返回对象句柄, 否则返回NULL.
hEle: 元素句柄.
iItem: 项索引.
nTempItemID: 模板项ID.
func XListBox_SetDrawItemBkFlags ¶
func XListBox_SetDrawItemBkFlags(hEle int, nFlags xcc.List_DrawItemBk_Flag_) int
列表框_置绘制项背景标志, 设置是否绘制指定状态下项的背景.
hEle: 元素句柄.
nFlags: 标志位, List_DrawItemBk_Flag_.
func XListBox_SetItemInfo ¶
func XListBox_SetItemInfo(hEle int, iItem int, pItem *ListBox_Item_Info_) bool
列表框_置项信息.
hEle: 元素句柄.
iItem: 项索引.
pItem: 项信息.
func XListBox_Sort ¶
列表框_排序.
hEle: 元素句柄.
iColumnAdapter: 需要排序的数据在数据适配器中所属列索引.
bAscending: 升序(TRUE)或降序(FALSE).
func XListView_Create ¶
列表视_创建, 返回元素句柄.
x: 元素x坐标.
y: 元素y坐标.
cx: 宽度.
cy: 高度.
hParent: 父是窗口资源句柄或UI元素资源句柄. 如果是窗口资源句柄将被添加到窗口, 如果是元素资源句柄将被添加到元素.
func XListView_ExpandGroup ¶
列表视_展开组, 成功返回TRUE否则返回FALSE, 如果状态没有改变返回FALSE.
hEle: 元素句柄.
iGroup: 组索引.
bExpand: 是否展开.
func XListView_GetItemIDFromHXCGUI ¶
列表视_取对象所在项, 获取当前对象所在模板实例, 属于列表视中哪一个项.
hEle: 元素句柄.
hXCGUI: 对象句柄, UI元素句柄或形状对象句柄.
piGroup: 接收组索引.
piItem: 接收项索引.
func XListView_GetSelectAll ¶
列表视_取选择项全部, 获取选择的项ID, 返回接收项数量.
hEle: 元素句柄.
pArray: 数组.
nArraySize: 数组大小.
func XListView_GetTemplateObject ¶
列表视_取模板对象, 通过模板项ID, 获取实例化模板项ID对应的对象句柄.
hEle: 元素句柄.
iGroup: 组索引.
iItem: 项索引.
nTempItemID: 模板项ID.
func XListView_GetTemplateObjectGroup ¶
列表视_取模板对象组, 通过模板项ID, 获取实例化模板项ID对应的对象句柄.
hEle: 元素句柄.
iGroup: 组索引.
nTempItemID: 模板项ID.
func XListView_GetVisibleItemRange ¶
func XListView_GetVisibleItemRange(hEle int, piGroup1 *int, piGroup2 *int, piStartGroup *int, piStartItem *int, piEndGroup *int, piEndItem *int) int
列表视_取可视项范围, 获取当前可见项范围.
hEle: 元素句柄.
piGroup1: 可视开始组.
piGroup2: 可视结束组.
piStartGroup: 可视开始组.
piStartItem: 可视开始项.
piEndGroup: 可视结束组.
piEndItem: 可视结束项.
func XListView_Group_AddItemImageEx ¶
列表视_组添加项图片扩展, 返回组索引.
hEle: 元素句柄.
pName: 字段称.
hImage: 图片句柄.
iPos: 插入位置.
func XListView_Group_AddItemTextEx ¶
列表视_组添加项文本扩展, 返回组索引.
hEle: 元素句柄.
pName: 字段称.
pValue: 值.
iPos: 插入位置.
func XListView_HitTest ¶
列表视_测试点击项, 检查坐标点所在项.
hEle: 元素句柄.
pPt: 坐标点.
pOutGroup: 接收组索引.
pOutItem: 接收项索引.
func XListView_HitTestOffset ¶
列表视_测试点击项扩展, 检查坐标点所在项, 自动添加滚动视图偏移量.
hEle: 元素句柄.
pPt: 坐标点.
pOutGroup: 接收做索引.
pOutItem: 接收项索引.
func XListView_Item_AddItemImage ¶
列表视_项添加图片, 返回项索引.
hEle: 元素句柄.
iGroup: 组索引.
hImage: 图片句柄.
iPos: 插入位置, -1添加到末尾.
func XListView_Item_AddItemImageEx ¶
列表视_项添加图片扩展, 返回项索引.
hEle: 元素句柄.
iGroup: 组索引.
pName: 字段名.
hImage: 图片句柄.
iPos: 插入位置, -1添加到末尾.
func XListView_Item_AddItemText ¶
列表视_项添加文本, 返回项索引.
hEle: 元素句柄.
iGroup: 组索引.
pValue: 值.
iPos: 插入位置, -1添加到末尾.
func XListView_Item_AddItemTextEx ¶
列表视_项添加文本扩展, 返回项索引.
hEle: 元素句柄.
iGroup: 组索引.
pName: 字段名.
pValue: 值.
iPos: 插入位置, -1添加到末尾.
func XListView_Item_GetImageEx ¶
列表视_项获取图片扩展, 返回图片句柄.
hEle: 元素句柄.
iGroup: 组索引.
iItem: 项索引.
pName: 字段称.
func XListView_Item_SetImage ¶
列表视_项置图片.
hEle: 元素句柄.
iGroup: 组索引.
iItem: 项索引.
iColumn: 列索引.
hImage: 图片句柄.
func XListView_Item_SetImageEx ¶
列表视_项置图片扩展.
hEle: 元素句柄.
iGroup: 组索引.
iItem: 项索引.
pName: 列名称.
hImage: 图片句柄.
func XListView_Item_SetText ¶
列表视_项置文本.
hEle: 元素句柄.
iGroup: 组索引.
iItem: 项索引.
iColumn: 列索引.
pValue: 值.
func XListView_Item_SetTextEx ¶
列表视_项置文本扩展.
hEle: 元素句柄.
iGroup: 组索引.
iItem: 项索引.
pName: 字段名.
pValue: 值.
func XListView_RefreshItem ¶
列表视_刷新指定项, 刷新指定项模板, 以便更新UI.
hEle: 元素句柄.
iGroup: 组索引.
iItem: 项索引, 如果为-1, 代表为组.
func XListView_SetDrawItemBkFlags ¶
func XListView_SetDrawItemBkFlags(hEle int, nFlags xcc.List_DrawItemBk_Flag_) int
列表视_置项背景绘制标志, 置是否绘制指定状态下项的背景.
hEle: 元素句柄.
nFlags: 标志位: List_DrawItemBk_Flag_.
func XList_Create ¶
列表_创建, 创建列表元素, 返回元素句柄.
x: 元素x坐标.
y: 元素y坐标.
cx: 宽度.
cy: 高度.
hParent: 父是窗口资源句柄或UI元素资源句柄. 如果是窗口资源句柄将被添加到窗口, 如果是元素资源句柄将被添加到元素.
func XList_GetHeaderItemIndexFromHXCGUI ¶
列表_取列表头对象所在行, 列表头, 获取当前对象所在模板实例, 属于列表头中哪一个项. 成功返回项索引, 否则返回XC_ID_ERROR.
hEle: 元素句柄.
hXCGUI: 对象句柄.
func XList_GetHeaderTemplateObject ¶
列表_取列表头模板对象, 列表头, 通过模板项ID, 获取实例化模板项ID对应的对象句柄.
hEle: 元素句柄.
iItem: 列表头项ID.
nTempItemID: 模板项ID.
func XList_GetItemIndexFromHXCGUI ¶
列表_取对象所在行, 获取当前对象所在模板实例, 属于列表中哪一个项. 成功返回项索引, 否则返回XC_ID_ERROR.
hEle: 元素句柄.
hXCGUI: 对象句柄, UI元素句柄或形状对象句柄.
func XList_GetTemplateObject ¶
列表_取项模板对象, 通过模板项ID, 获取实例化模板项ID对应的对象句柄.
hEle: 元素句柄.
iItem: 项索引.
iSubItem: 子项索引.
nTempItemID: 模板项itemID.
func XList_HitTestOffset ¶
列表_测试点击项扩展, 检查坐标点所在项, 自动添加滚动视图偏移量.
hEle: 元素句柄.
pPt: 坐标点.
piItem: 项索引.
piSubItem: 子项索引.
func XList_SetDrawItemBkFlags ¶
func XList_SetDrawItemBkFlags(hEle int, nFlags xcc.List_DrawItemBk_Flag_) int
列表_置绘制项背景标志, 设置是否绘制指定状态下项的背景.
hEle: 元素句柄.
nFlags: 标志位, List_DrawItemBk_Flag_.
func XList_SetSort ¶
列表_置排序, 设置排序属性.
hEle: 元素句柄.
iColumn: 列索引.
iColumnAdapter: 需要排序的数据在数据适配器中的列索引.
bEnable: 是否启用排序功能.
func XMenuBar_Create ¶
菜单条_创建, 创建菜单条元素; 如果指定了父为窗口, 默认调用XWnd_AddMenuBar()函数, 将菜单条添加到窗口非客户区. 返回元素句柄.
x: 元素x坐标.
y: 元素y坐标.
cx: 宽度.
cy: 高度.
hParent: 父是窗口资源句柄或UI元素资源句柄. 如果是窗口资源句柄将被添加到窗口, 如果是元素资源句柄将被添加到元素.
func XMenu_AddItem ¶
菜单_添加项, 添加菜单项.
hMenu: 菜单句柄.
nID: 项ID.
pText: 文本内容.
nParentID: 父项ID.
nFlags: 标识, Menu_Item_Flag_.
func XMenu_AddItemIcon ¶
func XMenu_AddItemIcon(hMenu int, nID int, pText string, nParentID int, hIcon int, nFlags xcc.Menu_Item_Flag_) int
菜单_添加项图标.
hMenu: 菜单句柄.
nID: 项ID.
pText: 文本内容.
nParentID: 父项ID.
hIcon: 菜单项图标句柄.
nFlags: 标识, Menu_Item_Flag_.
func XMenu_EnableDrawBackground ¶
菜单_启用用户绘制背景, 是否有用户绘制菜单背景, 如果启用XWM_MENU_DRAW_BACKGROUND和XE_MENU_DRAW_BACKGROUND事件有效.
hMenu: 菜单句柄.
bEnable: 是否启用.
func XMenu_EnableDrawItem ¶
菜单_启用用户绘制项, 是否有用户绘制菜单项, 如果启用XWM_MENU_DRAWITEM和XE_MENU_DRAWITEM事件有效.
hMenu: 菜单句柄.
bEnable: 是否启用.
func XMenu_InsertItem ¶
func XMenu_InsertItem(hMenu int, nID int, pText string, nFlags xcc.Menu_Item_Flag_, insertID int) int
菜单_插入项.
hMenu: 菜单句柄.
nID: 项ID.
pText: 文本内容.
nFlags: 标识, Menu_Item_Flag_.
insertID: 插入位置ID.
func XMenu_InsertItemIcon ¶
func XMenu_InsertItemIcon(hMenu int, nID int, pText string, hIcon int, nFlags xcc.Menu_Item_Flag_, insertID int) int
菜单_插入项图标.
hMenu: 菜单句柄.
nID: 项ID.
pText: 文本内容.
hIcon: 菜单项图标句柄.
nFlags: 标识, Menu_Item_Flag_.
insertID: 插入位置ID.
func XMenu_Popup ¶
func XMenu_Popup(hMenu int, hParentWnd int, x int, y int, hParentEle int, nPosition xcc.Menu_Popup_Position_) bool
菜单_弹出.
hMenu: 菜单句柄.
hParentWnd: 父窗口句柄.
x: x坐标.
y: y坐标.
hParentEle: 父元素句柄, 如果该值不为NULL, hParentEle元素将接收菜单消息事件, 否则将由hParentWnd窗口接收菜单的消息事件.
nPosition: 弹出位置, Menu_Popup_Position_.
func XMenu_SetBorderSize ¶
菜单_置边框大小, 设置弹出菜单窗口边框大小.
hMenu: 菜单句柄.
nLeft: 边大小.
nTop: 边大小.
nRight: 边大小.
nBottom: 边大小.
func XMenu_SetItemWidth ¶
菜单_置项宽度, 此宽度为文本显示区域宽度, 不包含侧边条和与文本间隔.
hMenu: 菜单句柄.
nID: 项ID.
nWidth: 指定文本区域宽度.
func XModalWnd_Attach ¶
func XModalWnd_Attach(hWnd int, XCStyle xcc.Window_Style_) int
模态窗口_附加窗口, 返回窗口资源句柄.
hWnd: 要附加的外部窗口句柄.
XCStyle: 炫彩窗口样式: Window_Style_.
func XModalWnd_Create ¶
func XModalWnd_Create(nWidth int, nHeight int, pTitle string, hWndParent int, XCStyle xcc.Window_Style_) int
模态窗口_创建, 创建模态窗口; 当模态窗口关闭时, 会自动销毁模态窗口资源句柄.
nWidth: 宽度.
nHeight: 高度.
pTitle: 窗口标题内容.
hWndParent: 父窗口句柄.
XCStyle: 炫彩窗口样式: Window_Style_.
func XModalWnd_CreateEx ¶
func XModalWnd_CreateEx(dwExStyle int, dwStyle int, lpClassName string, x int, y int, cx int, cy int, pTitle string, hWndParent int, XCStyle xcc.Window_Style_) int
模态窗口_创建扩展, 创建模态窗口, 增强功能.
dwExStyle: 窗口扩展样式.
dwStyle: 窗口样式.
lpClassName: 窗口类名.
x: 窗口左上角x坐标.
y: 窗口左上角y坐标.
cx: 窗口宽度.
cy: 窗口高度.
pTitle: 窗口名.
hWndParent: 父窗口.
XCStyle: GUI库窗口样式: Window_Style_.
func XModalWnd_DoModal ¶
func XModalWnd_DoModal(hWindow int) xcc.MessageBox_Flag_
模态窗口_启动, 启动显示模态窗口, 当窗口关闭时返回: MessageBox_Flag_Ok: 点击确定按钮退出, MessageBox_Flag_Cancel: 点击取消按钮退出, MessageBox_Flag_Other: 其他方式退出.
hWindow: 模态窗口句柄.
func XModalWnd_EndModal ¶
func XModalWnd_EndModal(hWindow int, nResult xcc.MessageBox_Flag_) int
模态窗口_结束, 结束模态窗口.
hWindow: 窗口句柄.
nResult: 用作XModalWnd_DoModal()的返回值. MessageBox_Flag_Ok: 点击确定按钮退出, MessageBox_Flag_Cancel: 点击取消按钮退出, MessageBox_Flag_Other: 其他方式退出.
func XMonthCal_Create ¶
月历_创建, 创建日期时间元素, 返回元素句柄.
x: x坐标.
y: y坐标.
cx: 宽度.
cy: 高度.
hParent: 父为窗口句柄或元素句柄.
func XMonthCal_GetSelDate ¶
月历_取选择日期, 获取月历选中的年月日.
hEle: 元素句柄.
pnYear: 年.[INT.
pnMonth: 月.[INT.
pnDay: 日.[INT.
func XMonthCal_GetToday ¶
月历_取当前日期, 获取月历当前年月日.
hEle: 元素句柄.
pnYear: 年.[INT.
pnMonth: 月.[INT.
pnDay: 日.[INT.
func XMsg_Create ¶
func XMsg_Create(pTitle, pText string, nFlags xcc.MessageBox_Flag_, hWndParent int, XCStyle xcc.Window_Style_) int
XMsg_Create 消息框_创建, 此窗口是一个模态窗口, 弹出窗口请调用 XModalWnd_DoModal().
@param pTitle 标题. @param pText 内容文本. @param nFlags 标识: xcc.MessageBox_Flag_. @param hWndParent 父窗口句柄(真实的窗口句柄). @param XCStyle xcc.Window_Style_. @return int 返回消息框窗口句柄.
func XMsg_CreateEx ¶
func XMsg_CreateEx(dwExStyle int, dwStyle int, lpClassName, pTitle, pText string, nFlags xcc.MessageBox_Flag_, hWndParent int, XCStyle xcc.Window_Style_) int
XMsg_CreateEx 消息框_创建扩展, 此窗口是一个模态窗口, 弹出窗口请调用 XModalWnd_DoModal().
@param dwExStyle 窗口扩展样式. @param dwStyle 窗口样式. @param lpClassName 窗口类名. @param pTitle 标题. @param pText 内容文本. @param nFlags 标识: xcc.MessageBox_Flag_. @param hWndParent 父窗口句柄(真实的窗口句柄). @param XCStyle xcc.Window_Style_. @return int 消息框窗口句柄.
func XNotifyMsg_Popup ¶
func XNotifyMsg_Popup(position xcc.Position_Flag_, pTitle, pText string, hIcon int, skin xcc.NotifyMsg_Skin_) int
通知消息_弹出, 未实现, 预留接口.
position: 位置, Position_Flag_.
pTitle: 标题.
pText: 内容.
hIcon: 图标.
skin: 外观类型, NotifyMsg_Skin_.
func XNotifyMsg_PopupEx ¶
func XNotifyMsg_PopupEx(position xcc.Position_Flag_, pTitle, pText string, hIcon int, skin xcc.NotifyMsg_Skin_, bBtnClose, bAutoClose bool, nWidth, nHeight int) int
通知消息_弹出扩展, 未实现, 预留接口.
position: 位置, Position_Flag_.
pTitle: 标题.
pText: 内容.
hIcon: 图标.
skin: 外观类型, NotifyMsg_Skin_.
bBtnClose: 是否启用关闭按钮.
bAutoClose: 是否自动关闭.
nWidth: 自定义宽度, -1(使用默认值).
nHeight: 自定义高度, -1(使用默认值).
func XNotifyMsg_SetBorderSize ¶
通知消息_置边大小, 设置通知消息面板边大小.
hWindow: 通知消息所属窗口句柄, 如果未指定那么认为是桌面通知消息.
left: 左边.
top: 顶边.
right: 右边.
bottom: 底边.
func XNotifyMsg_SetParentMargin ¶
通知消息_置父边距 设置通知消息与父对象的四边间隔.
hWindow: 通知消息所属窗口句柄, 如果未指定那么认为是桌面通知消息.
left: 左侧间隔, 未实现, 预留功能.
top: 顶部间隔.
right: 右侧间隔.
bottom: 底部间隔, 未实现, 预留功能.
func XNotifyMsg_WindowPopup ¶
func XNotifyMsg_WindowPopup(hWindow int, position xcc.Position_Flag_, pTitle, pText string, hIcon int, skin xcc.NotifyMsg_Skin_) int
通知消息_窗口中弹出, 使用基础元素作为面板, 弹出一个通知消息, 返回元素句柄, 通过此句柄可对其操作.
hWindow: 窗口句柄.
position: 位置, Position_Flag_.
pTitle: 标题.
pText: 内容.
hIcon: 图标.
skin: 外观类型, NotifyMsg_Skin_.
func XNotifyMsg_WindowPopupEx ¶
func XNotifyMsg_WindowPopupEx(hWindow int, position xcc.Position_Flag_, pTitle, pText string, hIcon int, skin xcc.NotifyMsg_Skin_, bBtnClose, bAutoClose bool, nWidth, nHeight int) int
通知消息_窗口中弹出扩展, 使用基础元素作为面板, 弹出一个通知消息, 返回元素句柄, 通过此句柄可对其操作.
hWindow: 窗口句柄.
position: 位置, Position_Flag_.
pTitle: 标题.
pText: 内容.
hIcon: 图标.
skin: 外观类型, NotifyMsg_Skin_.
bBtnClose: 是否启用关闭按钮.
bAutoClose: 是否自动关闭.
nWidth: 自定义宽度, -1(使用默认值).
nHeight: 自定义高度, -1(使用默认值).
func XObj_GetType ¶
func XObj_GetType(hXCGUI int) xcc.XC_OBJECT_TYPE
炫彩对象_取类型, 获取对象最终类型, 返回对象类型: XC_.
hXCGUI: 对象句柄.
func XObj_GetTypeBase ¶
炫彩对象_取基础类型, 获取对象的基础类型, 返回对象类型, 以下类型之一: XC_ERROR, XC_WINDOW, XC_ELE, XC_SHAPE, XC_ADAPTER.
hXCGUI: 对象句柄.
func XObj_GetTypeEx ¶
func XObj_GetTypeEx(hXCGUI int) xcc.XC_OBJECT_TYPE_EX
炫彩对象_取类型扩展, 获取对象扩展类型, 返回对象扩展类型: button_type_ , element_type_ , xc_ex_error.
hXCGUI: 对象句柄.
func XObj_SetTypeEx ¶
func XObj_SetTypeEx(hXCGUI int, nType xcc.XC_OBJECT_TYPE_EX) int
炫彩对象_置类型扩展, 如果是按钮, 请使用按钮的增强接口 XBtn_SetTypeEx().
hXCGUI: 对象句柄.
nType: 对象扩展类型: button_type_ , element_type_ , xc_ex_error.
func XPane_GetState ¶
func XPane_GetState(hEle int) xcc.Pane_State_
窗格_取状态, 获取窗格停靠状态, 返回: Pane_State_.
hEle: 元素句柄.
func XPane_HidePane ¶
XPane_HidePane 窗格_隐藏.
@param hEle 元素句柄. @param bGroupActivate 当为窗格组成员时, 延迟处理窗格组成员激活的切换. @return int
func XPane_ShowPane ¶
XPane_ShowPane 窗格_显示.
@param hEle 元素句柄. @param bGroupActivate 如果是窗格组成员, 那么窗格组切换当前窗格为显示状态. @return int
func XProgBar_Create ¶
进度条_创建, 创建进度条元素, 返回元素句柄.
x: 元素x坐标.
y: 元素y坐标.
cx: 宽度.
cy: 高度.
hParent: 父是窗口资源句柄或UI元素资源句柄.如果是窗口资源句柄将被添加到窗口.
func XProgBar_EnableStretch ¶
进度条_启用缩放, 缩放进度贴图为当前进度区域(当前进度所显示区域), 否则为整体100进度区域.
hEle: 元素句柄.
bStretch: 缩放.
func XRes_SetLoadFileCallback ¶
func XRes_SetLoadFileCallback(pFun interface{}) int
资源_置文件加载回调, 设置文件加载回调函数.
pFun: 回调函数.
func XSBar_Create ¶
滚动条_创建, 创建滚动条元素, 返回元素句柄.
x: 元素x坐标.
y: 元素y坐标.
cx: 宽度.
cy: 高度.
hParent: 父是窗口资源句柄或UI元素资源句柄. 如果是窗口资源句柄将被添加到窗口, 如果是元素资源句柄将被添加到元素.
func XSView_Create ¶
滚动视_创建, 创建滚动视图元素, 返回元素句柄.
x: 元素x坐标.
y: 元素y坐标.
cx: 宽度.
cy: 高度.
hParent: 父是窗口资源句柄或UI元素资源句柄. 如果是窗口资源句柄将被添加到窗口, 如果是元素资源句柄将被添加到元素.
func XSView_SetLineSize ¶
滚动视_置滚动单位大小, 设置滚动单位大小, 如果内容改变返回TRUE否则返回FALSE.
hEle: 元素句柄.
nWidth: 宽度.
nHeight: 高度.
func XShapeGif_Create ¶
形状GIF_创建, 创建形状对象GIF, 成功返回形状对象GIF句柄, 否则返回NULL.
x: X坐标.
y: Y坐标.
cx: 宽度.
cy: 高度.
hParent: 父对象句柄.
func XShapeGroupBox_Create ¶
形状组框_创建, 创建组框形状对象, 返回句柄.
x: X坐标.
y: Y坐标.
cx: 宽度.
cy: 高度.
pName: 名称.
hParent: 父对象句柄.
func XShapeGroupBox_GetTextOffset ¶
形状组框_取文本偏移, 获取文本偏移量.
hShape: 形状对象句柄.
pOffsetX: X坐标偏移量.
pOffsetY: Y坐标偏移量.
func XShapeGroupBox_SetTextOffset ¶
形状组框_置文本偏移, 设置文本偏移量.
hShape: 形状对象句柄.
offsetX: 水平偏移.
offsetY: 垂直偏移.
func XShapePic_Create ¶
形状图片_创建, 创建形状对象-图片, 成功返回图片对象句柄, 否则返回NULL.
x: x坐标.
y: y坐标.
cx: 宽度.
cy: 高度.
hParent: 父对象句柄.
func XShapeText_Create ¶
形状文本_创建, 创建形状对象文本.
x: X坐标.
y: Y坐标.
cx: 宽度.
cy: 高度.
pName: 文本内容.
hParent: 父对象句柄.
func XShapeText_SetTextAlign ¶
func XShapeText_SetTextAlign(hTextBlock int, align xcc.TextFormatFlag_) int
形状文本_置文本对齐.
hTextBlock: 形状对象文本句柄.
align: 文本对齐方式, TextFormatFlag_, TextAlignFlag_, TextTrimming_.
func XShape_GetContentSize ¶
形状_取内容大小 ,仅计算有效内容, 填充父, 权重依赖父级所以无法计算.
hShape: 形状对象句柄.
pSize: 接收返回内容大小值.
func XSliderBar_Create ¶
滑动条_创建, 创建滑动条元素, 返回元素句柄.
x: 元素x坐标.
y: 元素y坐标.
cx: 宽度.
cy: 高度.
hParent: 父是窗口资源句柄或UI元素资源句柄. 如果是窗口资源句柄将被添加到窗口, 如果是元素资源句柄将被添加到元素.
func XSvg_GetRotate ¶
SVG_取旋转.
hSvg: SVG句柄.
pAngle: 返回角度.
pX: 返回 旋转中心点X.
pY: 返回 旋转中心点Y.
pbOffset: 返回TRUE: 旋转中心点相对于自身中心偏移, FALSE:使用绝对坐标.
func XSvg_SetRotate ¶
SVG_置旋转.
hSvg: SVG句柄.
angle: 角度.
x: 旋转中心点X.
y: 旋转中心点Y.
bOffset: TRUE: 旋转中心点相对于自身中心偏移, FALSE:使用绝对坐标.
func XSvg_SetUserFillColor ¶
SVG_置用户填充颜色, 用户颜色将覆盖默认样式.
hSvg: SVG句柄.
color: 颜色, AGBR颜色.
bEnable: 是否有效.
func XSvg_SetUserStrokeColor ¶
SVG_置用户笔触颜色, 用户颜色将覆盖默认样式.
hSvg: SVG句柄.
color: 颜色, AGBR颜色.
strokeWidth: 笔触宽度.
bEnable: 是否有效.
func XTabBar_Create ¶
TAB条_创建, 创建tabBar元素, 返回元素句柄.
x: 元素x坐标.
y: 元素y坐标.
cx: 宽度.
cy: 高度.
hParent: 父是窗口资源句柄或UI元素资源句柄. 如果是窗口资源句柄将被添加到窗口, 如果是元素资源句柄将被添加到元素.
func XTabBar_GetindexByEle ¶
TAB条_取标签位置索引, 获取标签按钮位置索引, 成功返回索引值, 否则返回 XC_ID_ERROR.
hEle: 元素句柄.
hLabel: 标签按钮句柄.
func XTabBar_SetPadding ¶
TAB条_置边距, 设置内容与边框的间隔大小.
hEle: 元素句柄.
left: 左边间隔大小.
top: 上边间隔大小.
right: 右边间隔大小.
bottom: 下边间隔大小.
func XTable_SetItemBkColor ¶
表格_置项背景色.
hShape: 形状对象句柄.
iRow: 行索引.
iCol: 列索引.
color: 颜色.
bColor: 是否使用.
func XTable_SetItemLine ¶
func XTable_SetItemLine(hShape int, iRow1 int, iCol1 int, iRow2 int, iCol2 int, nFlag int, color int) int
表格_置项线.
hShape: 形状对象句柄.
iRow1: 行索引1.
iCol1: 列索引1.
iRow2: 行索引2.
iCol2: 列索引2.
nFlag: 标识, Table_Line_Flag_, 暂时没有, 填0.
color: 颜色.
func XTable_SetItemPadding ¶
func XTable_SetItemPadding(hShape int, leftSize int, topSize int, rightSize int, bottomSize int) int
表格_置项内填充.
hShape: 形状对象句柄.
leftSize: 内填充大小.
topSize: 内填充大小.
rightSize: 内填充大小.
bottomSize: 内填充大小.
func XTable_SetItemTextAlign ¶
表格_置项文本对齐.
hShape: 形状对象句柄.
iRow: 行索引.
iCol: 列索引.
nAlign: 对齐方式, TextFormatFlag_, TextAlignFlag_, TextTrimming_.
func XTable_SetItemTextColor ¶
表格_置项文本色.
hShape: 形状对象句柄.
iRow: 行索引.
iCol: 列索引.
color: 颜色.
bColor: 是否使用.
func XTemp_Create ¶
func XTemp_Create(nType xcc.ListItemTemp_Type_) int
模板_创建, 创建项模板, 返回模板句柄.
nType: 模板类型, ListItemTemp_Type_.
func XTemp_CreateNode ¶
func XTemp_CreateNode(nType xcc.XC_OBJECT_TYPE) int
模板_创建节点.
nType: 对象类型: XC_.
func XTemp_GetType ¶
func XTemp_GetType(hTemp int) xcc.ListItemTemp_Type_
模板_取类型, 获取列表项模板类型, 返回: ListItemTemp_Type_.
hTemp: 列表项模板句柄.
func XTemp_Load ¶
func XTemp_Load(nType xcc.ListItemTemp_Type_, pFileName string) int
模板_加载从文件, 列表项模板文件载入, 返回模板句柄.
nType: 模板类型, ListItemTemp_Type_.
pFileName: 文件名.
func XTemp_LoadEx ¶
func XTemp_LoadEx(nType xcc.ListItemTemp_Type_, pFileName string, pOutTemp1 *int, pOutTemp2 *int) bool
模板_加载从文件扩展, 加载列表项模板从文件.
nType: 模板类型, ListItemTemp_Type_.
pFileName: 文件名.
pOutTemp1: 返回模板句柄1, 项模板.
pOutTemp2: 返回模板句柄2, 列表头模板或列表视组模板.
func XTemp_LoadFromString ¶
func XTemp_LoadFromString(nType xcc.ListItemTemp_Type_, pStringXML string) int
模板_加载从字符串, 加载列表项模板文件从内存字符串.
nType: 模板类型, ListItemTemp_Type_.
pStringXML: 字符串.
func XTemp_LoadFromStringEx ¶
func XTemp_LoadFromStringEx(nType xcc.ListItemTemp_Type_, pStringXML string, pOutTemp1 *int, pOutTemp2 *int) bool
模板_加载从字符串扩展, 加载列表项模板文件从内存字符串.
nType: 模板类型, ListItemTemp_Type_.
pStringXML: 字符串内容.
pOutTemp1: 返回模板句柄1, 项模板.
pOutTemp2: 返回模板句柄2, 列表头模板或列表视组模板.
func XTemp_LoadZip ¶
模板_加载从ZIP, 加载列表项模板从zip压缩包中, 返回模板句柄.
nType: 模板类型.
pZipFile: zip文件.
pFileName: 文件名.
pPassword: zip密码.
func XTemp_LoadZipEx ¶
func XTemp_LoadZipEx(nType xcc.ListItemTemp_Type_, pZipFile string, pFileName string, pPassword string, pOutTemp1 *int, pOutTemp2 *int) bool
模板_加载从ZIP扩展, 加载列表项模板从zip压缩包中.
nType: 模板类型, ListItemTemp_Type_.
pZipFile: zip文件.
pFileName: 文件名.
pPassword: zip密码.
pOutTemp1: 返回模板句柄1, 项模板.
pOutTemp2: 返回模板句柄2, 列表头模板或列表视组模板.
func XTemp_LoadZipMem ¶
func XTemp_LoadZipMem(nType xcc.ListItemTemp_Type_, data []byte, pFileName string, pPassword string) int
模板_加载从内存ZIP, 加载列表项模板从内存zip压缩包中, 返回模板句柄.
nType: 模板类型, ListItemTemp_Type_.
data: 模板文件数据.
pFileName: 文件名.
pPassword: zip密码.
func XTemp_LoadZipMemEx ¶
func XTemp_LoadZipMemEx(nType xcc.ListItemTemp_Type_, data []byte, pFileName string, pPassword string, pOutTemp1 *int, pOutTemp2 *int) bool
模板_加载从内存ZIP扩展, 加载列表项模板从内存zip压缩包中.
nType: 模板类型, ListItemTemp_Type_.
data: 模板文件数据.
pFileName: 文件名.
pPassword: zip密码.
pOutTemp1: 返回模板句柄1, 项模板.
pOutTemp2: 返回模板句柄2, 列表头模板或列表视组模板.
func XTextLink_Create ¶
文本链接_创建, 创建静态文本链接元素, 返回元素句柄.
x: 元素x坐标.
y: 元素y坐标.
cx: 宽度.
cy: 高度.
pName: 文本内容.
hParent: 父是窗口资源句柄或UI元素资源句柄. 如果是窗口资源句柄将被添加到窗口, 如果是元素资源句柄将被添加到元素.
func XTextLink_SetUnderlineColorLeave ¶
文本链接_置离开状态下划线颜色, 设置下划线颜色, 鼠标离开状态.
hEle: 元素句柄.
color: ABGR颜色值.
func XToolBar_Create ¶
工具条_创建, 创建工具条元素, 返回元素句柄; 如果指定了父为窗口, 默认调用XWnd_AddToolBar()函数, 将工具条添加到窗口非客户区.
x: 元素x坐标.
y: 元素y坐标.
cx: 宽度.
cy: 高度.
hParent: 父是窗口资源句柄或UI元素资源句柄. 如果是窗口资源句柄将被添加到窗口, 如果是元素资源句柄将被添加到元素.
func XToolBar_InsertEle ¶
工具条_插入元素, 插入元素到工具条, 返回插入位置索引.
hEle: 元素句柄.
hNewEle: 将要插入的元素.
index: 插入位置索引, (-1)插入末尾.
func XToolBar_InsertSeparator ¶
工具条_插入分割栏, 插入分隔符到工具条, 返回插入位置索引.
hEle: 元素句柄.
index: 插入位置索引, (-1)插入末尾.
color: ABGR颜色.
func XTree_Create ¶
列表树_创建, 创建树元素, 返回元素句柄.
x: 元素x坐标.
y: 元素y坐标.
cx: 宽度.
cy: 高度.
hParent: 父是窗口资源句柄或UI元素资源句柄. 如果是窗口资源句柄将被添加到窗口, 如果是元素资源句柄将被添加到元素.
func XTree_EnableConnectLine ¶
列表树_启用连接线, 启用或禁用显示项的连接线.
hEle: 元素句柄.
bEnable: 是否启用.
bSolid: 实线或虚线; TRUE: 实线, FALSE: 虚线.
func XTree_GetItemHeight ¶
列表树_取项高度.
hEle: 元素句柄.
nID: 项ID.
pHeight: 接收返回高度.
pSelHeight: 接收返回值, 当项选中时的高度.
func XTree_GetItemHeightDefault ¶
列表树_取项默认高度.
hEle: 元素句柄.
pHeight: 接收返回高度.
pSelHeight: 接收返回值, 当项选中时的高度.
func XTree_GetItemIDFromHXCGUI ¶
列表树_取对象所在项, 获取当前对象所在模板实例, 属于列表树中哪一个项. 成功返回项ID, 否则返回XC_ID_ERROR.
hEle: 元素句柄.
hXCGUI: 对象句柄.
func XTree_GetTemplateObject ¶
列表树_取模板对象, 通过模板项ID, 获取实例化模板项ID对应的对象句柄.
hEle: 元素句柄.
nID: 树项ID.
nTempItemID: 模板项ID.
func XTree_MoveItem ¶
列表树_移动项, 移动项的位置.
hEle: 元素句柄.
nMoveItem: 要移动的项ID.
nDestItem: 目标项ID, 参照位置.
nFlag: 0:目标前面, 1:目标后面, 2:目标子项首, 3:目标子项尾.
func XTree_SetDrawItemBkFlags ¶
func XTree_SetDrawItemBkFlags(hEle int, nFlags xcc.List_DrawItemBk_Flag_) int
列表树_置项背景绘制标志, 设置是否绘制指定状态下项的背景.
hEle: 元素句柄.
nFlags: 标志位: List_DrawItemBk_Flag_.
func XTree_SetItemTemplateXMLSelFromString ¶
列表树_置选择项模板从字符串, 设置项模板文件, 项选中状态.
hEle: 元素句柄.
pStringXML: 字符串.
func XUI_EnableCSS ¶
XUI_EnableCSS 可视对象_启用CSS, 启用或禁用样式.
@param hXCGUI 对象句柄. @param bEnable 是否启用. @return int
func XUI_GetStyle ¶
func XUI_GetStyle(hXCGUI int) xcc.XC_OBJECT_STYLE
XUI_GetStyle 可视对象_取样式, 获取UI对象样式
@param hXCGUI 对象句柄. @return xcc.XC_OBJECT_STYLE 返回: xcc.Button_Style_ , xcc.Element_Style_ , xcc.ListBox_Style_.
func XUI_SetCssName ¶
XUI_SetCssName 可视对象_置CSS名称, 设置CSS[套用样式]名称.
@param hXCGUI 对象句柄. @param pName 套用样式名称. @return int
func XUI_SetStyle ¶
func XUI_SetStyle(hXCGUI int, nStyle xcc.XC_OBJECT_STYLE) int
XUI_SetStyle 可视对象_置样式, 设置UI对象样式.
@param hXCGUI 对象句柄. @param nStyle xcc.XC_OBJECT_STYLE, 样式值: xcc.Button_Style_ , xcc.Element_Style_ , xcc.ListBox_Style_. @return int
func XWidget_LayoutItem_EnableSwap ¶
窗口组件_布局项_启用交换, 根据水平垂直布局变换, 交换属性(宽度,高度,最小宽度,最小高度).
hXCGUI: UI对象句柄.
bEnable: 是否启用.
func XWidget_LayoutItem_SetAlign ¶
func XWidget_LayoutItem_SetAlign(hXCGUI int, nAlign xcc.Layout_Align_Axis_) int
窗口组件_布局项_置对齐, 根据水平垂直轴变化对齐.
hXCGUI: UI对象句柄.
nAlign: 对齐方式: xcc.Layout_Align_Axis_.
func XWidget_LayoutItem_SetHeight ¶
func XWidget_LayoutItem_SetHeight(hXCGUI int, nType xcc.Layout_Size_, nHeight int) int
窗口组件_布局项_置高度.
hXCGUI: UI对象句柄.
nType: 类型: xcc.Layout_Size_.
nHeight: 高度.
func XWidget_LayoutItem_SetMinSize ¶
窗口组件_布局项_置最小大小, 限制大小仅针对缩放有效(自动, 填充父, 比例, 百分比).
hXCGUI: UI对象句柄.
width: 最小宽度.
height: 最小高度.
func XWidget_LayoutItem_SetPosition ¶
窗口组件_布局项_置位置, 相对位置, 值大于等于0有效.
hXCGUI: UI对象句柄.
left: 左边距离.
top: 上边距离.
right: 右边距离.
bottom: 下边距离.
func XWidget_LayoutItem_SetWidth ¶
func XWidget_LayoutItem_SetWidth(hXCGUI int, nType xcc.Layout_Size_, nWidth int) int
窗口组件_布局项_置宽度.
hXCGUI: UI对象句柄.
nType: 类型: xcc.Layout_Size_.
nWidth: 宽度.
func XWnd_AddBkFill ¶
func XWnd_AddBkFill(hWindow int, nState xcc.Window_State_Flag_, color int) int
窗口_添加背景填充.
hWindow: 窗口句柄.
nState: 组合状态.
color: ABGR颜色.
func XWnd_AddBkImage ¶
func XWnd_AddBkImage(hWindow int, nState xcc.Window_State_Flag_, hImage int) int
窗口_添加背景图片.
hWindow: 窗口句柄.
nState: 组合状态.
hImage: 图片句柄.
func XWnd_AdjustLayoutEx ¶
func XWnd_AdjustLayoutEx(hWindow int, nFlags xcc.AdjustLayout_) int
窗口_调整布局扩展.
hWindow: 窗口句柄.
nFlags: 调整布局标识位: xcc.AdjustLayout_.
func XWnd_Attach ¶
func XWnd_Attach(hWnd int, XCStyle xcc.Window_Style_) int
窗口_附加窗口, 返回窗口资源句柄.
hWnd: 要附加的外部窗口句柄.
XCStyle: 炫彩窗口样式: Window_Style_.
func XWnd_Create ¶
func XWnd_Create(x int, y int, cx int, cy int, pTitle string, hWndParent int, XCStyle xcc.Window_Style_) int
窗口_创建, 返回: GUI库窗口资源句柄.
x: 窗口左上角x坐标.
y: 窗口左上角y坐标.
cx: 窗口宽度.
cy: 窗口高度.
pTitle: 窗口标题.
hWndParent: 父窗口.
XCStyle: GUI库窗口样式, Window_Style_.
func XWnd_CreateEx ¶
func XWnd_CreateEx(dwExStyle int, dwStyle int, lpClassName string, x int, y int, cx int, cy int, pTitle string, hWndParent int, XCStyle xcc.Window_Style_) int
窗口_创建扩展, 返回: GUI库窗口资源句柄.
dwExStyle: 窗口扩展样式.
dwStyle: 窗口样式.
lpClassName: 窗口类名.
x: 窗口左上角x坐标.
y: 窗口左上角y坐标.
cx: 窗口宽度.
cy: 窗口高度.
pTitle: 窗口名.
hWndParent: 父窗口.
XCStyle: GUI库窗口样式, Window_Style_.
func XWnd_GetButton ¶
窗口_取控制按钮, 返回按钮句柄.
hWindow: 窗口句柄.
nFlag: 可用值: Window_Style_Btn_Min , Window_Style_Btn_Max , Window_Style_Btn_Close .
func XWnd_GetCaretInfo ¶
窗口_取插入符信息, 获取插入符信息, 返回: 插入符元素句柄.
hWindow: 窗口句柄.
pX: 接收返回x坐标.
pY: 接收返回y坐标.
pWidth: 接收返回宽度.
pHeight: 接收返回高度.
func XWnd_GetShadowInfo ¶
func XWnd_GetShadowInfo(hWindow int, nSize *int, nDepth *byte, nAngeleSize *int, bRightAngle *bool, color *int) int
窗口_取阴影信息.
hWindow: 窗口句柄.
pnSize: 阴影大小.
pnDepth: 阴影深度.
pnAngeleSize: 圆角阴影内收大小 .
pbRightAngle: 是否强制直角.
pColor: 阴影颜色.
func XWnd_GetTransparentType ¶
func XWnd_GetTransparentType(hWindow int) xcc.Window_Transparent_
窗口_取透明类型, 返回: xcc.Window_Transparent_.
hWindow: 窗口句柄.
func XWnd_RedrawRect ¶
窗口_重绘指定区域.
hWindow: 窗口资源句柄.
pRect: 需要重绘的区域坐标.
bImmediate: TRUE立即重绘, FALSE放入消息队列延迟重绘.
func XWnd_SetBorderSize ¶
窗口_置边大小.
hWindow: 窗口句柄.
left: 窗口左边大小.
top: 窗口上边大小.
right: 窗口右边大小.
bottom: 窗口底部大小.
func XWnd_SetCaptionMargin ¶
窗口_置标题外间距, 设置标题内容(图标, 标题, 控制按钮)外间距.
hWindow: 窗口句柄.
left: 左边间距.
top: 上边间距.
right: 右边间距.
bottom: 下边间距.
func XWnd_SetCaretPos ¶
窗口_置插入符位置, 设置插入符位置.
hWindow: 窗口句柄.
x: x坐标.
y: y坐标.
width: 宽度.
height: 高度.
bUpdate: 是否立即更新UI.
func XWnd_SetDragBorderSize ¶
窗口_置拖动边框大小.
hWindow: 窗口句柄.
left: 窗口左边大小.
top: 窗口上边大小.
right: 窗口右边大小.
bottom: 窗口底边大小.
func XWnd_SetPadding ¶
窗口_置布局内填充大小.
hWindow: 窗口句柄.
left: 左边大小.
top: 上边大小.
right: 右边大小.
bottom: 下边大小.
func XWnd_SetShadowInfo ¶
func XWnd_SetShadowInfo(hWindow, nSize int, nDepth byte, nAngeleSize int, bRightAngle bool, color int) int
窗口_置阴影信息.
hWindow: 窗口句柄.
nSize: 阴影大小.
nDepth: 阴影深度, 0-255.
nAngeleSize: 圆角阴影内收大小.
bRightAngle: 是否强制直角.
color: 阴影颜色.
func XWnd_SetTransparentType ¶
func XWnd_SetTransparentType(hWindow int, nType xcc.Window_Transparent_) int
窗口_置透明类型.
hWindow: 窗口句柄.
nType: 窗口透明类型: xcc.Window_Transparent_.
Types ¶
type Edit_Data_Copy_ ¶
type Edit_Data_Copy_ struct { NCount int32 // 内容数量 NStyleCount int32 // 样式数量 PStyle *Edit_Data_Copy_Style_ // 样式数组 PData *uint32 // 内容数组 }
Edit 数据复制
type Edit_Data_Copy_Style_ ¶
type Edit_Data_Copy_Style_ struct { HFont_image_obj int // 字体,图片,UI对象句柄 Color int32 // 颜色 BColor bool // 是否使用颜色 }
Edit 数据复制-样式
type Edit_Style_Info_ ¶
type Edit_Style_Info_ struct { Type xcc.Edit_Style_Type_ // 样式类型: Edit_Style_Type_ NRef uint16 // 引用计数 HFont_image_obj int // 字体,图片,UI对象句柄 Color int32 // 颜色 BColor bool // 是否使用颜色 }
Edit 样式信息
type Editor_Color_ ¶
type Editor_Color_ struct { ClrMargin1 int32 // 背景色1, ABGR颜色 ClrMargin2 int32 // 背景色2, ABGR颜色 ClrMarginText int32 // 文本色, ABGR颜色 ClrBreakpoint int32 // 断点色, ABGR颜色 ClrBreakpointArrow int32 // 断点箭头色, ABGR颜色 ClrRun int32 // 当前执行位置指示色, ABGR颜色 ClrCurRow int32 // 突出显示当前行颜色, ABGR颜色 ClrMatch int32 // 设置匹配文本背景色, ABGR颜色 }
Editor 颜色信息
type Font_Info_ ¶
type Font_Info_ struct { NSize int32 // 字体大小, 单位(pt,磅). NStyle xcc.FontStyle_ // 字体样式: FontStyle_ Name [32]uint16 // 字体名称, 使用xc.Font_Info_Name()函数转换为string. }
字体信息
type LOGFONTW ¶
type LOGFONTW struct { LfHeight int32 // 高度 LfWidth int32 // 宽度 LfEscapement int32 // 指定角度 LfOrientation int32 // 字符基线 LfWeight int32 // 字体粗细 LfItalic byte // 是否斜体 LfUnderline byte // 是否下划线 LfStrikeOut byte // 是否删除线 LfCharSet byte // 字符集 LfOutPrecision byte // 输出精度 LfClipPrecision byte // 剪辑精度 LfQuality byte // 输出质量 LfPitchAndFamily byte // 字符间距 LfFaceName [32]uint16 // 字体名称, 使用xc.Font_Info_Name()函数转换为string. }
字体属性
type ListBox_Item_ ¶
type ListBox_Item_ struct { Index int32 // 项索引 NUserData int // 用户绑定数据 NHeight int32 // 项默认高度 NSelHeight int32 // 项选中时高度 NState xcc.List_Item_State_ // 状态: List_Item_State_ RcItem RECT // 项坐标 HLayout int // 布局对象句柄 HTemp int // 列表项模板句柄 }
列表框项信息
type ListBox_Item_Info_ ¶
type ListBox_Item_Info_ struct { NUserData int // 用户绑定数据 NHeight int32 // 项高度, -1使用默认高度 NSelHeight int32 // 项选中时高度, -1使用默认高度 }
ListBox 列表框项信息2
type ListView_Item_ ¶
type ListView_Item_ struct { IGroup int32 // 项所述组索引 -1没有组 IItem int32 // 项在数组中位置索引,如果此致为-1,那么为组 NUserData int // 用户绑定数据 NState xcc.List_Item_State_ // 状态: List_Item_State_ RcItem RECT // 整个区域,包含边框 HLayout int // 布局对象 HTemp int // 列表项模板 }
ListView 列表视项信息
type ListView_Item_Id_ ¶
列表视项ID
type List_Header_Item_ ¶
type List_Header_Item_ struct { Index int32 // 项索引 NUserData int // 用户绑定数据 BSort bool // 是否支持排序 NSortType int32 // 排序方式,0无效,1升序,2降序 IColumnAdapter int32 // 对应数据适配器中的列索引 NState xcc.Common_State3_ // 状态: Common_State3_ RcItem RECT // 项坐标 HLayout int // 布局对象句柄 HTemp int // 列表项模板句柄 }
List 列表头项信息
type List_Item_ ¶
type List_Item_ struct { Index int32 // 项索引 ISubItem int32 // 子项索引 NUserData int // 用户数据 NState xcc.List_Item_State_ // 状态: List_Item_State_ RcItem RECT // 未使用 HLayout int // 布局对象句柄 HTemp int // 列表项模板句柄 }
List 列表项信息
type Menu_DrawBackground_ ¶
type Menu_DrawBackground_ struct { HMenu int // 菜单句柄 HWindow int // 当前弹出菜单项的窗口句柄 NParentID int32 // 父项ID }
菜单背景自绘结构
type Menu_DrawItem_ ¶
type Menu_DrawItem_ struct { HMenu int // 菜单句柄 HWindow int // 当前弹出菜单项的窗口句柄 NID int32 // ID NState xcc.Menu_Item_Flag_ // 状态: Menu_Item_Flag_ RcItem RECT // 坐标 HIcon int // 菜单项图标句柄 PText uintptr // 文本, 使用xc.UintPtrToString()函数转换到string }
菜单项自绘结构
type Menu_PopupWnd_ ¶
菜单-弹出窗口信息
type MonthCal_item_ ¶
type MonthCal_item_ struct { NDay int32 // 日期 NType int32 // 1上月, 2当月, 3下月 NState xcc.CombinedState // 组合状态, MonthCal_State_Flag_ RcItem RECT // 项坐标 }
月历元素项数据
type PropertyGrid_item_ ¶
type PropertyGrid_item_ struct { NType int32 // 类型 NID int32 // 项ID NDepth int32 // 深度 NUserData int // 用户数据 NNameColWidth int32 // 名称列宽度 RcItem RECT // 坐标 RcExpand RECT // 展开 BExpand bool // 是否展开 BShow bool // 是否可见 }
PGrid 属性网格项信息
type Tree_Drag_Item_ ¶
type Tree_Drag_Item_ struct { NDragItem int32 // 拖动项ID NDestItem int32 // 目标项ID NType int32 // 停放相对目标位置, 0:(上)停放到目标的上面, 1:(下)停放到目标的下面, 3:(中)停放到目标的的子项, }
树UI元素拖动项
Source Files
¶
- adapter.go
- adapterlistview.go
- adaptermap.go
- adaptertable.go
- adaptertree.go
- animation.go
- bkmanager.go
- bkobj.go
- button.go
- combobox.go
- d2d.go
- datetime.go
- doc.go
- draw.go
- ease.go
- edit.go
- editor.go
- element.go
- fontx.go
- framewindow.go
- globalapi.go
- image.go
- layoutbox.go
- layoutele.go
- layoutframe.go
- list.go
- listbox.go
- listitemtemplate.go
- listview.go
- menu.go
- menubar.go
- modalwindow.go
- monthcal.go
- notify_msg.go
- objectbase.go
- pane.go
- progressbar.go
- resource.go
- scrollbar.go
- scrollview.go
- shape.go
- shapeellipse.go
- shapegif.go
- shapegroupbox.go
- shapeline.go
- shapepicture.go
- shaperect.go
- shapetext.go
- sliderbar.go
- svg.go
- tabbar.go
- table.go
- textlink.go
- toolbar.go
- tree.go
- ui.go
- uidesigner.go
- widget.go
- window.go
- xcgui.go
- xcstruct.go