代码拉取完成,页面将自动刷新
同步操作将从 秋雨阳/xcgui 强制同步,此操作会覆盖自 Fork 仓库以来所做的任何修改,且无法恢复!!!
确定后同步将在后台操作,完成时将刷新页面,请耐心等待。
package xcgui
import (
"github.com/codyguo/xcgui/xc"
)
type MsgBoxStyle uint
const (
MsgBoxOK MsgBoxStyle = xc.MB_OK
MsgBoxOKCancel MsgBoxStyle = xc.MB_OKCANCEL
MsgBoxAbortRetryIgnore MsgBoxStyle = xc.MB_ABORTRETRYIGNORE
MsgBoxYesNoCancel MsgBoxStyle = xc.MB_YESNOCANCEL
MsgBoxYesNo MsgBoxStyle = xc.MB_YESNO
MsgBoxRetryCancel MsgBoxStyle = xc.MB_RETRYCANCEL
MsgBoxCancelTryContinue MsgBoxStyle = xc.MB_CANCELTRYCONTINUE
MsgBoxIconHand MsgBoxStyle = xc.MB_ICONHAND
MsgBoxIconQuestion MsgBoxStyle = xc.MB_ICONQUESTION
MsgBoxIconExclamation MsgBoxStyle = xc.MB_ICONEXCLAMATION
MsgBoxIconAsterisk MsgBoxStyle = xc.MB_ICONASTERISK
MsgBoxUserIcon MsgBoxStyle = xc.MB_USERICON
MsgBoxIconWarning MsgBoxStyle = xc.MB_ICONWARNING
MsgBoxIconError MsgBoxStyle = xc.MB_ICONERROR
MsgBoxIconInformation MsgBoxStyle = xc.MB_ICONINFORMATION
MsgBoxIconStop MsgBoxStyle = xc.MB_ICONSTOP
MsgBoxDefButton1 MsgBoxStyle = xc.MB_DEFBUTTON1
MsgBoxDefButton2 MsgBoxStyle = xc.MB_DEFBUTTON2
MsgBoxDefButton3 MsgBoxStyle = xc.MB_DEFBUTTON3
MsgBoxDefButton4 MsgBoxStyle = xc.MB_DEFBUTTON4
)
func MsgBox(owner Window, title, message string, style MsgBoxStyle) int {
var ownerHWnd xc.HWND
if owner != nil {
ownerHWnd = owner.Handle()
}
return int(xc.MessageBox(
ownerHWnd,
title,
message,
uint32(style)))
}
此处可能存在不合适展示的内容,页面不予展示。您可通过相关编辑功能自查并修改。
如您确认内容无涉及 不当用语 / 纯广告导流 / 暴力 / 低俗色情 / 侵权 / 盗版 / 虚假 / 无价值内容或违法国家有关法律法规的内容,可点击提交进行申诉,我们将尽快为您处理。