Documentation
¶
Overview ¶
Package window 里封装了 Window, ModalWindow, FrameWindow.
Index ¶
- type FrameWindow
- func NewFrameWindow(x int, y int, cx int, cy int, pTitle string, hWndParent int, ...) *FrameWindow
- func NewFrameWindowByHandle(handle int) *FrameWindow
- func NewFrameWindowByName(name string) *FrameWindow
- func NewFrameWindowByUID(nUID int) *FrameWindow
- func NewFrameWindowByUIDName(name string) *FrameWindow
- func NewFrameWindowEx(dwExStyle int, dwStyle int, lpClassName string, x int, y int, cx int, cy int, ...) *FrameWindow
- func (w *FrameWindow) AddBkBorder(nState xcc.Window_State_Flag_, color int, width int) int
- func (w *FrameWindow) AddBkFill(nState xcc.Window_State_Flag_, color int) int
- func (w *FrameWindow) AddBkImage(nState xcc.Window_State_Flag_, hImage int) int
- func (w *FrameWindow) AddChild(hChild int) bool
- func (fw *FrameWindow) AddPane(hPaneDest int, hPaneNew int, align xcc.Pane_Align_) bool
- func (w *FrameWindow) AdjustLayout() int
- func (w *FrameWindow) AdjustLayoutEx(nFlags xcc.AdjustLayout_) int
- func (w *FrameWindow) Center() int
- func (w *FrameWindow) CenterEx(width, height int) int
- func (w *FrameWindow) ClearBkInfo() int
- func (w *FrameWindow) CloseWindow() int
- func (w *FrameWindow) CreateCaret(hEle, x, y, width, height int) int
- func (w *FrameWindow) DestroyCaret() int
- func (w *FrameWindow) DrawWindow(hDraw int) int
- func (w *FrameWindow) EnableAutoFocus(bEnable bool) int
- func (w *FrameWindow) EnableDragBorder(bEnable bool) int
- func (w *FrameWindow) EnableDragCaption(bEnable bool) int
- func (w *FrameWindow) EnableDragFiles(bEnable bool) bool
- func (w *FrameWindow) EnableDragWindow(bEnable bool) int
- func (w *FrameWindow) EnableDrawBk(bEnable bool) int
- func (w *FrameWindow) EnableLayout(bEnable bool) int
- func (w *FrameWindow) EnableLayoutOverlayBorder(bEnable bool) int
- func (w *FrameWindow) EnableMaxWindow(bEnable bool) int
- func (w *FrameWindow) EnablemLimitWindowSize(bEnable bool) int
- func (w *FrameWindow) Event_CAPTURECHANGED(pFun WM_CAPTURECHANGED) bool
- func (w *FrameWindow) Event_CAPTURECHANGED1(pFun WM_CAPTURECHANGED1) bool
- func (w *FrameWindow) Event_CHAR(pFun WM_CHAR) bool
- func (w *FrameWindow) Event_CHAR1(pFun WM_CHAR1) bool
- func (w *FrameWindow) Event_CLOSE(pFun WM_CLOSE) bool
- func (w *FrameWindow) Event_CLOSE1(pFun WM_CLOSE1) bool
- func (w *FrameWindow) Event_DESTROY(pFun WM_DESTROY) bool
- func (w *FrameWindow) Event_DESTROY1(pFun WM_DESTROY1) bool
- func (w *FrameWindow) Event_DOCK_POPUP(pFun XWM_DOCK_POPUP) bool
- func (w *FrameWindow) Event_DOCK_POPUP1(pFun XWM_DOCK_POPUP1) bool
- func (w *FrameWindow) Event_DROPFILES(pFun WM_DROPFILES) bool
- func (w *FrameWindow) Event_DROPFILES1(pFun WM_DROPFILES1) bool
- func (w *FrameWindow) Event_EXITSIZEMOVE(pFun WM_EXITSIZEMOVE) bool
- func (w *FrameWindow) Event_EXITSIZEMOVE1(pFun WM_EXITSIZEMOVE1) bool
- func (w *FrameWindow) Event_FLOATWND_DRAG(pFun XWM_FLOATWND_DRAG) bool
- func (w *FrameWindow) Event_FLOATWND_DRAG1(pFun XWM_FLOATWND_DRAG1) bool
- func (w *FrameWindow) Event_FLOAT_PANE(pFun XWM_FLOAT_PANE) bool
- func (w *FrameWindow) Event_FLOAT_PANE1(pFun XWM_FLOAT_PANE1) bool
- func (w *FrameWindow) Event_KEYDOWN(pFun WM_KEYDOWN) bool
- func (w *FrameWindow) Event_KEYDOWN1(pFun WM_KEYDOWN1) bool
- func (w *FrameWindow) Event_KILLFOCUS(pFun WM_KILLFOCUS) bool
- func (w *FrameWindow) Event_KILLFOCUS1(pFun WM_KILLFOCUS1) bool
- func (w *FrameWindow) Event_LBUTTONDBLCLK(pFun WM_LBUTTONDBLCLK) bool
- func (w *FrameWindow) Event_LBUTTONDBLCLK1(pFun WM_LBUTTONDBLCLK1) bool
- func (w *FrameWindow) Event_LBUTTONDOWN(pFun WM_LBUTTONDOWN) bool
- func (w *FrameWindow) Event_LBUTTONDOWN1(pFun WM_LBUTTONDOWN1) bool
- func (w *FrameWindow) Event_LBUTTONUP(pFun WM_LBUTTONUP) bool
- func (w *FrameWindow) Event_LBUTTONUP1(pFun WM_LBUTTONUP1) bool
- func (w *FrameWindow) Event_MENU_DRAWITEM(pFun XWM_MENU_DRAWITEM) bool
- func (w *FrameWindow) Event_MENU_DRAW_BACKGROUND(pFun XWM_MENU_DRAW_BACKGROUND) bool
- func (w *FrameWindow) Event_MENU_EXIT(pFun XWM_MENU_EXIT) bool
- func (w *FrameWindow) Event_MENU_POPUP(pFun XWM_MENU_POPUP) bool
- func (w *FrameWindow) Event_MENU_POPUP_WND(pFun XWM_MENU_POPUP_WND) bool
- func (w *FrameWindow) Event_MENU_SELECT(pFun XWM_MENU_SELECT) bool
- func (w *FrameWindow) Event_MOUSEHOVER(pFun WM_MOUSEHOVER) bool
- func (w *FrameWindow) Event_MOUSEHOVER1(pFun WM_MOUSEHOVER1) bool
- func (w *FrameWindow) Event_MOUSELEAVE(pFun WM_MOUSELEAVE) bool
- func (w *FrameWindow) Event_MOUSELEAVE1(pFun WM_MOUSELEAVE1) bool
- func (w *FrameWindow) Event_MOUSEMOVE(pFun WM_MOUSEMOVE) bool
- func (w *FrameWindow) Event_MOUSEMOVE1(pFun WM_MOUSEMOVE1) bool
- func (w *FrameWindow) Event_MOUSEWHEEL(pFun WM_MOUSEWHEEL) bool
- func (w *FrameWindow) Event_MOUSEWHEEL1(pFun WM_MOUSEWHEEL1) bool
- func (w *FrameWindow) Event_NCDESTROY(pFun WM_NCDESTROY) bool
- func (w *FrameWindow) Event_NCDESTROY1(pFun WM_NCDESTROY1) bool
- func (w *FrameWindow) Event_PAINT(pFun WM_PAINT) bool
- func (w *FrameWindow) Event_PAINT1(pFun WM_PAINT1) bool
- func (w *FrameWindow) Event_PAINT_DISPLAY(pFun XWM_PAINT_DISPLAY) bool
- func (w *FrameWindow) Event_PAINT_DISPLAY1(pFun XWM_PAINT_DISPLAY1) bool
- func (w *FrameWindow) Event_PAINT_END(pFun XWM_PAINT_END) bool
- func (w *FrameWindow) Event_PAINT_END1(pFun XWM_PAINT_END1) bool
- func (w *FrameWindow) Event_RBUTTONDBLCLK(pFun WM_RBUTTONDBLCLK) bool
- func (w *FrameWindow) Event_RBUTTONDBLCLK1(pFun WM_RBUTTONDBLCLK1) bool
- func (w *FrameWindow) Event_RBUTTONDOWN(pFun WM_RBUTTONDOWN) bool
- func (w *FrameWindow) Event_RBUTTONDOWN1(pFun WM_RBUTTONDOWN1) bool
- func (w *FrameWindow) Event_RBUTTONUP(pFun WM_RBUTTONUP) bool
- func (w *FrameWindow) Event_RBUTTONUP1(pFun WM_RBUTTONUP1) bool
- func (w *FrameWindow) Event_SETCURSOR(pFun WM_SETCURSOR) bool
- func (w *FrameWindow) Event_SETCURSOR1(pFun WM_SETCURSOR1) bool
- func (w *FrameWindow) Event_SETFOCUS(pFun WM_SETFOCUS) bool
- func (w *FrameWindow) Event_SETFOCUS1(pFun WM_SETFOCUS1) bool
- func (w *FrameWindow) Event_SIZE(pFun WM_SIZE) bool
- func (w *FrameWindow) Event_SIZE1(pFun WM_SIZE1) bool
- func (w *FrameWindow) Event_TIMER(pFun WM_TIMER) bool
- func (w *FrameWindow) Event_TIMER1(pFun WM_TIMER1) bool
- func (w *FrameWindow) Event_WINDPROC(pFun XWM_WINDPROC) bool
- func (w *FrameWindow) Event_WINDPROC1(pFun XWM_WINDPROC1) bool
- func (w *FrameWindow) Event_XC_TIMER(pFun XWM_XC_TIMER) bool
- func (w *FrameWindow) Event_XC_TIMER1(pFun XWM_XC_TIMER1) bool
- func (w *FrameWindow) GetBkInfoCount() int
- func (w *FrameWindow) GetBkManager() int
- func (w *FrameWindow) GetBkManagerEx() int
- func (w *FrameWindow) GetBodyRect(pRect *xc.RECT) int
- func (w *FrameWindow) GetBorderSize(pBorder *xc.RECT) int
- func (w *FrameWindow) GetButton(nFlag int) int
- func (w *FrameWindow) GetCaptureEle() int
- func (w *FrameWindow) GetCaretHELE() int
- func (w *FrameWindow) GetCaretInfo(pX, pY, pWidth, pHeight *int) int
- func (w *FrameWindow) GetChild(nID int) int
- func (w *FrameWindow) GetChildByID(nID int) int
- func (w *FrameWindow) GetChildByIndex(index int) int
- func (w *FrameWindow) GetChildCount() int
- func (w *FrameWindow) GetClientRect(pRect *xc.RECT) int
- func (w *FrameWindow) GetCursor() int
- func (w *FrameWindow) GetDragBorderSize(pBorder *xc.RECT) int
- func (fw *FrameWindow) GetDragFloatWndTopFlag() xcc.FrameWnd_Cell_Type_
- func (w *FrameWindow) GetDrawRect(pRcPaint *xc.RECT) int
- func (w *FrameWindow) GetFocusEle() int
- func (w *FrameWindow) GetHWND() int
- func (w *FrameWindow) GetID() int
- func (w *FrameWindow) GetIcon() int
- func (fw *FrameWindow) GetLayoutAreaRect(pRect *xc.RECT) int
- func (w *FrameWindow) GetLayoutRect(pRect *xc.RECT) int
- func (w *FrameWindow) GetName() string
- func (w *FrameWindow) GetObjectByID(nID int) int
- func (w *FrameWindow) GetObjectByIDName(pName string) int
- func (w *FrameWindow) GetRect(pRect *xc.RECT) int
- func (w *FrameWindow) GetShadowInfo(nSize *int, nDepth *byte, nAngeleSize *int, bRightAngle *bool, color *int) int
- func (w *FrameWindow) GetStayEle() int
- func (w *FrameWindow) GetTextColor() int
- func (w *FrameWindow) GetTextColorEx() int
- func (w *FrameWindow) GetTitle() string
- func (w *FrameWindow) GetTitleColor() int
- func (w *FrameWindow) GetTransparentType() xcc.Window_Transparent_
- func (w *FrameWindow) HitChildEle(pPt *xc.POINT) int
- func (w *FrameWindow) InsertChild(hChild int, index int) bool
- func (w *FrameWindow) IsDragBorder() bool
- func (w *FrameWindow) IsDragCaption() bool
- func (w *FrameWindow) IsDragWindow() bool
- func (w *FrameWindow) IsEnableLayout() bool
- func (w *FrameWindow) IsHWINDOW() bool
- func (w *FrameWindow) IsMaxWindow() bool
- func (w *FrameWindow) KillTimer(nIDEvent int) int
- func (w *FrameWindow) KillXCTimer(nIDEvent int) int
- func (fw *FrameWindow) LoadLayoutFile(aPaneList []int, nPaneCount int, pFileName string) bool
- func (w *FrameWindow) MaxWindow(bMaximize bool) int
- func (fw *FrameWindow) MergePane(hPaneDest int, hPaneNew int) bool
- func (w *FrameWindow) MessageBox(pTitle, pText string, nFlags xcc.MessageBox_Flag_, XCStyle xcc.Window_Style_) xcc.MessageBox_Flag_
- func (w *FrameWindow) Msg_Create(pTitle, pText string, nFlags xcc.MessageBox_Flag_, XCStyle xcc.Window_Style_) *ModalWindow
- func (w *FrameWindow) Msg_CreateEx(dwExStyle, dwStyle int, lpClassName, pTitle, pText string, ...) *ModalWindow
- func (w *FrameWindow) NotifyMsg_SetBorderSize(left, top, right, bottom int) int
- func (w *FrameWindow) NotifyMsg_SetCaptionHeight(nHeight int) int
- func (w *FrameWindow) NotifyMsg_SetDuration(duration int) int
- func (w *FrameWindow) NotifyMsg_SetParentMargin(left, top, right, bottom int) int
- func (w *FrameWindow) NotifyMsg_SetSpace(nSpace int) int
- func (w *FrameWindow) NotifyMsg_SetWidth(nWidth int) int
- func (w *FrameWindow) NotifyMsg_WindowPopup(position xcc.Position_Flag_, pTitle, pText string, hIcon int, ...) int
- func (w *FrameWindow) NotifyMsg_WindowPopupEx(position xcc.Position_Flag_, pTitle, pText string, hIcon int, ...) int
- func (w *FrameWindow) PostMessage(msg int, wParam int, lParam int) bool
- func (w *FrameWindow) Redraw(bImmediate bool) int
- func (w *FrameWindow) RedrawRect(pRect *xc.RECT, bImmediate bool) int
- func (w *FrameWindow) RegEventC(nEvent xcc.WM_, pFun interface{}) bool
- func (w *FrameWindow) RegEventC1(nEvent xcc.WM_, pFun interface{}) bool
- func (w *FrameWindow) RemoveEventC(nEvent xcc.WM_, pFun interface{}) bool
- func (fw *FrameWindow) SaveLayoutToFile(pFileName string) bool
- func (w *FrameWindow) SendMessage(msg int, wParam int, lParam int) int
- func (w *FrameWindow) SetBkInfo(pText string) int
- func (w *FrameWindow) SetBkMagager(hBkInfoM int) int
- func (w *FrameWindow) SetBorderSize(left, top, right, bottom int) int
- func (w *FrameWindow) SetCaptionMargin(left int, top int, right int, bottom int) int
- func (w *FrameWindow) SetCaptureEle(hEle int) int
- func (w *FrameWindow) SetCaretColor(color int) int
- func (w *FrameWindow) SetCaretPos(x, y, width, height int, bUpdate bool) int
- func (w *FrameWindow) SetCursor(hCursor int) int
- func (w *FrameWindow) SetCursorSys(hCursor int) int
- func (w *FrameWindow) SetDragBorderSize(left, top, right, bottom int) int
- func (w *FrameWindow) SetFocusEle(hFocusEle int) bool
- func (w *FrameWindow) SetFont(hFontx int) int
- func (w *FrameWindow) SetID(nID int) int
- func (w *FrameWindow) SetIcon(hImage int) int
- func (w *FrameWindow) SetMinimumSize(width, height int) int
- func (w *FrameWindow) SetName(pName string) int
- func (w *FrameWindow) SetPadding(left, top, right, bottom int) int
- func (fw *FrameWindow) SetPaneSplitBarColor(color int) int
- func (w *FrameWindow) SetPosition(x, y int) int
- func (w *FrameWindow) SetRect(pRect *xc.RECT) bool
- func (w *FrameWindow) SetShadowInfo(nSize int, nDepth byte, nAngeleSize int, bRightAngle bool, color int) int
- func (fw *FrameWindow) SetTabBarHeight(nHeight int) int
- func (w *FrameWindow) SetTextColor(color int) int
- func (w *FrameWindow) SetTimer(nIDEvent, uElapse int) int
- func (w *FrameWindow) SetTitle(pTitle string) int
- func (w *FrameWindow) SetTitleColor(color int) int
- func (w *FrameWindow) SetTop() int
- func (w *FrameWindow) SetTopEx(b bool) bool
- func (w *FrameWindow) SetTransparentAlpha(alpha byte) int
- func (w *FrameWindow) SetTransparentColor(color int) int
- func (w *FrameWindow) SetTransparentType(nType xcc.Window_Transparent_) int
- func (fw *FrameWindow) SetView(hEle int) int
- func (w *FrameWindow) SetXCTimer(nIDEvent, uElapse int) int
- func (w *FrameWindow) Show(bShow bool) int
- func (w *FrameWindow) ShowCaret(bShow bool) int
- func (w *FrameWindow) ShowLayoutFrame(bEnable bool) int
- func (w *FrameWindow) ShowWindow(nCmdShow xcc.SW_) int
- type ModalWindow
- func NewModalWindow(nWidth int, nHeight int, pTitle string, hWndParent int, ...) *ModalWindow
- func NewModalWindowByHandle(handle int) *ModalWindow
- func NewModalWindowByLayout(pFileName string, hParent, hAttachWnd int) *ModalWindow
- func NewModalWindowByLayoutStringW(pStringXML string, hParent int, hAttachWnd int) *ModalWindow
- func NewModalWindowByLayoutZip(pZipFileName string, pFileName string, pPassword string, ...) *ModalWindow
- func NewModalWindowByLayoutZipMem(data []byte, pFileName string, pPassword string, hParent int, hAttachWnd int) *ModalWindow
- func NewModalWindowByName(name string) *ModalWindow
- func NewModalWindowByUID(nUID int) *ModalWindow
- func NewModalWindowByUIDName(name string) *ModalWindow
- func NewModalWindowEx(dwExStyle int, dwStyle int, lpClassName string, x int, y int, cx int, cy int, ...) *ModalWindow
- func (w *ModalWindow) AddBkBorder(nState xcc.Window_State_Flag_, color int, width int) int
- func (w *ModalWindow) AddBkFill(nState xcc.Window_State_Flag_, color int) int
- func (w *ModalWindow) AddBkImage(nState xcc.Window_State_Flag_, hImage int) int
- func (w *ModalWindow) AddChild(hChild int) bool
- func (w *ModalWindow) AdjustLayout() int
- func (w *ModalWindow) AdjustLayoutEx(nFlags xcc.AdjustLayout_) int
- func (w *ModalWindow) Center() int
- func (w *ModalWindow) CenterEx(width, height int) int
- func (w *ModalWindow) ClearBkInfo() int
- func (w *ModalWindow) CloseWindow() int
- func (w *ModalWindow) CreateCaret(hEle, x, y, width, height int) int
- func (w *ModalWindow) DestroyCaret() int
- func (m *ModalWindow) DoModal() xcc.MessageBox_Flag_
- func (w *ModalWindow) DrawWindow(hDraw int) int
- func (m *ModalWindow) EnableAutoClose(bEnable bool) int
- func (w *ModalWindow) EnableAutoFocus(bEnable bool) int
- func (w *ModalWindow) EnableDragBorder(bEnable bool) int
- func (w *ModalWindow) EnableDragCaption(bEnable bool) int
- func (w *ModalWindow) EnableDragFiles(bEnable bool) bool
- func (w *ModalWindow) EnableDragWindow(bEnable bool) int
- func (w *ModalWindow) EnableDrawBk(bEnable bool) int
- func (m *ModalWindow) EnableEscClose(bEnable bool) int
- func (w *ModalWindow) EnableLayout(bEnable bool) int
- func (w *ModalWindow) EnableLayoutOverlayBorder(bEnable bool) int
- func (w *ModalWindow) EnableMaxWindow(bEnable bool) int
- func (w *ModalWindow) EnablemLimitWindowSize(bEnable bool) int
- func (m *ModalWindow) EndModal(nResult xcc.MessageBox_Flag_) int
- func (w *ModalWindow) Event_CAPTURECHANGED(pFun WM_CAPTURECHANGED) bool
- func (w *ModalWindow) Event_CAPTURECHANGED1(pFun WM_CAPTURECHANGED1) bool
- func (w *ModalWindow) Event_CHAR(pFun WM_CHAR) bool
- func (w *ModalWindow) Event_CHAR1(pFun WM_CHAR1) bool
- func (w *ModalWindow) Event_CLOSE(pFun WM_CLOSE) bool
- func (w *ModalWindow) Event_CLOSE1(pFun WM_CLOSE1) bool
- func (w *ModalWindow) Event_DESTROY(pFun WM_DESTROY) bool
- func (w *ModalWindow) Event_DESTROY1(pFun WM_DESTROY1) bool
- func (w *ModalWindow) Event_DOCK_POPUP(pFun XWM_DOCK_POPUP) bool
- func (w *ModalWindow) Event_DOCK_POPUP1(pFun XWM_DOCK_POPUP1) bool
- func (w *ModalWindow) Event_DROPFILES(pFun WM_DROPFILES) bool
- func (w *ModalWindow) Event_DROPFILES1(pFun WM_DROPFILES1) bool
- func (w *ModalWindow) Event_EXITSIZEMOVE(pFun WM_EXITSIZEMOVE) bool
- func (w *ModalWindow) Event_EXITSIZEMOVE1(pFun WM_EXITSIZEMOVE1) bool
- func (w *ModalWindow) Event_FLOATWND_DRAG(pFun XWM_FLOATWND_DRAG) bool
- func (w *ModalWindow) Event_FLOATWND_DRAG1(pFun XWM_FLOATWND_DRAG1) bool
- func (w *ModalWindow) Event_FLOAT_PANE(pFun XWM_FLOAT_PANE) bool
- func (w *ModalWindow) Event_FLOAT_PANE1(pFun XWM_FLOAT_PANE1) bool
- func (w *ModalWindow) Event_KEYDOWN(pFun WM_KEYDOWN) bool
- func (w *ModalWindow) Event_KEYDOWN1(pFun WM_KEYDOWN1) bool
- func (w *ModalWindow) Event_KILLFOCUS(pFun WM_KILLFOCUS) bool
- func (w *ModalWindow) Event_KILLFOCUS1(pFun WM_KILLFOCUS1) bool
- func (w *ModalWindow) Event_LBUTTONDBLCLK(pFun WM_LBUTTONDBLCLK) bool
- func (w *ModalWindow) Event_LBUTTONDBLCLK1(pFun WM_LBUTTONDBLCLK1) bool
- func (w *ModalWindow) Event_LBUTTONDOWN(pFun WM_LBUTTONDOWN) bool
- func (w *ModalWindow) Event_LBUTTONDOWN1(pFun WM_LBUTTONDOWN1) bool
- func (w *ModalWindow) Event_LBUTTONUP(pFun WM_LBUTTONUP) bool
- func (w *ModalWindow) Event_LBUTTONUP1(pFun WM_LBUTTONUP1) bool
- func (w *ModalWindow) Event_MENU_DRAWITEM(pFun XWM_MENU_DRAWITEM) bool
- func (w *ModalWindow) Event_MENU_DRAW_BACKGROUND(pFun XWM_MENU_DRAW_BACKGROUND) bool
- func (w *ModalWindow) Event_MENU_EXIT(pFun XWM_MENU_EXIT) bool
- func (w *ModalWindow) Event_MENU_POPUP(pFun XWM_MENU_POPUP) bool
- func (w *ModalWindow) Event_MENU_POPUP_WND(pFun XWM_MENU_POPUP_WND) bool
- func (w *ModalWindow) Event_MENU_SELECT(pFun XWM_MENU_SELECT) bool
- func (w *ModalWindow) Event_MOUSEHOVER(pFun WM_MOUSEHOVER) bool
- func (w *ModalWindow) Event_MOUSEHOVER1(pFun WM_MOUSEHOVER1) bool
- func (w *ModalWindow) Event_MOUSELEAVE(pFun WM_MOUSELEAVE) bool
- func (w *ModalWindow) Event_MOUSELEAVE1(pFun WM_MOUSELEAVE1) bool
- func (w *ModalWindow) Event_MOUSEMOVE(pFun WM_MOUSEMOVE) bool
- func (w *ModalWindow) Event_MOUSEMOVE1(pFun WM_MOUSEMOVE1) bool
- func (w *ModalWindow) Event_MOUSEWHEEL(pFun WM_MOUSEWHEEL) bool
- func (w *ModalWindow) Event_MOUSEWHEEL1(pFun WM_MOUSEWHEEL1) bool
- func (w *ModalWindow) Event_NCDESTROY(pFun WM_NCDESTROY) bool
- func (w *ModalWindow) Event_NCDESTROY1(pFun WM_NCDESTROY1) bool
- func (w *ModalWindow) Event_PAINT(pFun WM_PAINT) bool
- func (w *ModalWindow) Event_PAINT1(pFun WM_PAINT1) bool
- func (w *ModalWindow) Event_PAINT_DISPLAY(pFun XWM_PAINT_DISPLAY) bool
- func (w *ModalWindow) Event_PAINT_DISPLAY1(pFun XWM_PAINT_DISPLAY1) bool
- func (w *ModalWindow) Event_PAINT_END(pFun XWM_PAINT_END) bool
- func (w *ModalWindow) Event_PAINT_END1(pFun XWM_PAINT_END1) bool
- func (w *ModalWindow) Event_RBUTTONDBLCLK(pFun WM_RBUTTONDBLCLK) bool
- func (w *ModalWindow) Event_RBUTTONDBLCLK1(pFun WM_RBUTTONDBLCLK1) bool
- func (w *ModalWindow) Event_RBUTTONDOWN(pFun WM_RBUTTONDOWN) bool
- func (w *ModalWindow) Event_RBUTTONDOWN1(pFun WM_RBUTTONDOWN1) bool
- func (w *ModalWindow) Event_RBUTTONUP(pFun WM_RBUTTONUP) bool
- func (w *ModalWindow) Event_RBUTTONUP1(pFun WM_RBUTTONUP1) bool
- func (w *ModalWindow) Event_SETCURSOR(pFun WM_SETCURSOR) bool
- func (w *ModalWindow) Event_SETCURSOR1(pFun WM_SETCURSOR1) bool
- func (w *ModalWindow) Event_SETFOCUS(pFun WM_SETFOCUS) bool
- func (w *ModalWindow) Event_SETFOCUS1(pFun WM_SETFOCUS1) bool
- func (w *ModalWindow) Event_SIZE(pFun WM_SIZE) bool
- func (w *ModalWindow) Event_SIZE1(pFun WM_SIZE1) bool
- func (w *ModalWindow) Event_TIMER(pFun WM_TIMER) bool
- func (w *ModalWindow) Event_TIMER1(pFun WM_TIMER1) bool
- func (w *ModalWindow) Event_WINDPROC(pFun XWM_WINDPROC) bool
- func (w *ModalWindow) Event_WINDPROC1(pFun XWM_WINDPROC1) bool
- func (w *ModalWindow) Event_XC_TIMER(pFun XWM_XC_TIMER) bool
- func (w *ModalWindow) Event_XC_TIMER1(pFun XWM_XC_TIMER1) bool
- func (w *ModalWindow) GetBkInfoCount() int
- func (w *ModalWindow) GetBkManager() int
- func (w *ModalWindow) GetBkManagerEx() int
- func (w *ModalWindow) GetBodyRect(pRect *xc.RECT) int
- func (w *ModalWindow) GetBorderSize(pBorder *xc.RECT) int
- func (w *ModalWindow) GetButton(nFlag int) int
- func (w *ModalWindow) GetCaptureEle() int
- func (w *ModalWindow) GetCaretHELE() int
- func (w *ModalWindow) GetCaretInfo(pX, pY, pWidth, pHeight *int) int
- func (w *ModalWindow) GetChild(nID int) int
- func (w *ModalWindow) GetChildByID(nID int) int
- func (w *ModalWindow) GetChildByIndex(index int) int
- func (w *ModalWindow) GetChildCount() int
- func (w *ModalWindow) GetClientRect(pRect *xc.RECT) int
- func (w *ModalWindow) GetCursor() int
- func (w *ModalWindow) GetDragBorderSize(pBorder *xc.RECT) int
- func (w *ModalWindow) GetDrawRect(pRcPaint *xc.RECT) int
- func (w *ModalWindow) GetFocusEle() int
- func (w *ModalWindow) GetHWND() int
- func (w *ModalWindow) GetID() int
- func (w *ModalWindow) GetIcon() int
- func (w *ModalWindow) GetLayoutRect(pRect *xc.RECT) int
- func (w *ModalWindow) GetName() string
- func (w *ModalWindow) GetObjectByID(nID int) int
- func (w *ModalWindow) GetObjectByIDName(pName string) int
- func (w *ModalWindow) GetRect(pRect *xc.RECT) int
- func (w *ModalWindow) GetShadowInfo(nSize *int, nDepth *byte, nAngeleSize *int, bRightAngle *bool, color *int) int
- func (w *ModalWindow) GetStayEle() int
- func (w *ModalWindow) GetTextColor() int
- func (w *ModalWindow) GetTextColorEx() int
- func (w *ModalWindow) GetTitle() string
- func (w *ModalWindow) GetTitleColor() int
- func (w *ModalWindow) GetTransparentType() xcc.Window_Transparent_
- func (w *ModalWindow) HitChildEle(pPt *xc.POINT) int
- func (w *ModalWindow) InsertChild(hChild int, index int) bool
- func (w *ModalWindow) IsDragBorder() bool
- func (w *ModalWindow) IsDragCaption() bool
- func (w *ModalWindow) IsDragWindow() bool
- func (w *ModalWindow) IsEnableLayout() bool
- func (w *ModalWindow) IsHWINDOW() bool
- func (w *ModalWindow) IsMaxWindow() bool
- func (w *ModalWindow) KillTimer(nIDEvent int) int
- func (w *ModalWindow) KillXCTimer(nIDEvent int) int
- func (w *ModalWindow) MaxWindow(bMaximize bool) int
- func (w *ModalWindow) MessageBox(pTitle, pText string, nFlags xcc.MessageBox_Flag_, XCStyle xcc.Window_Style_) xcc.MessageBox_Flag_
- func (w *ModalWindow) Msg_Create(pTitle, pText string, nFlags xcc.MessageBox_Flag_, XCStyle xcc.Window_Style_) *ModalWindow
- func (w *ModalWindow) Msg_CreateEx(dwExStyle, dwStyle int, lpClassName, pTitle, pText string, ...) *ModalWindow
- func (w *ModalWindow) NotifyMsg_SetBorderSize(left, top, right, bottom int) int
- func (w *ModalWindow) NotifyMsg_SetCaptionHeight(nHeight int) int
- func (w *ModalWindow) NotifyMsg_SetDuration(duration int) int
- func (w *ModalWindow) NotifyMsg_SetParentMargin(left, top, right, bottom int) int
- func (w *ModalWindow) NotifyMsg_SetSpace(nSpace int) int
- func (w *ModalWindow) NotifyMsg_SetWidth(nWidth int) int
- func (w *ModalWindow) NotifyMsg_WindowPopup(position xcc.Position_Flag_, pTitle, pText string, hIcon int, ...) int
- func (w *ModalWindow) NotifyMsg_WindowPopupEx(position xcc.Position_Flag_, pTitle, pText string, hIcon int, ...) int
- func (w *ModalWindow) PostMessage(msg int, wParam int, lParam int) bool
- func (w *ModalWindow) Redraw(bImmediate bool) int
- func (w *ModalWindow) RedrawRect(pRect *xc.RECT, bImmediate bool) int
- func (w *ModalWindow) RegEventC(nEvent xcc.WM_, pFun interface{}) bool
- func (w *ModalWindow) RegEventC1(nEvent xcc.WM_, pFun interface{}) bool
- func (w *ModalWindow) RemoveEventC(nEvent xcc.WM_, pFun interface{}) bool
- func (w *ModalWindow) SendMessage(msg int, wParam int, lParam int) int
- func (w *ModalWindow) SetBkInfo(pText string) int
- func (w *ModalWindow) SetBkMagager(hBkInfoM int) int
- func (w *ModalWindow) SetBorderSize(left, top, right, bottom int) int
- func (w *ModalWindow) SetCaptionMargin(left int, top int, right int, bottom int) int
- func (w *ModalWindow) SetCaptureEle(hEle int) int
- func (w *ModalWindow) SetCaretColor(color int) int
- func (w *ModalWindow) SetCaretPos(x, y, width, height int, bUpdate bool) int
- func (w *ModalWindow) SetCursor(hCursor int) int
- func (w *ModalWindow) SetCursorSys(hCursor int) int
- func (w *ModalWindow) SetDragBorderSize(left, top, right, bottom int) int
- func (w *ModalWindow) SetFocusEle(hFocusEle int) bool
- func (w *ModalWindow) SetFont(hFontx int) int
- func (w *ModalWindow) SetID(nID int) int
- func (w *ModalWindow) SetIcon(hImage int) int
- func (w *ModalWindow) SetMinimumSize(width, height int) int
- func (w *ModalWindow) SetName(pName string) int
- func (w *ModalWindow) SetPadding(left, top, right, bottom int) int
- func (w *ModalWindow) SetPosition(x, y int) int
- func (w *ModalWindow) SetRect(pRect *xc.RECT) bool
- func (w *ModalWindow) SetShadowInfo(nSize int, nDepth byte, nAngeleSize int, bRightAngle bool, color int) int
- func (w *ModalWindow) SetTextColor(color int) int
- func (w *ModalWindow) SetTimer(nIDEvent, uElapse int) int
- func (w *ModalWindow) SetTitle(pTitle string) int
- func (w *ModalWindow) SetTitleColor(color int) int
- func (w *ModalWindow) SetTop() int
- func (w *ModalWindow) SetTopEx(b bool) bool
- func (w *ModalWindow) SetTransparentAlpha(alpha byte) int
- func (w *ModalWindow) SetTransparentColor(color int) int
- func (w *ModalWindow) SetTransparentType(nType xcc.Window_Transparent_) int
- func (w *ModalWindow) SetXCTimer(nIDEvent, uElapse int) int
- func (w *ModalWindow) Show(bShow bool) int
- func (w *ModalWindow) ShowCaret(bShow bool) int
- func (w *ModalWindow) ShowLayoutFrame(bEnable bool) int
- func (w *ModalWindow) ShowWindow(nCmdShow xcc.SW_) int
- type WM_CAPTURECHANGED
- type WM_CAPTURECHANGED1
- type WM_CHAR
- type WM_CHAR1
- type WM_CLOSE
- type WM_CLOSE1
- type WM_DESTROY
- type WM_DESTROY1
- type WM_DROPFILES
- type WM_DROPFILES1
- type WM_EXITSIZEMOVE
- type WM_EXITSIZEMOVE1
- type WM_KEYDOWN
- type WM_KEYDOWN1
- type WM_KILLFOCUS
- type WM_KILLFOCUS1
- type WM_LBUTTONDBLCLK
- type WM_LBUTTONDBLCLK1
- type WM_LBUTTONDOWN
- type WM_LBUTTONDOWN1
- type WM_LBUTTONUP
- type WM_LBUTTONUP1
- type WM_MOUSEHOVER
- type WM_MOUSEHOVER1
- type WM_MOUSELEAVE
- type WM_MOUSELEAVE1
- type WM_MOUSEMOVE
- type WM_MOUSEMOVE1
- type WM_MOUSEWHEEL
- type WM_MOUSEWHEEL1
- type WM_NCDESTROY
- type WM_NCDESTROY1
- type WM_PAINT
- type WM_PAINT1
- type WM_RBUTTONDBLCLK
- type WM_RBUTTONDBLCLK1
- type WM_RBUTTONDOWN
- type WM_RBUTTONDOWN1
- type WM_RBUTTONUP
- type WM_RBUTTONUP1
- type WM_SETCURSOR
- type WM_SETCURSOR1
- type WM_SETFOCUS
- type WM_SETFOCUS1
- type WM_SIZE
- type WM_SIZE1
- type WM_TIMER
- type WM_TIMER1
- type Window
- func Attach(hWnd int, XCStyle xcc.Window_Style_) *Window
- func FrameWnd_Attach(hWnd, XCStyle int) *Window
- func ModalWnd_Attach(hWnd int, XCStyle xcc.Window_Style_) *Window
- func NewWindow(x int, y int, cx int, cy int, pTitle string, hWndParent int, ...) *Window
- func NewWindowByHandle(hWindow int) *Window
- func NewWindowByLayout(pFileName string, hParent, hAttachWnd int) *Window
- func NewWindowByLayoutStringW(pStringXML string, hParent int, hAttachWnd int) *Window
- func NewWindowByLayoutZip(pZipFileName string, pFileName string, pPassword string, ...) *Window
- func NewWindowByLayoutZipMem(data []byte, pFileName string, pPassword string, hParent int, hAttachWnd int) *Window
- func NewWindowByName(name string) *Window
- func NewWindowByUID(nUID int) *Window
- func NewWindowByUIDName(name string) *Window
- func NewWindowEx(dwExStyle int, dwStyle int, lpClassName string, x int, y int, cx int, cy int, ...) *Window
- func (w *Window) AddBkBorder(nState xcc.Window_State_Flag_, color int, width int) int
- func (w *Window) AddBkFill(nState xcc.Window_State_Flag_, color int) int
- func (w *Window) AddBkImage(nState xcc.Window_State_Flag_, hImage int) int
- func (w *Window) AddChild(hChild int) bool
- func (w *Window) AdjustLayout() int
- func (w *Window) AdjustLayoutEx(nFlags xcc.AdjustLayout_) int
- func (w *Window) Center() int
- func (w *Window) CenterEx(width, height int) int
- func (w *Window) ClearBkInfo() int
- func (w *Window) CloseWindow() int
- func (w *Window) CreateCaret(hEle, x, y, width, height int) int
- func (w *Window) DestroyCaret() int
- func (w *Window) DrawWindow(hDraw int) int
- func (w *Window) EnableAutoFocus(bEnable bool) int
- func (w *Window) EnableAutoWrap(bEnable bool) int
- func (w *Window) EnableDragBorder(bEnable bool) int
- func (w *Window) EnableDragCaption(bEnable bool) int
- func (w *Window) EnableDragFiles(bEnable bool) bool
- func (w *Window) EnableDragWindow(bEnable bool) int
- func (w *Window) EnableDrawBk(bEnable bool) int
- func (w *Window) EnableHorizon(bEnable bool) int
- func (w *Window) EnableLayout(bEnable bool) int
- func (w *Window) EnableLayoutOverlayBorder(bEnable bool) int
- func (w *Window) EnableMaxWindow(bEnable bool) int
- func (w *Window) EnableOverflowHide(bEnable bool) int
- func (w *Window) EnablemLimitWindowSize(bEnable bool) int
- func (w *Window) Event_CAPTURECHANGED(pFun WM_CAPTURECHANGED) bool
- func (w *Window) Event_CAPTURECHANGED1(pFun WM_CAPTURECHANGED1) bool
- func (w *Window) Event_CHAR(pFun WM_CHAR) bool
- func (w *Window) Event_CHAR1(pFun WM_CHAR1) bool
- func (w *Window) Event_CLOSE(pFun WM_CLOSE) bool
- func (w *Window) Event_CLOSE1(pFun WM_CLOSE1) bool
- func (w *Window) Event_DESTROY(pFun WM_DESTROY) bool
- func (w *Window) Event_DESTROY1(pFun WM_DESTROY1) bool
- func (w *Window) Event_DOCK_POPUP(pFun XWM_DOCK_POPUP) bool
- func (w *Window) Event_DOCK_POPUP1(pFun XWM_DOCK_POPUP1) bool
- func (w *Window) Event_DROPFILES(pFun WM_DROPFILES) bool
- func (w *Window) Event_DROPFILES1(pFun WM_DROPFILES1) bool
- func (w *Window) Event_EXITSIZEMOVE(pFun WM_EXITSIZEMOVE) bool
- func (w *Window) Event_EXITSIZEMOVE1(pFun WM_EXITSIZEMOVE1) bool
- func (w *Window) Event_FLOATWND_DRAG(pFun XWM_FLOATWND_DRAG) bool
- func (w *Window) Event_FLOATWND_DRAG1(pFun XWM_FLOATWND_DRAG1) bool
- func (w *Window) Event_FLOAT_PANE(pFun XWM_FLOAT_PANE) bool
- func (w *Window) Event_FLOAT_PANE1(pFun XWM_FLOAT_PANE1) bool
- func (w *Window) Event_KEYDOWN(pFun WM_KEYDOWN) bool
- func (w *Window) Event_KEYDOWN1(pFun WM_KEYDOWN1) bool
- func (w *Window) Event_KILLFOCUS(pFun WM_KILLFOCUS) bool
- func (w *Window) Event_KILLFOCUS1(pFun WM_KILLFOCUS1) bool
- func (w *Window) Event_LBUTTONDBLCLK(pFun WM_LBUTTONDBLCLK) bool
- func (w *Window) Event_LBUTTONDBLCLK1(pFun WM_LBUTTONDBLCLK1) bool
- func (w *Window) Event_LBUTTONDOWN(pFun WM_LBUTTONDOWN) bool
- func (w *Window) Event_LBUTTONDOWN1(pFun WM_LBUTTONDOWN1) bool
- func (w *Window) Event_LBUTTONUP(pFun WM_LBUTTONUP) bool
- func (w *Window) Event_LBUTTONUP1(pFun WM_LBUTTONUP1) bool
- func (w *Window) Event_MENU_DRAWITEM(pFun XWM_MENU_DRAWITEM) bool
- func (w *Window) Event_MENU_DRAW_BACKGROUND(pFun XWM_MENU_DRAW_BACKGROUND) bool
- func (w *Window) Event_MENU_EXIT(pFun XWM_MENU_EXIT) bool
- func (w *Window) Event_MENU_POPUP(pFun XWM_MENU_POPUP) bool
- func (w *Window) Event_MENU_POPUP_WND(pFun XWM_MENU_POPUP_WND) bool
- func (w *Window) Event_MENU_SELECT(pFun XWM_MENU_SELECT) bool
- func (w *Window) Event_MOUSEHOVER(pFun WM_MOUSEHOVER) bool
- func (w *Window) Event_MOUSEHOVER1(pFun WM_MOUSEHOVER1) bool
- func (w *Window) Event_MOUSELEAVE(pFun WM_MOUSELEAVE) bool
- func (w *Window) Event_MOUSELEAVE1(pFun WM_MOUSELEAVE1) bool
- func (w *Window) Event_MOUSEMOVE(pFun WM_MOUSEMOVE) bool
- func (w *Window) Event_MOUSEMOVE1(pFun WM_MOUSEMOVE1) bool
- func (w *Window) Event_MOUSEWHEEL(pFun WM_MOUSEWHEEL) bool
- func (w *Window) Event_MOUSEWHEEL1(pFun WM_MOUSEWHEEL1) bool
- func (w *Window) Event_NCDESTROY(pFun WM_NCDESTROY) bool
- func (w *Window) Event_NCDESTROY1(pFun WM_NCDESTROY1) bool
- func (w *Window) Event_PAINT(pFun WM_PAINT) bool
- func (w *Window) Event_PAINT1(pFun WM_PAINT1) bool
- func (w *Window) Event_PAINT_DISPLAY(pFun XWM_PAINT_DISPLAY) bool
- func (w *Window) Event_PAINT_DISPLAY1(pFun XWM_PAINT_DISPLAY1) bool
- func (w *Window) Event_PAINT_END(pFun XWM_PAINT_END) bool
- func (w *Window) Event_PAINT_END1(pFun XWM_PAINT_END1) bool
- func (w *Window) Event_RBUTTONDBLCLK(pFun WM_RBUTTONDBLCLK) bool
- func (w *Window) Event_RBUTTONDBLCLK1(pFun WM_RBUTTONDBLCLK1) bool
- func (w *Window) Event_RBUTTONDOWN(pFun WM_RBUTTONDOWN) bool
- func (w *Window) Event_RBUTTONDOWN1(pFun WM_RBUTTONDOWN1) bool
- func (w *Window) Event_RBUTTONUP(pFun WM_RBUTTONUP) bool
- func (w *Window) Event_RBUTTONUP1(pFun WM_RBUTTONUP1) bool
- func (w *Window) Event_SETCURSOR(pFun WM_SETCURSOR) bool
- func (w *Window) Event_SETCURSOR1(pFun WM_SETCURSOR1) bool
- func (w *Window) Event_SETFOCUS(pFun WM_SETFOCUS) bool
- func (w *Window) Event_SETFOCUS1(pFun WM_SETFOCUS1) bool
- func (w *Window) Event_SIZE(pFun WM_SIZE) bool
- func (w *Window) Event_SIZE1(pFun WM_SIZE1) bool
- func (w *Window) Event_TIMER(pFun WM_TIMER) bool
- func (w *Window) Event_TIMER1(pFun WM_TIMER1) bool
- func (w *Window) Event_WINDPROC(pFun XWM_WINDPROC) bool
- func (w *Window) Event_WINDPROC1(pFun XWM_WINDPROC1) bool
- func (w *Window) Event_XC_TIMER(pFun XWM_XC_TIMER) bool
- func (w *Window) Event_XC_TIMER1(pFun XWM_XC_TIMER1) bool
- func (w *Window) GetBkInfoCount() int
- func (w *Window) GetBkManager() int
- func (w *Window) GetBkManagerEx() int
- func (w *Window) GetBodyRect(pRect *xc.RECT) int
- func (w *Window) GetBorderSize(pBorder *xc.RECT) int
- func (w *Window) GetButton(nFlag int) int
- func (w *Window) GetCaptureEle() int
- func (w *Window) GetCaretHELE() int
- func (w *Window) GetCaretInfo(pX, pY, pWidth, pHeight *int) int
- func (w *Window) GetChild(nID int) int
- func (w *Window) GetChildByID(nID int) int
- func (w *Window) GetChildByIndex(index int) int
- func (w *Window) GetChildCount() int
- func (w *Window) GetClientRect(pRect *xc.RECT) int
- func (w *Window) GetCursor() int
- func (w *Window) GetDragBorderSize(pBorder *xc.RECT) int
- func (w *Window) GetDrawRect(pRcPaint *xc.RECT) int
- func (w *Window) GetFocusEle() int
- func (w *Window) GetHWND() int
- func (w *Window) GetID() int
- func (w *Window) GetIcon() int
- func (w *Window) GetLayoutRect(pRect *xc.RECT) int
- func (w *Window) GetName() string
- func (w *Window) GetObjectByID(nID int) int
- func (w *Window) GetObjectByIDName(pName string) int
- func (w *Window) GetRect(pRect *xc.RECT) int
- func (w *Window) GetShadowInfo(nSize *int, nDepth *byte, nAngeleSize *int, bRightAngle *bool, color *int) int
- func (w *Window) GetStayEle() int
- func (w *Window) GetTextColor() int
- func (w *Window) GetTextColorEx() int
- func (w *Window) GetTitle() string
- func (w *Window) GetTitleColor() int
- func (w *Window) GetTransparentType() xcc.Window_Transparent_
- func (w *Window) HitChildEle(pPt *xc.POINT) int
- func (w *Window) InsertChild(hChild int, index int) bool
- func (w *Window) IsDragBorder() bool
- func (w *Window) IsDragCaption() bool
- func (w *Window) IsDragWindow() bool
- func (w *Window) IsEnableLayout() bool
- func (w *Window) IsHWINDOW() bool
- func (w *Window) IsMaxWindow() bool
- func (w *Window) KillTimer(nIDEvent int) int
- func (w *Window) KillXCTimer(nIDEvent int) int
- func (w *Window) MaxWindow(bMaximize bool) int
- func (w *Window) MessageBox(pTitle, pText string, nFlags xcc.MessageBox_Flag_, XCStyle xcc.Window_Style_) xcc.MessageBox_Flag_
- func (w *Window) Msg_Create(pTitle, pText string, nFlags xcc.MessageBox_Flag_, XCStyle xcc.Window_Style_) *ModalWindow
- func (w *Window) Msg_CreateEx(dwExStyle, dwStyle int, lpClassName, pTitle, pText string, ...) *ModalWindow
- func (w *Window) NotifyMsg_SetBorderSize(left, top, right, bottom int) int
- func (w *Window) NotifyMsg_SetCaptionHeight(nHeight int) int
- func (w *Window) NotifyMsg_SetDuration(duration int) int
- func (w *Window) NotifyMsg_SetParentMargin(left, top, right, bottom int) int
- func (w *Window) NotifyMsg_SetSpace(nSpace int) int
- func (w *Window) NotifyMsg_SetWidth(nWidth int) int
- func (w *Window) NotifyMsg_WindowPopup(position xcc.Position_Flag_, pTitle, pText string, hIcon int, ...) int
- func (w *Window) NotifyMsg_WindowPopupEx(position xcc.Position_Flag_, pTitle, pText string, hIcon int, ...) int
- func (w *Window) PostMessage(msg int, wParam int, lParam int) bool
- func (w *Window) Redraw(bImmediate bool) int
- func (w *Window) RedrawRect(pRect *xc.RECT, bImmediate bool) int
- func (w *Window) RegEventC(nEvent xcc.WM_, pFun interface{}) bool
- func (w *Window) RegEventC1(nEvent xcc.WM_, pFun interface{}) bool
- func (w *Window) RemoveEventC(nEvent xcc.WM_, pFun interface{}) bool
- func (w *Window) SendMessage(msg int, wParam int, lParam int) int
- func (w *Window) SetAlignBaseline(nAlign xcc.Layout_Align_Axis_) int
- func (w *Window) SetAlignH(nAlign xcc.Layout_Align_) int
- func (w *Window) SetAlignV(nAlign xcc.Layout_Align_) int
- func (w *Window) SetBkInfo(pText string) int
- func (w *Window) SetBkMagager(hBkInfoM int) int
- func (w *Window) SetBorderSize(left, top, right, bottom int) int
- func (w *Window) SetCaptionMargin(left int, top int, right int, bottom int) int
- func (w *Window) SetCaptureEle(hEle int) int
- func (w *Window) SetCaretColor(color int) int
- func (w *Window) SetCaretPos(x, y, width, height int, bUpdate bool) int
- func (w *Window) SetCursor(hCursor int) int
- func (w *Window) SetCursorSys(hCursor int) int
- func (w *Window) SetDragBorderSize(left, top, right, bottom int) int
- func (w *Window) SetFocusEle(hFocusEle int) bool
- func (w *Window) SetFont(hFontx int) int
- func (w *Window) SetID(nID int) int
- func (w *Window) SetIcon(hImage int) int
- func (w *Window) SetMinimumSize(width, height int) int
- func (w *Window) SetName(pName string) int
- func (w *Window) SetPadding(left, top, right, bottom int) int
- func (w *Window) SetPosition(x, y int) int
- func (w *Window) SetRect(pRect *xc.RECT) bool
- func (w *Window) SetShadowInfo(nSize int, nDepth byte, nAngeleSize int, bRightAngle bool, color int) int
- func (w *Window) SetSpace(nSpace int) int
- func (w *Window) SetSpaceRow(nSpace int) int
- func (w *Window) SetTextColor(color int) int
- func (w *Window) SetTimer(nIDEvent, uElapse int) int
- func (w *Window) SetTitle(pTitle string) int
- func (w *Window) SetTitleColor(color int) int
- func (w *Window) SetTop() int
- func (w *Window) SetTopEx(b bool) bool
- func (w *Window) SetTransparentAlpha(alpha byte) int
- func (w *Window) SetTransparentColor(color int) int
- func (w *Window) SetTransparentType(nType xcc.Window_Transparent_) int
- func (w *Window) SetXCTimer(nIDEvent, uElapse int) int
- func (w *Window) Show(bShow bool) int
- func (w *Window) ShowCaret(bShow bool) int
- func (w *Window) ShowLayoutFrame(bEnable bool) int
- func (w *Window) ShowWindow(nCmdShow xcc.SW_) int
- type XWM_DOCK_POPUP
- type XWM_DOCK_POPUP1
- type XWM_FLOATWND_DRAG
- type XWM_FLOATWND_DRAG1
- type XWM_FLOAT_PANE
- type XWM_FLOAT_PANE1
- type XWM_MENU_DRAWITEM
- type XWM_MENU_DRAW_BACKGROUND
- type XWM_MENU_EXIT
- type XWM_MENU_POPUP
- type XWM_MENU_POPUP_WND
- type XWM_MENU_SELECT
- type XWM_PAINT_DISPLAY
- type XWM_PAINT_DISPLAY1
- type XWM_PAINT_END
- type XWM_PAINT_END1
- type XWM_WINDPROC
- type XWM_WINDPROC1
- type XWM_XC_TIMER
- type XWM_XC_TIMER1
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type FrameWindow ¶
type FrameWindow struct {
// contains filtered or unexported fields
}
func NewFrameWindow ¶
func NewFrameWindow(x int, y int, cx int, cy int, pTitle string, hWndParent int, XCStyle xcc.Window_Style_) *FrameWindow
框架窗口_创建.
x: 窗口左上角x坐标.
y: 窗口左上角y坐标.
cx: 窗口宽度.
cy: 窗口高度.
pTitle: 窗口标题.
hWndParent: 父窗口.
XCStyle: GUI库窗口样式: Window_Style_.
func NewFrameWindowByUIDName ¶
func NewFrameWindowByUIDName(name string) *FrameWindow
从UID名称创建对象, 失败返回nil.
func NewFrameWindowEx ¶
func NewFrameWindowEx(dwExStyle int, dwStyle int, lpClassName string, x int, y int, cx int, cy int, pTitle string, hWndParent int, XCStyle xcc.Window_Style_) *FrameWindow
框架窗口_创建扩展.
dwExStyle: 窗口扩展样式.
dwStyle: 窗口样式.
lpClassName: 窗口类名.
x: 窗口左上角x坐标.
y: 窗口左上角y坐标.
cx: 窗口宽度.
cy: 窗口高度.
pTitle: 窗口名.
hWndParent: 父窗口.
XCStyle: GUI库窗口样式: Window_Style_.
func (*FrameWindow) AddBkBorder ¶
func (w *FrameWindow) AddBkBorder(nState xcc.Window_State_Flag_, color int, width int) int
窗口_添加背景边框.
nState: 组合状态.
color: ABGR颜色.
width: 线宽.
func (*FrameWindow) AddBkFill ¶
func (w *FrameWindow) AddBkFill(nState xcc.Window_State_Flag_, color int) int
窗口_添加背景填充.
nState: 组合状态.
color: ABGR颜色.
func (*FrameWindow) AddBkImage ¶
func (w *FrameWindow) AddBkImage(nState xcc.Window_State_Flag_, hImage int) int
窗口_添加背景图片.
nState: 组合状态.
hImage: 图片句柄.
func (*FrameWindow) AddPane ¶
func (fw *FrameWindow) AddPane(hPaneDest int, hPaneNew int, align xcc.Pane_Align_) bool
框架窗口_添加窗格, 添加窗格到框架窗口.
hPaneDest: 目标窗格.
hPaneNew: 当前窗格.
align: 对齐方式, Pane_Align_.
func (*FrameWindow) AdjustLayoutEx ¶
func (w *FrameWindow) AdjustLayoutEx(nFlags xcc.AdjustLayout_) int
窗口_调整布局扩展.
nFlags: 调整布局标识位: xcc.AdjustLayout_.
func (*FrameWindow) Event_CAPTURECHANGED ¶
func (w *FrameWindow) Event_CAPTURECHANGED(pFun WM_CAPTURECHANGED) bool
窗口鼠标捕获改变消息.
func (*FrameWindow) Event_CAPTURECHANGED1 ¶
func (w *FrameWindow) Event_CAPTURECHANGED1(pFun WM_CAPTURECHANGED1) bool
窗口鼠标捕获改变消息.
func (*FrameWindow) Event_DESTROY ¶
func (w *FrameWindow) Event_DESTROY(pFun WM_DESTROY) bool
窗口销毁消息.
func (*FrameWindow) Event_DESTROY1 ¶
func (w *FrameWindow) Event_DESTROY1(pFun WM_DESTROY1) bool
窗口销毁消息.
func (*FrameWindow) Event_DOCK_POPUP ¶
func (w *FrameWindow) Event_DOCK_POPUP(pFun XWM_DOCK_POPUP) bool
框架窗口码头弹出窗格, 当用户点击码头上的按钮时, 显示对应的窗格, 当失去焦点时自动隐藏窗格.
func (*FrameWindow) Event_DOCK_POPUP1 ¶
func (w *FrameWindow) Event_DOCK_POPUP1(pFun XWM_DOCK_POPUP1) bool
框架窗口码头弹出窗格, 当用户点击码头上的按钮时, 显示对应的窗格, 当失去焦点时自动隐藏窗格.
func (*FrameWindow) Event_DROPFILES ¶
func (w *FrameWindow) Event_DROPFILES(pFun WM_DROPFILES) bool
拖动文件到窗口.
func (*FrameWindow) Event_DROPFILES1 ¶
func (w *FrameWindow) Event_DROPFILES1(pFun WM_DROPFILES1) bool
拖动文件到窗口.
func (*FrameWindow) Event_EXITSIZEMOVE ¶
func (w *FrameWindow) Event_EXITSIZEMOVE(pFun WM_EXITSIZEMOVE) bool
窗口退出移动或调整大小模式循环改,详情参见MSDN.
func (*FrameWindow) Event_EXITSIZEMOVE1 ¶
func (w *FrameWindow) Event_EXITSIZEMOVE1(pFun WM_EXITSIZEMOVE1) bool
窗口退出移动或调整大小模式循环改,详情参见MSDN.
func (*FrameWindow) Event_FLOATWND_DRAG ¶
func (w *FrameWindow) Event_FLOATWND_DRAG(pFun XWM_FLOATWND_DRAG) bool
浮动窗口拖动, 用户拖动浮动窗口移动, 显示停靠提示.
hFloatWnd: 拖动的浮动窗口句柄.
hArray: HWINDOW array[6], 窗格停靠提示窗口句柄数组, 有6个成员, 分别为:[0]中间十字, [1]左侧, [2]顶部, [3]右侧, [4]底部, [5]停靠位置预览.
func (*FrameWindow) Event_FLOATWND_DRAG1 ¶
func (w *FrameWindow) Event_FLOATWND_DRAG1(pFun XWM_FLOATWND_DRAG1) bool
浮动窗口拖动, 用户拖动浮动窗口移动, 显示停靠提示.
hWindow: 传入的窗口资源句柄.
hFloatWnd: 拖动的浮动窗口句柄.
hArray: HWINDOW array[6], 窗格停靠提示窗口句柄数组, 有6个成员, 分别为:[0]中间十字, [1]左侧, [2]顶部, [3]右侧, [4]底部, [5]停靠位置预览.
func (*FrameWindow) Event_FLOAT_PANE ¶
func (w *FrameWindow) Event_FLOAT_PANE(pFun XWM_FLOAT_PANE) bool
浮动窗格.
func (*FrameWindow) Event_FLOAT_PANE1 ¶
func (w *FrameWindow) Event_FLOAT_PANE1(pFun XWM_FLOAT_PANE1) bool
浮动窗格.
func (*FrameWindow) Event_KEYDOWN ¶
func (w *FrameWindow) Event_KEYDOWN(pFun WM_KEYDOWN) bool
窗口键盘按键消息.
func (*FrameWindow) Event_KEYDOWN1 ¶
func (w *FrameWindow) Event_KEYDOWN1(pFun WM_KEYDOWN1) bool
窗口键盘按键消息.
func (*FrameWindow) Event_KILLFOCUS ¶
func (w *FrameWindow) Event_KILLFOCUS(pFun WM_KILLFOCUS) bool
窗口失去焦点.
func (*FrameWindow) Event_KILLFOCUS1 ¶
func (w *FrameWindow) Event_KILLFOCUS1(pFun WM_KILLFOCUS1) bool
窗口失去焦点.
func (*FrameWindow) Event_LBUTTONDBLCLK ¶
func (w *FrameWindow) Event_LBUTTONDBLCLK(pFun WM_LBUTTONDBLCLK) bool
窗口鼠标左键双击消息.
func (*FrameWindow) Event_LBUTTONDBLCLK1 ¶
func (w *FrameWindow) Event_LBUTTONDBLCLK1(pFun WM_LBUTTONDBLCLK1) bool
窗口鼠标左键双击消息.
func (*FrameWindow) Event_LBUTTONDOWN ¶
func (w *FrameWindow) Event_LBUTTONDOWN(pFun WM_LBUTTONDOWN) bool
窗口鼠标左键按下消息.
func (*FrameWindow) Event_LBUTTONDOWN1 ¶
func (w *FrameWindow) Event_LBUTTONDOWN1(pFun WM_LBUTTONDOWN1) bool
窗口鼠标左键按下消息.
func (*FrameWindow) Event_LBUTTONUP ¶
func (w *FrameWindow) Event_LBUTTONUP(pFun WM_LBUTTONUP) bool
窗口鼠标左键弹起消息.
func (*FrameWindow) Event_LBUTTONUP1 ¶
func (w *FrameWindow) Event_LBUTTONUP1(pFun WM_LBUTTONUP1) bool
窗口鼠标左键弹起消息.
func (*FrameWindow) Event_MENU_DRAWITEM ¶
func (w *FrameWindow) Event_MENU_DRAWITEM(pFun XWM_MENU_DRAWITEM) bool
绘制菜单项事件, 启用该功能需要调用XMenu_EnableDrawItem().
func (*FrameWindow) Event_MENU_DRAW_BACKGROUND ¶
func (w *FrameWindow) Event_MENU_DRAW_BACKGROUND(pFun XWM_MENU_DRAW_BACKGROUND) bool
绘制菜单背景, 启用该功能需要调用XMenu_EnableDrawBackground().
func (*FrameWindow) Event_MENU_EXIT ¶
func (w *FrameWindow) Event_MENU_EXIT(pFun XWM_MENU_EXIT) bool
菜单退出.
func (*FrameWindow) Event_MENU_POPUP ¶
func (w *FrameWindow) Event_MENU_POPUP(pFun XWM_MENU_POPUP) bool
菜单弹出.
func (*FrameWindow) Event_MENU_POPUP_WND ¶
func (w *FrameWindow) Event_MENU_POPUP_WND(pFun XWM_MENU_POPUP_WND) bool
菜单弹出窗口.
func (*FrameWindow) Event_MENU_SELECT ¶
func (w *FrameWindow) Event_MENU_SELECT(pFun XWM_MENU_SELECT) bool
菜单选择.
func (*FrameWindow) Event_MOUSEHOVER ¶
func (w *FrameWindow) Event_MOUSEHOVER(pFun WM_MOUSEHOVER) bool
窗口鼠标进入消息.
func (*FrameWindow) Event_MOUSEHOVER1 ¶
func (w *FrameWindow) Event_MOUSEHOVER1(pFun WM_MOUSEHOVER1) bool
窗口鼠标进入消息.
func (*FrameWindow) Event_MOUSELEAVE ¶
func (w *FrameWindow) Event_MOUSELEAVE(pFun WM_MOUSELEAVE) bool
窗口鼠标离开消息.
func (*FrameWindow) Event_MOUSELEAVE1 ¶
func (w *FrameWindow) Event_MOUSELEAVE1(pFun WM_MOUSELEAVE1) bool
窗口鼠标离开消息.
func (*FrameWindow) Event_MOUSEMOVE ¶
func (w *FrameWindow) Event_MOUSEMOVE(pFun WM_MOUSEMOVE) bool
窗口鼠标移动消息.
func (*FrameWindow) Event_MOUSEMOVE1 ¶
func (w *FrameWindow) Event_MOUSEMOVE1(pFun WM_MOUSEMOVE1) bool
窗口鼠标移动消息.
func (*FrameWindow) Event_MOUSEWHEEL ¶
func (w *FrameWindow) Event_MOUSEWHEEL(pFun WM_MOUSEWHEEL) bool
窗口鼠标滚轮滚动消息.
func (*FrameWindow) Event_MOUSEWHEEL1 ¶
func (w *FrameWindow) Event_MOUSEWHEEL1(pFun WM_MOUSEWHEEL1) bool
窗口鼠标滚轮滚动消息.
func (*FrameWindow) Event_NCDESTROY ¶
func (w *FrameWindow) Event_NCDESTROY(pFun WM_NCDESTROY) bool
窗口非客户区销毁消息.
func (*FrameWindow) Event_NCDESTROY1 ¶
func (w *FrameWindow) Event_NCDESTROY1(pFun WM_NCDESTROY1) bool
窗口非客户区销毁消息.
func (*FrameWindow) Event_PAINT_DISPLAY ¶
func (w *FrameWindow) Event_PAINT_DISPLAY(pFun XWM_PAINT_DISPLAY) bool
窗口绘制完成并且已经显示到屏幕.
func (*FrameWindow) Event_PAINT_DISPLAY1 ¶
func (w *FrameWindow) Event_PAINT_DISPLAY1(pFun XWM_PAINT_DISPLAY1) bool
窗口绘制完成并且已经显示到屏幕.
func (*FrameWindow) Event_PAINT_END ¶
func (w *FrameWindow) Event_PAINT_END(pFun XWM_PAINT_END) bool
窗口绘制完成消息.
func (*FrameWindow) Event_PAINT_END1 ¶
func (w *FrameWindow) Event_PAINT_END1(pFun XWM_PAINT_END1) bool
窗口绘制完成消息.
func (*FrameWindow) Event_RBUTTONDBLCLK ¶
func (w *FrameWindow) Event_RBUTTONDBLCLK(pFun WM_RBUTTONDBLCLK) bool
窗口鼠标右键双击消息.
func (*FrameWindow) Event_RBUTTONDBLCLK1 ¶
func (w *FrameWindow) Event_RBUTTONDBLCLK1(pFun WM_RBUTTONDBLCLK1) bool
窗口鼠标右键双击消息.
func (*FrameWindow) Event_RBUTTONDOWN ¶
func (w *FrameWindow) Event_RBUTTONDOWN(pFun WM_RBUTTONDOWN) bool
窗口鼠标右键按下消息.
func (*FrameWindow) Event_RBUTTONDOWN1 ¶
func (w *FrameWindow) Event_RBUTTONDOWN1(pFun WM_RBUTTONDOWN1) bool
窗口鼠标右键按下消息.
func (*FrameWindow) Event_RBUTTONUP ¶
func (w *FrameWindow) Event_RBUTTONUP(pFun WM_RBUTTONUP) bool
窗口鼠标右键弹起消息.
func (*FrameWindow) Event_RBUTTONUP1 ¶
func (w *FrameWindow) Event_RBUTTONUP1(pFun WM_RBUTTONUP1) bool
窗口鼠标右键弹起消息.
func (*FrameWindow) Event_SETCURSOR ¶
func (w *FrameWindow) Event_SETCURSOR(pFun WM_SETCURSOR) bool
窗口设置鼠标光标.
func (*FrameWindow) Event_SETCURSOR1 ¶
func (w *FrameWindow) Event_SETCURSOR1(pFun WM_SETCURSOR1) bool
窗口设置鼠标光标.
func (*FrameWindow) Event_SETFOCUS ¶
func (w *FrameWindow) Event_SETFOCUS(pFun WM_SETFOCUS) bool
窗口获得焦点.
func (*FrameWindow) Event_SETFOCUS1 ¶
func (w *FrameWindow) Event_SETFOCUS1(pFun WM_SETFOCUS1) bool
窗口获得焦点.
func (*FrameWindow) Event_WINDPROC ¶
func (w *FrameWindow) Event_WINDPROC(pFun XWM_WINDPROC) bool
窗口消息过程.
func (*FrameWindow) Event_WINDPROC1 ¶
func (w *FrameWindow) Event_WINDPROC1(pFun XWM_WINDPROC1) bool
窗口消息过程.
func (*FrameWindow) Event_XC_TIMER ¶
func (w *FrameWindow) Event_XC_TIMER(pFun XWM_XC_TIMER) bool
炫彩定时器, 非系统定时器, 注册消息XWM_TIMER接收.
func (*FrameWindow) Event_XC_TIMER1 ¶
func (w *FrameWindow) Event_XC_TIMER1(pFun XWM_XC_TIMER1) bool
炫彩定时器, 非系统定时器, 注册消息XWM_TIMER接收.
func (*FrameWindow) GetBorderSize ¶
窗口_取边大小.
func (*FrameWindow) GetButton ¶
窗口_取控制按钮, 返回按钮句柄.
nFlag: 可用值: Window_Style_Btn_Min , Window_Style_Btn_Max , Window_Style_Btn_Close .
func (*FrameWindow) GetCaretInfo ¶
窗口_取插入符信息, 获取插入符信息, 返回: 插入符元素句柄.
hWindow: 窗口句柄.
pX: 接收返回x坐标.
pY: 接收返回y坐标.
pWidth: 接收返回宽度.
pHeight: 接收返回高度.
func (*FrameWindow) GetDragFloatWndTopFlag ¶
func (fw *FrameWindow) GetDragFloatWndTopFlag() xcc.FrameWnd_Cell_Type_
框架窗口_取拖动浮动窗格停留位置标识, 返回框架窗口单元格类型: xcc.FrameWnd_Cell_Type_.
func (*FrameWindow) GetLayoutAreaRect ¶
func (fw *FrameWindow) GetLayoutAreaRect(pRect *xc.RECT) int
框架窗口_取布局区域坐标, 用来布局窗格的区域坐标, 不包含码头.
pRect: 返回坐标.
func (*FrameWindow) GetShadowInfo ¶
func (w *FrameWindow) GetShadowInfo(nSize *int, nDepth *byte, nAngeleSize *int, bRightAngle *bool, color *int) int
窗口_取阴影信息.
pnSize: 阴影大小.
pnDepth: 阴影深度.
pnAngeleSize: 圆角阴影内收大小 .
pbRightAngle: 是否强制直角.
pColor: 阴影颜色, ABGR颜色.
func (*FrameWindow) GetTextColorEx ¶
func (w *FrameWindow) GetTextColorEx() int
窗口_取文本颜色扩展, 返回ABGR颜色.
func (*FrameWindow) GetTransparentType ¶
func (w *FrameWindow) GetTransparentType() xcc.Window_Transparent_
窗口_取透明类型, 返回: xcc.Window_Transparent_.
func (*FrameWindow) LoadLayoutFile ¶
func (fw *FrameWindow) LoadLayoutFile(aPaneList []int, nPaneCount int, pFileName string) bool
框架窗口_加载布局信息文件, 加载布局信息文件.
aPaneList: 窗格句柄数组.
nPaneCount: 窗格数量.
pFileName: 文件名,如果文件名为空,将使用默认文件名frameWnd_layout.xml.
func (*FrameWindow) MergePane ¶
func (fw *FrameWindow) MergePane(hPaneDest int, hPaneNew int) bool
框架窗口_合并窗格.
hPaneDest: 目标窗格.
hPaneNew: 当前窗格.
func (*FrameWindow) MessageBox ¶
func (w *FrameWindow) MessageBox(pTitle, pText string, nFlags xcc.MessageBox_Flag_, XCStyle xcc.Window_Style_) xcc.MessageBox_Flag_
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 (*FrameWindow) Msg_Create ¶
func (w *FrameWindow) Msg_Create(pTitle, pText string, nFlags xcc.MessageBox_Flag_, XCStyle xcc.Window_Style_) *ModalWindow
Msg_Create 消息框_创建, 然后请调用 DoModal() 方法显示模态窗口.
@param pTitle 标题. @param pText 内容文本. @param nFlags 标识: xcc.MessageBox_Flag_. @param XCStyle xcc.Window_Style_. @return *ModalWindow 模态窗口对象.
func (*FrameWindow) Msg_CreateEx ¶
func (w *FrameWindow) Msg_CreateEx(dwExStyle, dwStyle int, lpClassName, pTitle, pText string, nFlags xcc.MessageBox_Flag_, XCStyle xcc.Window_Style_) *ModalWindow
Msg_CreateEx 消息框_创建扩展, 然后请调用 DoModal() 方法显示模态窗口.
@param dwExStyle 窗口扩展样式. @param dwStyle 窗口样式. @param lpClassName 窗口类名. @param pTitle 标题. @param pText 内容文本. @param nFlags 标识: xcc.MessageBox_Flag_. @param XCStyle xcc.Window_Style_. @return *ModalWindow 模态窗口对象.
func (*FrameWindow) NotifyMsg_SetBorderSize ¶
通知消息_置边大小, 设置通知消息面板边大小.
left: 左边.
top: 顶边.
right: 右边.
bottom: 底边.
func (*FrameWindow) NotifyMsg_SetParentMargin ¶
通知消息_置父边距 设置通知消息与父对象的四边间隔.
left: 左侧间隔, 未实现, 预留功能.
top: 顶部间隔.
right: 右侧间隔.
bottom: 底部间隔, 未实现, 预留功能.
func (*FrameWindow) NotifyMsg_WindowPopup ¶
func (w *FrameWindow) NotifyMsg_WindowPopup(position xcc.Position_Flag_, pTitle, pText string, hIcon int, skin xcc.NotifyMsg_Skin_) int
通知消息_窗口中弹出, 使用基础元素作为面板, 弹出一个通知消息, 返回元素句柄, 通过此句柄可对其操作.
position: 位置, Position_Flag_.
pTitle: 标题.
pText: 内容.
hIcon: 图标.
skin: 外观类型, NotifyMsg_Skin_.
func (*FrameWindow) NotifyMsg_WindowPopupEx ¶
func (w *FrameWindow) NotifyMsg_WindowPopupEx(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 (*FrameWindow) RedrawRect ¶
窗口_重绘指定区域.
pRect: 需要重绘的区域坐标.
bImmediate: TRUE立即重绘, FALSE放入消息队列延迟重绘.
func (*FrameWindow) SaveLayoutToFile ¶
func (fw *FrameWindow) SaveLayoutToFile(pFileName string) bool
框架窗口_保存布局到文件, 保存布局信息到文件.
pFileName: 文件名,如果文件名为空,将使用默认文件名frameWnd_layout.xml.
func (*FrameWindow) SetBorderSize ¶
窗口_置边大小.
left: 窗口左边大小.
top: 窗口上边大小.
right: 窗口右边大小.
bottom: 窗口底部大小.
func (*FrameWindow) SetCaptionMargin ¶
窗口_置标题外间距, 设置标题内容(图标, 标题, 控制按钮)外间距.
left: 左边间距.
top: 上边间距.
right: 右边间距.
bottom: 下边间距.
func (*FrameWindow) SetCaretPos ¶
窗口_置插入符位置, 设置插入符位置.
x: x坐标.
y: y坐标.
width: 宽度.
height: 高度.
bUpdate: 是否立即更新UI.
func (*FrameWindow) SetDragBorderSize ¶
窗口_置拖动边框大小.
left: 窗口左边大小.
top: 窗口上边大小.
right: 窗口右边大小.
bottom: 窗口底边大小.
func (*FrameWindow) SetPaneSplitBarColor ¶
func (fw *FrameWindow) SetPaneSplitBarColor(color int) int
框架窗口_置窗格分隔条颜色.
color: ABGR颜色值.
func (*FrameWindow) SetShadowInfo ¶
func (w *FrameWindow) SetShadowInfo(nSize int, nDepth byte, nAngeleSize int, bRightAngle bool, color int) int
窗口_置阴影信息.
nSize: 阴影大小.
nDepth: 阴影深度, 0-255.
nAngeleSize: 圆角阴影内收大小.
bRightAngle: 是否强制直角.
color: 阴影颜色, ABGR颜色.
func (*FrameWindow) SetTabBarHeight ¶
func (fw *FrameWindow) SetTabBarHeight(nHeight int) int
框架窗口_置TabBar条高度, 设置窗格组TabBar高度.
nHeight: 高度.
func (*FrameWindow) SetTransparentType ¶
func (w *FrameWindow) SetTransparentType(nType xcc.Window_Transparent_) int
窗口_置透明类型.
nType: 窗口透明类型: xcc.Window_Transparent_.
func (*FrameWindow) SetView ¶
func (fw *FrameWindow) SetView(hEle int) int
框架窗口_置视图, 设置窗格组TabBar高度.
hEle: 元素句柄.
type ModalWindow ¶
type ModalWindow struct {
// contains filtered or unexported fields
}
模态窗口.
func NewModalWindow ¶
func NewModalWindow(nWidth int, nHeight int, pTitle string, hWndParent int, XCStyle xcc.Window_Style_) *ModalWindow
模态窗口_创建, 创建模态窗口, 然后你需要调用DoModal()来显示窗口; 当模态窗口关闭时, 会自动销毁模态窗口资源句柄.
nWidth: 宽度.
nHeight: 高度.
pTitle: 窗口标题内容.
hWndParent: 父窗口句柄.
XCStyle: 炫彩窗口样式: Window_Style_.
func NewModalWindowByLayout ¶
func NewModalWindowByLayout(pFileName string, hParent, hAttachWnd int) *ModalWindow
NewModalWindowByLayout 从布局文件创建对象, 失败返回nil.
@param pFileName 布局文件名. @param hParent 父对象句柄. @param hAttachWnd 附加窗口句柄, 附加到指定的窗口, 可填0. @return *ModalWindow
func NewModalWindowByLayoutStringW ¶
func NewModalWindowByLayoutStringW(pStringXML string, hParent int, hAttachWnd int) *ModalWindow
NewModalWindowByLayoutStringW 从布局文件字符串W创建对象, 失败返回nil.
@param pStringXML 字符串. @param hParent 父对象. @param hAttachWnd 附加窗口句柄, 附加到指定的窗口, 可填0. @return *Window
func NewModalWindowByLayoutZip ¶
func NewModalWindowByLayoutZip(pZipFileName string, pFileName string, pPassword string, hParent, hAttachWnd int) *ModalWindow
NewModalWindowByLayoutZip 从压缩包中的布局文件创建对象, 失败返回nil.
@param pZipFileName zip文件名. @param pFileName 布局文件名. @param pPassword zip密码. @param hParent 父对象句柄. @param hAttachWnd 附加窗口句柄, 附加到指定的窗口, 可填0. @return *ModalWindow
func NewModalWindowByLayoutZipMem ¶
func NewModalWindowByLayoutZipMem(data []byte, pFileName string, pPassword string, hParent int, hAttachWnd int) *ModalWindow
NewModalWindowByLayoutZipMem 从内存压缩包中的布局文件创建对象, 失败返回nil.
@param data 布局文件数据. @param pFileName 布局文件名. @param pPassword zip密码. @param hParent 父对象句柄. @param hAttachWnd 附加窗口句柄, 附加到指定的窗口, 可填0. @return *ModalWindow
func NewModalWindowByUIDName ¶
func NewModalWindowByUIDName(name string) *ModalWindow
从UID名称创建对象, 失败返回nil.
func NewModalWindowEx ¶
func NewModalWindowEx(dwExStyle int, dwStyle int, lpClassName string, x int, y int, cx int, cy int, pTitle string, hWndParent int, XCStyle xcc.Window_Style_) *ModalWindow
模态窗口_创建扩展, 创建模态窗口, 增强功能.
dwExStyle: 窗口扩展样式.
dwStyle: 窗口样式.
lpClassName: 窗口类名.
x: 窗口左上角x坐标.
y: 窗口左上角y坐标.
cx: 窗口宽度.
cy: 窗口高度.
pTitle: 窗口名.
hWndParent: 父窗口.
XCStyle: GUI库窗口样式: Window_Style_.
func (*ModalWindow) AddBkBorder ¶
func (w *ModalWindow) AddBkBorder(nState xcc.Window_State_Flag_, color int, width int) int
窗口_添加背景边框.
nState: 组合状态.
color: ABGR颜色.
width: 线宽.
func (*ModalWindow) AddBkFill ¶
func (w *ModalWindow) AddBkFill(nState xcc.Window_State_Flag_, color int) int
窗口_添加背景填充.
nState: 组合状态.
color: ABGR颜色.
func (*ModalWindow) AddBkImage ¶
func (w *ModalWindow) AddBkImage(nState xcc.Window_State_Flag_, hImage int) int
窗口_添加背景图片.
nState: 组合状态.
hImage: 图片句柄.
func (*ModalWindow) AdjustLayoutEx ¶
func (w *ModalWindow) AdjustLayoutEx(nFlags xcc.AdjustLayout_) int
窗口_调整布局扩展.
nFlags: 调整布局标识位: xcc.AdjustLayout_.
func (*ModalWindow) DoModal ¶
func (m *ModalWindow) DoModal() xcc.MessageBox_Flag_
模态窗口_启动, 启动显示模态窗口, 当窗口关闭时返回: MessageBox_Flag_Ok: 点击确定按钮退出, MessageBox_Flag_Cancel: 点击取消按钮退出, MessageBox_Flag_Other: 其他方式退出.
func (*ModalWindow) EnableAutoClose ¶
func (m *ModalWindow) EnableAutoClose(bEnable bool) int
模态窗口_启用自动关闭, 是否自动关闭窗口, 当窗口失去焦点时.
bEnable: 开启开关.
func (*ModalWindow) EnableEscClose ¶
func (m *ModalWindow) EnableEscClose(bEnable bool) int
模态窗口_启用ESC关闭, 当用户按ESC键时自动关闭模态窗口.
bEnable: 是否启用.
func (*ModalWindow) EndModal ¶
func (m *ModalWindow) EndModal(nResult xcc.MessageBox_Flag_) int
模态窗口_结束, 结束模态窗口.
nResult: 用作XModalWnd_DoModal()的返回值. MessageBox_Flag_Ok: 点击确定按钮退出, MessageBox_Flag_Cancel: 点击取消按钮退出, MessageBox_Flag_Other: 其他方式退出.
func (*ModalWindow) Event_CAPTURECHANGED ¶
func (w *ModalWindow) Event_CAPTURECHANGED(pFun WM_CAPTURECHANGED) bool
窗口鼠标捕获改变消息.
func (*ModalWindow) Event_CAPTURECHANGED1 ¶
func (w *ModalWindow) Event_CAPTURECHANGED1(pFun WM_CAPTURECHANGED1) bool
窗口鼠标捕获改变消息.
func (*ModalWindow) Event_DESTROY ¶
func (w *ModalWindow) Event_DESTROY(pFun WM_DESTROY) bool
窗口销毁消息.
func (*ModalWindow) Event_DESTROY1 ¶
func (w *ModalWindow) Event_DESTROY1(pFun WM_DESTROY1) bool
窗口销毁消息.
func (*ModalWindow) Event_DOCK_POPUP ¶
func (w *ModalWindow) Event_DOCK_POPUP(pFun XWM_DOCK_POPUP) bool
框架窗口码头弹出窗格, 当用户点击码头上的按钮时, 显示对应的窗格, 当失去焦点时自动隐藏窗格.
func (*ModalWindow) Event_DOCK_POPUP1 ¶
func (w *ModalWindow) Event_DOCK_POPUP1(pFun XWM_DOCK_POPUP1) bool
框架窗口码头弹出窗格, 当用户点击码头上的按钮时, 显示对应的窗格, 当失去焦点时自动隐藏窗格.
func (*ModalWindow) Event_DROPFILES ¶
func (w *ModalWindow) Event_DROPFILES(pFun WM_DROPFILES) bool
拖动文件到窗口.
func (*ModalWindow) Event_DROPFILES1 ¶
func (w *ModalWindow) Event_DROPFILES1(pFun WM_DROPFILES1) bool
拖动文件到窗口.
func (*ModalWindow) Event_EXITSIZEMOVE ¶
func (w *ModalWindow) Event_EXITSIZEMOVE(pFun WM_EXITSIZEMOVE) bool
窗口退出移动或调整大小模式循环改,详情参见MSDN.
func (*ModalWindow) Event_EXITSIZEMOVE1 ¶
func (w *ModalWindow) Event_EXITSIZEMOVE1(pFun WM_EXITSIZEMOVE1) bool
窗口退出移动或调整大小模式循环改,详情参见MSDN.
func (*ModalWindow) Event_FLOATWND_DRAG ¶
func (w *ModalWindow) Event_FLOATWND_DRAG(pFun XWM_FLOATWND_DRAG) bool
浮动窗口拖动, 用户拖动浮动窗口移动, 显示停靠提示.
hFloatWnd: 拖动的浮动窗口句柄.
hArray: HWINDOW array[6], 窗格停靠提示窗口句柄数组, 有6个成员, 分别为:[0]中间十字, [1]左侧, [2]顶部, [3]右侧, [4]底部, [5]停靠位置预览.
func (*ModalWindow) Event_FLOATWND_DRAG1 ¶
func (w *ModalWindow) Event_FLOATWND_DRAG1(pFun XWM_FLOATWND_DRAG1) bool
浮动窗口拖动, 用户拖动浮动窗口移动, 显示停靠提示.
hWindow: 传入的窗口资源句柄.
hFloatWnd: 拖动的浮动窗口句柄.
hArray: HWINDOW array[6], 窗格停靠提示窗口句柄数组, 有6个成员, 分别为:[0]中间十字, [1]左侧, [2]顶部, [3]右侧, [4]底部, [5]停靠位置预览.
func (*ModalWindow) Event_FLOAT_PANE ¶
func (w *ModalWindow) Event_FLOAT_PANE(pFun XWM_FLOAT_PANE) bool
浮动窗格.
func (*ModalWindow) Event_FLOAT_PANE1 ¶
func (w *ModalWindow) Event_FLOAT_PANE1(pFun XWM_FLOAT_PANE1) bool
浮动窗格.
func (*ModalWindow) Event_KEYDOWN ¶
func (w *ModalWindow) Event_KEYDOWN(pFun WM_KEYDOWN) bool
窗口键盘按键消息.
func (*ModalWindow) Event_KEYDOWN1 ¶
func (w *ModalWindow) Event_KEYDOWN1(pFun WM_KEYDOWN1) bool
窗口键盘按键消息.
func (*ModalWindow) Event_KILLFOCUS ¶
func (w *ModalWindow) Event_KILLFOCUS(pFun WM_KILLFOCUS) bool
窗口失去焦点.
func (*ModalWindow) Event_KILLFOCUS1 ¶
func (w *ModalWindow) Event_KILLFOCUS1(pFun WM_KILLFOCUS1) bool
窗口失去焦点.
func (*ModalWindow) Event_LBUTTONDBLCLK ¶
func (w *ModalWindow) Event_LBUTTONDBLCLK(pFun WM_LBUTTONDBLCLK) bool
窗口鼠标左键双击消息.
func (*ModalWindow) Event_LBUTTONDBLCLK1 ¶
func (w *ModalWindow) Event_LBUTTONDBLCLK1(pFun WM_LBUTTONDBLCLK1) bool
窗口鼠标左键双击消息.
func (*ModalWindow) Event_LBUTTONDOWN ¶
func (w *ModalWindow) Event_LBUTTONDOWN(pFun WM_LBUTTONDOWN) bool
窗口鼠标左键按下消息.
func (*ModalWindow) Event_LBUTTONDOWN1 ¶
func (w *ModalWindow) Event_LBUTTONDOWN1(pFun WM_LBUTTONDOWN1) bool
窗口鼠标左键按下消息.
func (*ModalWindow) Event_LBUTTONUP ¶
func (w *ModalWindow) Event_LBUTTONUP(pFun WM_LBUTTONUP) bool
窗口鼠标左键弹起消息.
func (*ModalWindow) Event_LBUTTONUP1 ¶
func (w *ModalWindow) Event_LBUTTONUP1(pFun WM_LBUTTONUP1) bool
窗口鼠标左键弹起消息.
func (*ModalWindow) Event_MENU_DRAWITEM ¶
func (w *ModalWindow) Event_MENU_DRAWITEM(pFun XWM_MENU_DRAWITEM) bool
绘制菜单项事件, 启用该功能需要调用XMenu_EnableDrawItem().
func (*ModalWindow) Event_MENU_DRAW_BACKGROUND ¶
func (w *ModalWindow) Event_MENU_DRAW_BACKGROUND(pFun XWM_MENU_DRAW_BACKGROUND) bool
绘制菜单背景, 启用该功能需要调用XMenu_EnableDrawBackground().
func (*ModalWindow) Event_MENU_EXIT ¶
func (w *ModalWindow) Event_MENU_EXIT(pFun XWM_MENU_EXIT) bool
菜单退出.
func (*ModalWindow) Event_MENU_POPUP ¶
func (w *ModalWindow) Event_MENU_POPUP(pFun XWM_MENU_POPUP) bool
菜单弹出.
func (*ModalWindow) Event_MENU_POPUP_WND ¶
func (w *ModalWindow) Event_MENU_POPUP_WND(pFun XWM_MENU_POPUP_WND) bool
菜单弹出窗口.
func (*ModalWindow) Event_MENU_SELECT ¶
func (w *ModalWindow) Event_MENU_SELECT(pFun XWM_MENU_SELECT) bool
菜单选择.
func (*ModalWindow) Event_MOUSEHOVER ¶
func (w *ModalWindow) Event_MOUSEHOVER(pFun WM_MOUSEHOVER) bool
窗口鼠标进入消息.
func (*ModalWindow) Event_MOUSEHOVER1 ¶
func (w *ModalWindow) Event_MOUSEHOVER1(pFun WM_MOUSEHOVER1) bool
窗口鼠标进入消息.
func (*ModalWindow) Event_MOUSELEAVE ¶
func (w *ModalWindow) Event_MOUSELEAVE(pFun WM_MOUSELEAVE) bool
窗口鼠标离开消息.
func (*ModalWindow) Event_MOUSELEAVE1 ¶
func (w *ModalWindow) Event_MOUSELEAVE1(pFun WM_MOUSELEAVE1) bool
窗口鼠标离开消息.
func (*ModalWindow) Event_MOUSEMOVE ¶
func (w *ModalWindow) Event_MOUSEMOVE(pFun WM_MOUSEMOVE) bool
窗口鼠标移动消息.
func (*ModalWindow) Event_MOUSEMOVE1 ¶
func (w *ModalWindow) Event_MOUSEMOVE1(pFun WM_MOUSEMOVE1) bool
窗口鼠标移动消息.
func (*ModalWindow) Event_MOUSEWHEEL ¶
func (w *ModalWindow) Event_MOUSEWHEEL(pFun WM_MOUSEWHEEL) bool
窗口鼠标滚轮滚动消息.
func (*ModalWindow) Event_MOUSEWHEEL1 ¶
func (w *ModalWindow) Event_MOUSEWHEEL1(pFun WM_MOUSEWHEEL1) bool
窗口鼠标滚轮滚动消息.
func (*ModalWindow) Event_NCDESTROY ¶
func (w *ModalWindow) Event_NCDESTROY(pFun WM_NCDESTROY) bool
窗口非客户区销毁消息.
func (*ModalWindow) Event_NCDESTROY1 ¶
func (w *ModalWindow) Event_NCDESTROY1(pFun WM_NCDESTROY1) bool
窗口非客户区销毁消息.
func (*ModalWindow) Event_PAINT_DISPLAY ¶
func (w *ModalWindow) Event_PAINT_DISPLAY(pFun XWM_PAINT_DISPLAY) bool
窗口绘制完成并且已经显示到屏幕.
func (*ModalWindow) Event_PAINT_DISPLAY1 ¶
func (w *ModalWindow) Event_PAINT_DISPLAY1(pFun XWM_PAINT_DISPLAY1) bool
窗口绘制完成并且已经显示到屏幕.
func (*ModalWindow) Event_PAINT_END ¶
func (w *ModalWindow) Event_PAINT_END(pFun XWM_PAINT_END) bool
窗口绘制完成消息.
func (*ModalWindow) Event_PAINT_END1 ¶
func (w *ModalWindow) Event_PAINT_END1(pFun XWM_PAINT_END1) bool
窗口绘制完成消息.
func (*ModalWindow) Event_RBUTTONDBLCLK ¶
func (w *ModalWindow) Event_RBUTTONDBLCLK(pFun WM_RBUTTONDBLCLK) bool
窗口鼠标右键双击消息.
func (*ModalWindow) Event_RBUTTONDBLCLK1 ¶
func (w *ModalWindow) Event_RBUTTONDBLCLK1(pFun WM_RBUTTONDBLCLK1) bool
窗口鼠标右键双击消息.
func (*ModalWindow) Event_RBUTTONDOWN ¶
func (w *ModalWindow) Event_RBUTTONDOWN(pFun WM_RBUTTONDOWN) bool
窗口鼠标右键按下消息.
func (*ModalWindow) Event_RBUTTONDOWN1 ¶
func (w *ModalWindow) Event_RBUTTONDOWN1(pFun WM_RBUTTONDOWN1) bool
窗口鼠标右键按下消息.
func (*ModalWindow) Event_RBUTTONUP ¶
func (w *ModalWindow) Event_RBUTTONUP(pFun WM_RBUTTONUP) bool
窗口鼠标右键弹起消息.
func (*ModalWindow) Event_RBUTTONUP1 ¶
func (w *ModalWindow) Event_RBUTTONUP1(pFun WM_RBUTTONUP1) bool
窗口鼠标右键弹起消息.
func (*ModalWindow) Event_SETCURSOR ¶
func (w *ModalWindow) Event_SETCURSOR(pFun WM_SETCURSOR) bool
窗口设置鼠标光标.
func (*ModalWindow) Event_SETCURSOR1 ¶
func (w *ModalWindow) Event_SETCURSOR1(pFun WM_SETCURSOR1) bool
窗口设置鼠标光标.
func (*ModalWindow) Event_SETFOCUS ¶
func (w *ModalWindow) Event_SETFOCUS(pFun WM_SETFOCUS) bool
窗口获得焦点.
func (*ModalWindow) Event_SETFOCUS1 ¶
func (w *ModalWindow) Event_SETFOCUS1(pFun WM_SETFOCUS1) bool
窗口获得焦点.
func (*ModalWindow) Event_WINDPROC ¶
func (w *ModalWindow) Event_WINDPROC(pFun XWM_WINDPROC) bool
窗口消息过程.
func (*ModalWindow) Event_WINDPROC1 ¶
func (w *ModalWindow) Event_WINDPROC1(pFun XWM_WINDPROC1) bool
窗口消息过程.
func (*ModalWindow) Event_XC_TIMER ¶
func (w *ModalWindow) Event_XC_TIMER(pFun XWM_XC_TIMER) bool
炫彩定时器, 非系统定时器, 注册消息XWM_TIMER接收.
func (*ModalWindow) Event_XC_TIMER1 ¶
func (w *ModalWindow) Event_XC_TIMER1(pFun XWM_XC_TIMER1) bool
炫彩定时器, 非系统定时器, 注册消息XWM_TIMER接收.
func (*ModalWindow) GetBorderSize ¶
窗口_取边大小.
func (*ModalWindow) GetButton ¶
窗口_取控制按钮, 返回按钮句柄.
nFlag: 可用值: Window_Style_Btn_Min , Window_Style_Btn_Max , Window_Style_Btn_Close .
func (*ModalWindow) GetCaretInfo ¶
窗口_取插入符信息, 获取插入符信息, 返回: 插入符元素句柄.
hWindow: 窗口句柄.
pX: 接收返回x坐标.
pY: 接收返回y坐标.
pWidth: 接收返回宽度.
pHeight: 接收返回高度.
func (*ModalWindow) GetShadowInfo ¶
func (w *ModalWindow) GetShadowInfo(nSize *int, nDepth *byte, nAngeleSize *int, bRightAngle *bool, color *int) int
窗口_取阴影信息.
pnSize: 阴影大小.
pnDepth: 阴影深度.
pnAngeleSize: 圆角阴影内收大小 .
pbRightAngle: 是否强制直角.
pColor: 阴影颜色, ABGR颜色.
func (*ModalWindow) GetTextColorEx ¶
func (w *ModalWindow) GetTextColorEx() int
窗口_取文本颜色扩展, 返回ABGR颜色.
func (*ModalWindow) GetTransparentType ¶
func (w *ModalWindow) GetTransparentType() xcc.Window_Transparent_
窗口_取透明类型, 返回: xcc.Window_Transparent_.
func (*ModalWindow) MessageBox ¶
func (w *ModalWindow) MessageBox(pTitle, pText string, nFlags xcc.MessageBox_Flag_, XCStyle xcc.Window_Style_) xcc.MessageBox_Flag_
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 (*ModalWindow) Msg_Create ¶
func (w *ModalWindow) Msg_Create(pTitle, pText string, nFlags xcc.MessageBox_Flag_, XCStyle xcc.Window_Style_) *ModalWindow
Msg_Create 消息框_创建, 然后请调用 DoModal() 方法显示模态窗口.
@param pTitle 标题. @param pText 内容文本. @param nFlags 标识: xcc.MessageBox_Flag_. @param XCStyle xcc.Window_Style_. @return *ModalWindow 模态窗口对象.
func (*ModalWindow) Msg_CreateEx ¶
func (w *ModalWindow) Msg_CreateEx(dwExStyle, dwStyle int, lpClassName, pTitle, pText string, nFlags xcc.MessageBox_Flag_, XCStyle xcc.Window_Style_) *ModalWindow
Msg_CreateEx 消息框_创建扩展, 然后请调用 DoModal() 方法显示模态窗口.
@param dwExStyle 窗口扩展样式. @param dwStyle 窗口样式. @param lpClassName 窗口类名. @param pTitle 标题. @param pText 内容文本. @param nFlags 标识: xcc.MessageBox_Flag_. @param XCStyle xcc.Window_Style_. @return *ModalWindow 模态窗口对象.
func (*ModalWindow) NotifyMsg_SetBorderSize ¶
通知消息_置边大小, 设置通知消息面板边大小.
left: 左边.
top: 顶边.
right: 右边.
bottom: 底边.
func (*ModalWindow) NotifyMsg_SetParentMargin ¶
通知消息_置父边距 设置通知消息与父对象的四边间隔.
left: 左侧间隔, 未实现, 预留功能.
top: 顶部间隔.
right: 右侧间隔.
bottom: 底部间隔, 未实现, 预留功能.
func (*ModalWindow) NotifyMsg_WindowPopup ¶
func (w *ModalWindow) NotifyMsg_WindowPopup(position xcc.Position_Flag_, pTitle, pText string, hIcon int, skin xcc.NotifyMsg_Skin_) int
通知消息_窗口中弹出, 使用基础元素作为面板, 弹出一个通知消息, 返回元素句柄, 通过此句柄可对其操作.
position: 位置, Position_Flag_.
pTitle: 标题.
pText: 内容.
hIcon: 图标.
skin: 外观类型, NotifyMsg_Skin_.
func (*ModalWindow) NotifyMsg_WindowPopupEx ¶
func (w *ModalWindow) NotifyMsg_WindowPopupEx(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 (*ModalWindow) RedrawRect ¶
窗口_重绘指定区域.
pRect: 需要重绘的区域坐标.
bImmediate: TRUE立即重绘, FALSE放入消息队列延迟重绘.
func (*ModalWindow) SetBorderSize ¶
窗口_置边大小.
left: 窗口左边大小.
top: 窗口上边大小.
right: 窗口右边大小.
bottom: 窗口底部大小.
func (*ModalWindow) SetCaptionMargin ¶
窗口_置标题外间距, 设置标题内容(图标, 标题, 控制按钮)外间距.
left: 左边间距.
top: 上边间距.
right: 右边间距.
bottom: 下边间距.
func (*ModalWindow) SetCaretPos ¶
窗口_置插入符位置, 设置插入符位置.
x: x坐标.
y: y坐标.
width: 宽度.
height: 高度.
bUpdate: 是否立即更新UI.
func (*ModalWindow) SetDragBorderSize ¶
窗口_置拖动边框大小.
left: 窗口左边大小.
top: 窗口上边大小.
right: 窗口右边大小.
bottom: 窗口底边大小.
func (*ModalWindow) SetShadowInfo ¶
func (w *ModalWindow) SetShadowInfo(nSize int, nDepth byte, nAngeleSize int, bRightAngle bool, color int) int
窗口_置阴影信息.
nSize: 阴影大小.
nDepth: 阴影深度, 0-255.
nAngeleSize: 圆角阴影内收大小.
bRightAngle: 是否强制直角.
color: 阴影颜色, ABGR颜色.
func (*ModalWindow) SetTransparentType ¶
func (w *ModalWindow) SetTransparentType(nType xcc.Window_Transparent_) int
窗口_置透明类型.
nType: 窗口透明类型: xcc.Window_Transparent_.
type WM_CAPTURECHANGED ¶
type WM_CAPTURECHANGED1 ¶
type WM_DESTROY ¶
type WM_DESTROY1 ¶
type WM_DROPFILES ¶
type WM_DROPFILES1 ¶
type WM_EXITSIZEMOVE ¶
type WM_EXITSIZEMOVE1 ¶
type WM_KEYDOWN1 ¶
type WM_KILLFOCUS ¶
type WM_KILLFOCUS1 ¶
type WM_LBUTTONDBLCLK ¶
type WM_LBUTTONDBLCLK1 ¶
type WM_LBUTTONDOWN ¶
type WM_LBUTTONDOWN1 ¶
type WM_LBUTTONUP ¶
type WM_LBUTTONUP1 ¶
type WM_MOUSEHOVER ¶
type WM_MOUSEHOVER1 ¶
type WM_MOUSELEAVE ¶
type WM_MOUSELEAVE1 ¶
type WM_MOUSEMOVE ¶
type WM_MOUSEMOVE1 ¶
type WM_MOUSEWHEEL ¶
type WM_MOUSEWHEEL1 ¶
type WM_NCDESTROY ¶
type WM_NCDESTROY1 ¶
type WM_RBUTTONDBLCLK ¶
type WM_RBUTTONDBLCLK1 ¶
type WM_RBUTTONDOWN ¶
type WM_RBUTTONDOWN1 ¶
type WM_RBUTTONUP ¶
type WM_RBUTTONUP1 ¶
type WM_SETCURSOR ¶
type WM_SETCURSOR1 ¶
type WM_SETFOCUS ¶
type WM_SETFOCUS1 ¶
type Window ¶
type Window struct {
// contains filtered or unexported fields
}
Window 普通窗口.
func Attach ¶
func Attach(hWnd int, XCStyle xcc.Window_Style_) *Window
Attach 窗口_附加窗口, 返回窗口对象.
@param hWnd 要附加的外部窗口句柄. @param XCStyle 窗口样式: xcc.Window_Style_. @return *Window
func ModalWnd_Attach ¶
func ModalWnd_Attach(hWnd int, XCStyle xcc.Window_Style_) *Window
模态窗口_附加窗口, 返回窗口对象.
hWnd: 要附加的外部窗口句柄.
XCStyle: 炫彩窗口样式: Window_Style_.
func NewWindow ¶
func NewWindow(x int, y int, cx int, cy int, pTitle string, hWndParent int, XCStyle xcc.Window_Style_) *Window
NewWindow 窗口_创建.
@param x 窗口左上角x坐标. @param y 窗口左上角y坐标. @param cx 窗口宽度. @param cy 窗口高度. @param pTitle 窗口标题. @param hWndParent 父窗口. @param XCStyle 窗口样式: xcc.Window_Style_. @return *Window
func NewWindowByLayout ¶
NewWindowByLayout 从布局文件创建对象, 失败返回nil.
@param pFileName 布局文件名. @param hParent 父对象句柄. @param hAttachWnd 附加窗口句柄, 附加到指定的窗口, 可填0. @return *Window
func NewWindowByLayoutStringW ¶
NewWindowByLayoutStringW 从布局文件字符串W创建对象, 失败返回nil.
@param pStringXML 字符串. @param hParent 父对象. @param hAttachWnd 附加窗口句柄, 附加到指定的窗口, 可填0. @return *Window
func NewWindowByLayoutZip ¶
func NewWindowByLayoutZip(pZipFileName string, pFileName string, pPassword string, hParent, hAttachWnd int) *Window
NewWindowByLayoutZip 从压缩包中的布局文件创建对象, 失败返回nil.
@param pZipFileName zip文件名. @param pFileName 布局文件名. @param pPassword zip密码. @param hParent 父对象句柄. @param hAttachWnd 附加窗口句柄, 附加到指定的窗口, 可填0. @return *Window
func NewWindowByLayoutZipMem ¶
func NewWindowByLayoutZipMem(data []byte, pFileName string, pPassword string, hParent int, hAttachWnd int) *Window
NewWindowByLayoutZipMem 从内存压缩包中的布局文件创建对象, 失败返回nil.
@param data 布局文件数据. @param pFileName 布局文件名. @param pPassword zip密码. @param hParent 父对象句柄. @param hAttachWnd 附加窗口句柄, 附加到指定的窗口, 可填0. @return *Window
func NewWindowEx ¶
func NewWindowEx(dwExStyle int, dwStyle int, lpClassName string, x int, y int, cx int, cy int, pTitle string, hWndParent int, XCStyle xcc.Window_Style_) *Window
NewWindowEx 窗口_创建扩展.
@param dwExStyle 窗口扩展样式. @param dwStyle 窗口样式. @param lpClassName 窗口类名. @param x 窗口左上角x坐标. @param y 窗口左上角y坐标. @param cx 窗口宽度. @param cy 窗口高度. @param pTitle 窗口名. @param hWndParent 父窗口. @param XCStyle 窗口样式, xcc.Window_Style_. @return *Window
func (*Window) AddBkBorder ¶
func (w *Window) AddBkBorder(nState xcc.Window_State_Flag_, color int, width int) int
窗口_添加背景边框.
nState: 组合状态.
color: ABGR颜色.
width: 线宽.
func (*Window) AddBkFill ¶
func (w *Window) AddBkFill(nState xcc.Window_State_Flag_, color int) int
窗口_添加背景填充.
nState: 组合状态.
color: ABGR颜色.
func (*Window) AddBkImage ¶
func (w *Window) AddBkImage(nState xcc.Window_State_Flag_, hImage int) int
窗口_添加背景图片.
nState: 组合状态.
hImage: 图片句柄.
func (*Window) AdjustLayoutEx ¶
func (w *Window) AdjustLayoutEx(nFlags xcc.AdjustLayout_) int
窗口_调整布局扩展.
nFlags: 调整布局标识位: xcc.AdjustLayout_.
func (*Window) EnableOverflowHide ¶
EnableOverflowHide 布局盒子_启用溢出隐藏.
@param bEnable 是否启用. @return int
func (*Window) Event_CAPTURECHANGED ¶
func (w *Window) Event_CAPTURECHANGED(pFun WM_CAPTURECHANGED) bool
窗口鼠标捕获改变消息.
func (*Window) Event_CAPTURECHANGED1 ¶
func (w *Window) Event_CAPTURECHANGED1(pFun WM_CAPTURECHANGED1) bool
窗口鼠标捕获改变消息.
func (*Window) Event_DOCK_POPUP ¶
func (w *Window) Event_DOCK_POPUP(pFun XWM_DOCK_POPUP) bool
框架窗口码头弹出窗格, 当用户点击码头上的按钮时, 显示对应的窗格, 当失去焦点时自动隐藏窗格.
func (*Window) Event_DOCK_POPUP1 ¶
func (w *Window) Event_DOCK_POPUP1(pFun XWM_DOCK_POPUP1) bool
框架窗口码头弹出窗格, 当用户点击码头上的按钮时, 显示对应的窗格, 当失去焦点时自动隐藏窗格.
func (*Window) Event_DROPFILES1 ¶
func (w *Window) Event_DROPFILES1(pFun WM_DROPFILES1) bool
拖动文件到窗口.
func (*Window) Event_EXITSIZEMOVE ¶
func (w *Window) Event_EXITSIZEMOVE(pFun WM_EXITSIZEMOVE) bool
窗口退出移动或调整大小模式循环改,详情参见MSDN.
func (*Window) Event_EXITSIZEMOVE1 ¶
func (w *Window) Event_EXITSIZEMOVE1(pFun WM_EXITSIZEMOVE1) bool
窗口退出移动或调整大小模式循环改,详情参见MSDN.
func (*Window) Event_FLOATWND_DRAG ¶
func (w *Window) Event_FLOATWND_DRAG(pFun XWM_FLOATWND_DRAG) bool
浮动窗口拖动, 用户拖动浮动窗口移动, 显示停靠提示.
hFloatWnd: 拖动的浮动窗口句柄.
hArray: HWINDOW array[6], 窗格停靠提示窗口句柄数组, 有6个成员, 分别为:[0]中间十字, [1]左侧, [2]顶部, [3]右侧, [4]底部, [5]停靠位置预览.
func (*Window) Event_FLOATWND_DRAG1 ¶
func (w *Window) Event_FLOATWND_DRAG1(pFun XWM_FLOATWND_DRAG1) bool
浮动窗口拖动, 用户拖动浮动窗口移动, 显示停靠提示.
hWindow: 传入的窗口资源句柄.
hFloatWnd: 拖动的浮动窗口句柄.
hArray: HWINDOW array[6], 窗格停靠提示窗口句柄数组, 有6个成员, 分别为:[0]中间十字, [1]左侧, [2]顶部, [3]右侧, [4]底部, [5]停靠位置预览.
func (*Window) Event_FLOAT_PANE1 ¶
func (w *Window) Event_FLOAT_PANE1(pFun XWM_FLOAT_PANE1) bool
浮动窗格.
func (*Window) Event_KILLFOCUS1 ¶
func (w *Window) Event_KILLFOCUS1(pFun WM_KILLFOCUS1) bool
窗口失去焦点.
func (*Window) Event_LBUTTONDBLCLK ¶
func (w *Window) Event_LBUTTONDBLCLK(pFun WM_LBUTTONDBLCLK) bool
窗口鼠标左键双击消息.
func (*Window) Event_LBUTTONDBLCLK1 ¶
func (w *Window) Event_LBUTTONDBLCLK1(pFun WM_LBUTTONDBLCLK1) bool
窗口鼠标左键双击消息.
func (*Window) Event_LBUTTONDOWN ¶
func (w *Window) Event_LBUTTONDOWN(pFun WM_LBUTTONDOWN) bool
窗口鼠标左键按下消息.
func (*Window) Event_LBUTTONDOWN1 ¶
func (w *Window) Event_LBUTTONDOWN1(pFun WM_LBUTTONDOWN1) bool
窗口鼠标左键按下消息.
func (*Window) Event_LBUTTONUP ¶
func (w *Window) Event_LBUTTONUP(pFun WM_LBUTTONUP) bool
窗口鼠标左键弹起消息.
func (*Window) Event_LBUTTONUP1 ¶
func (w *Window) Event_LBUTTONUP1(pFun WM_LBUTTONUP1) bool
窗口鼠标左键弹起消息.
func (*Window) Event_MENU_DRAWITEM ¶
func (w *Window) Event_MENU_DRAWITEM(pFun XWM_MENU_DRAWITEM) bool
绘制菜单项事件, 启用该功能需要调用XMenu_EnableDrawItem().
func (*Window) Event_MENU_DRAW_BACKGROUND ¶
func (w *Window) Event_MENU_DRAW_BACKGROUND(pFun XWM_MENU_DRAW_BACKGROUND) bool
绘制菜单背景, 启用该功能需要调用XMenu_EnableDrawBackground().
func (*Window) Event_MENU_POPUP_WND ¶
func (w *Window) Event_MENU_POPUP_WND(pFun XWM_MENU_POPUP_WND) bool
菜单弹出窗口.
func (*Window) Event_MENU_SELECT ¶
func (w *Window) Event_MENU_SELECT(pFun XWM_MENU_SELECT) bool
菜单选择.
func (*Window) Event_MOUSEHOVER ¶
func (w *Window) Event_MOUSEHOVER(pFun WM_MOUSEHOVER) bool
窗口鼠标进入消息.
func (*Window) Event_MOUSEHOVER1 ¶
func (w *Window) Event_MOUSEHOVER1(pFun WM_MOUSEHOVER1) bool
窗口鼠标进入消息.
func (*Window) Event_MOUSELEAVE ¶
func (w *Window) Event_MOUSELEAVE(pFun WM_MOUSELEAVE) bool
窗口鼠标离开消息.
func (*Window) Event_MOUSELEAVE1 ¶
func (w *Window) Event_MOUSELEAVE1(pFun WM_MOUSELEAVE1) bool
窗口鼠标离开消息.
func (*Window) Event_MOUSEMOVE1 ¶
func (w *Window) Event_MOUSEMOVE1(pFun WM_MOUSEMOVE1) bool
窗口鼠标移动消息.
func (*Window) Event_MOUSEWHEEL ¶
func (w *Window) Event_MOUSEWHEEL(pFun WM_MOUSEWHEEL) bool
窗口鼠标滚轮滚动消息.
func (*Window) Event_MOUSEWHEEL1 ¶
func (w *Window) Event_MOUSEWHEEL1(pFun WM_MOUSEWHEEL1) bool
窗口鼠标滚轮滚动消息.
func (*Window) Event_NCDESTROY ¶
func (w *Window) Event_NCDESTROY(pFun WM_NCDESTROY) bool
窗口非客户区销毁消息.
func (*Window) Event_NCDESTROY1 ¶
func (w *Window) Event_NCDESTROY1(pFun WM_NCDESTROY1) bool
窗口非客户区销毁消息.
func (*Window) Event_PAINT_DISPLAY ¶
func (w *Window) Event_PAINT_DISPLAY(pFun XWM_PAINT_DISPLAY) bool
窗口绘制完成并且已经显示到屏幕.
func (*Window) Event_PAINT_DISPLAY1 ¶
func (w *Window) Event_PAINT_DISPLAY1(pFun XWM_PAINT_DISPLAY1) bool
窗口绘制完成并且已经显示到屏幕.
func (*Window) Event_PAINT_END ¶
func (w *Window) Event_PAINT_END(pFun XWM_PAINT_END) bool
窗口绘制完成消息.
func (*Window) Event_PAINT_END1 ¶
func (w *Window) Event_PAINT_END1(pFun XWM_PAINT_END1) bool
窗口绘制完成消息.
func (*Window) Event_RBUTTONDBLCLK ¶
func (w *Window) Event_RBUTTONDBLCLK(pFun WM_RBUTTONDBLCLK) bool
窗口鼠标右键双击消息.
func (*Window) Event_RBUTTONDBLCLK1 ¶
func (w *Window) Event_RBUTTONDBLCLK1(pFun WM_RBUTTONDBLCLK1) bool
窗口鼠标右键双击消息.
func (*Window) Event_RBUTTONDOWN ¶
func (w *Window) Event_RBUTTONDOWN(pFun WM_RBUTTONDOWN) bool
窗口鼠标右键按下消息.
func (*Window) Event_RBUTTONDOWN1 ¶
func (w *Window) Event_RBUTTONDOWN1(pFun WM_RBUTTONDOWN1) bool
窗口鼠标右键按下消息.
func (*Window) Event_RBUTTONUP ¶
func (w *Window) Event_RBUTTONUP(pFun WM_RBUTTONUP) bool
窗口鼠标右键弹起消息.
func (*Window) Event_RBUTTONUP1 ¶
func (w *Window) Event_RBUTTONUP1(pFun WM_RBUTTONUP1) bool
窗口鼠标右键弹起消息.
func (*Window) Event_SETCURSOR1 ¶
func (w *Window) Event_SETCURSOR1(pFun WM_SETCURSOR1) bool
窗口设置鼠标光标.
func (*Window) Event_XC_TIMER ¶
func (w *Window) Event_XC_TIMER(pFun XWM_XC_TIMER) bool
炫彩定时器, 非系统定时器, 注册消息XWM_TIMER接收.
func (*Window) Event_XC_TIMER1 ¶
func (w *Window) Event_XC_TIMER1(pFun XWM_XC_TIMER1) bool
炫彩定时器, 非系统定时器, 注册消息XWM_TIMER接收.
func (*Window) GetButton ¶
窗口_取控制按钮, 返回按钮句柄.
nFlag: 可用值: Window_Style_Btn_Min , Window_Style_Btn_Max , Window_Style_Btn_Close .
func (*Window) GetCaretInfo ¶
窗口_取插入符信息, 获取插入符信息, 返回: 插入符元素句柄.
hWindow: 窗口句柄.
pX: 接收返回x坐标.
pY: 接收返回y坐标.
pWidth: 接收返回宽度.
pHeight: 接收返回高度.
func (*Window) GetShadowInfo ¶
func (w *Window) GetShadowInfo(nSize *int, nDepth *byte, nAngeleSize *int, bRightAngle *bool, color *int) int
窗口_取阴影信息.
pnSize: 阴影大小.
pnDepth: 阴影深度.
pnAngeleSize: 圆角阴影内收大小 .
pbRightAngle: 是否强制直角.
pColor: 阴影颜色, ABGR颜色.
func (*Window) GetTransparentType ¶
func (w *Window) GetTransparentType() xcc.Window_Transparent_
窗口_取透明类型, 返回: xcc.Window_Transparent_.
func (*Window) MessageBox ¶
func (w *Window) MessageBox(pTitle, pText string, nFlags xcc.MessageBox_Flag_, XCStyle xcc.Window_Style_) xcc.MessageBox_Flag_
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 (*Window) Msg_Create ¶
func (w *Window) Msg_Create(pTitle, pText string, nFlags xcc.MessageBox_Flag_, XCStyle xcc.Window_Style_) *ModalWindow
Msg_Create 消息框_创建, 然后请调用 DoModal() 方法显示模态窗口.
@param pTitle 标题. @param pText 内容文本. @param nFlags 标识: xcc.MessageBox_Flag_. @param XCStyle xcc.Window_Style_. @return *ModalWindow 模态窗口对象.
func (*Window) Msg_CreateEx ¶
func (w *Window) Msg_CreateEx(dwExStyle, dwStyle int, lpClassName, pTitle, pText string, nFlags xcc.MessageBox_Flag_, XCStyle xcc.Window_Style_) *ModalWindow
Msg_CreateEx 消息框_创建扩展, 然后请调用 DoModal() 方法显示模态窗口.
@param dwExStyle 窗口扩展样式. @param dwStyle 窗口样式. @param lpClassName 窗口类名. @param pTitle 标题. @param pText 内容文本. @param nFlags 标识: xcc.MessageBox_Flag_. @param XCStyle xcc.Window_Style_. @return *ModalWindow 模态窗口对象.
func (*Window) NotifyMsg_SetBorderSize ¶
通知消息_置边大小, 设置通知消息面板边大小.
left: 左边.
top: 顶边.
right: 右边.
bottom: 底边.
func (*Window) NotifyMsg_SetParentMargin ¶
通知消息_置父边距 设置通知消息与父对象的四边间隔.
left: 左侧间隔, 未实现, 预留功能.
top: 顶部间隔.
right: 右侧间隔.
bottom: 底部间隔, 未实现, 预留功能.
func (*Window) NotifyMsg_WindowPopup ¶
func (w *Window) NotifyMsg_WindowPopup(position xcc.Position_Flag_, pTitle, pText string, hIcon int, skin xcc.NotifyMsg_Skin_) int
通知消息_窗口中弹出, 使用基础元素作为面板, 弹出一个通知消息, 返回元素句柄, 通过此句柄可对其操作.
position: 位置, Position_Flag_.
pTitle: 标题.
pText: 内容.
hIcon: 图标.
skin: 外观类型, NotifyMsg_Skin_.
func (*Window) NotifyMsg_WindowPopupEx ¶
func (w *Window) NotifyMsg_WindowPopupEx(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 (*Window) SetAlignBaseline ¶
func (w *Window) SetAlignBaseline(nAlign xcc.Layout_Align_Axis_) int
SetAlignBaseline 布局盒子_置对齐基线.
@param nAlign 对齐方式: xcc.Layout_Align_Axis_. @return int
func (*Window) SetAlignH ¶
func (w *Window) SetAlignH(nAlign xcc.Layout_Align_) int
SetAlignH 布局盒子_置水平对齐.
@param nAlign 对齐方式: xcc.Layout_Align_. @return int
func (*Window) SetAlignV ¶
func (w *Window) SetAlignV(nAlign xcc.Layout_Align_) int
SetAlignV 布局盒子_置垂直对齐.
@param nAlign 对齐方式: xcc.Layout_Align_. @return int
func (*Window) SetCaptionMargin ¶
窗口_置标题外间距, 设置标题内容(图标, 标题, 控制按钮)外间距.
left: 左边间距.
top: 上边间距.
right: 右边间距.
bottom: 下边间距.
func (*Window) SetCaretPos ¶
窗口_置插入符位置, 设置插入符位置.
x: x坐标.
y: y坐标.
width: 宽度.
height: 高度.
bUpdate: 是否立即更新UI.
func (*Window) SetDragBorderSize ¶
窗口_置拖动边框大小.
left: 窗口左边大小.
top: 窗口上边大小.
right: 窗口右边大小.
bottom: 窗口底边大小.
func (*Window) SetShadowInfo ¶
func (w *Window) SetShadowInfo(nSize int, nDepth byte, nAngeleSize int, bRightAngle bool, color int) int
窗口_置阴影信息.
nSize: 阴影大小.
nDepth: 阴影深度, 0-255.
nAngeleSize: 圆角阴影内收大小.
bRightAngle: 是否强制直角.
color: 阴影颜色, ABGR颜色.
func (*Window) SetTransparentType ¶
func (w *Window) SetTransparentType(nType xcc.Window_Transparent_) int
窗口_置透明类型.
nType: 窗口透明类型: xcc.Window_Transparent_.
type XWM_DOCK_POPUP ¶
type XWM_DOCK_POPUP1 ¶
type XWM_FLOATWND_DRAG ¶
浮动窗口拖动, 用户拖动浮动窗口移动, 显示停靠提示.
hFloatWnd: 拖动的浮动窗口句柄.
hArray: HWINDOW array[6], 窗格停靠提示窗口句柄数组, 有6个成员, 分别为:[0]中间十字, [1]左侧, [2]顶部, [3]右侧, [4]底部, [5]停靠位置预览.
type XWM_FLOATWND_DRAG1 ¶
浮动窗口拖动, 用户拖动浮动窗口移动, 显示停靠提示.
hWindow: 传入的窗口资源句柄.
hFloatWnd: 拖动的浮动窗口句柄.
hArray: HWINDOW array[6], 窗格停靠提示窗口句柄数组, 有6个成员, 分别为:[0]中间十字, [1]左侧, [2]顶部, [3]右侧, [4]底部, [5]停靠位置预览.
type XWM_FLOAT_PANE ¶
type XWM_FLOAT_PANE1 ¶
type XWM_MENU_DRAWITEM ¶
type XWM_MENU_DRAWITEM func(hDraw int, pInfo *xc.Menu_DrawItem_, pbHandled *bool) int // 绘制菜单项事件, 启用该功能需要调用XMenu_EnableDrawItem().
type XWM_MENU_DRAW_BACKGROUND ¶
type XWM_MENU_DRAW_BACKGROUND func(hDraw int, pInfo *xc.Menu_DrawBackground_, pbHandled *bool) int // 绘制菜单背景, 启用该功能需要调用XMenu_EnableDrawBackground().
type XWM_MENU_EXIT ¶
type XWM_MENU_POPUP ¶
type XWM_MENU_POPUP_WND ¶
type XWM_MENU_POPUP_WND func(hMenu int, pInfo *xc.Menu_PopupWnd_, pbHandled *bool) int // 菜单弹出窗口.