Documentation ¶
Rendered for windows/amd64
Index ¶
- Variables
- func Folder(title string, rootDir string, flag uint32, exLong bool) (string, error)
- func GetExistingFileName(title string, initDir string, filter FileNameFilters, flag uint32, exLong bool) ([]string, error)
- func GetNewFileName(title string, initDir string, filter FileNameFilters, flag uint32, exLong bool) (string, error)
- func MsgBox(title string, msg string, flag uint) (int, error)
- type FileError
- type FileNameFilters
- type MsgBoxError
Constants ¶
This section is empty.
Variables ¶
View Source
var ( FileNameMultiSelect uint32 = 0x00000200 FileNameShowHidden uint32 = 0x10000000 )
View Source
var ( FolderEditBox uint32 = 0x00000010 FolderNewDialogStyle uint32 = 0x00000040 FolderNoNewFolderButton uint32 = 0x00000200 FolderBrowseIncludeFiles uint32 = 0x00004000 )
View Source
var ( MsgBoxBtnOk uint = 0x000000 MsgBoxBtnOkCancel uint = 0x000001 MsgBoxBtnAbortRetryIgnore uint = 0x000002 MsgBoxBtnYesNoCancel uint = 0x000003 MsgBoxBtnYesNo uint = 0x000004 MsgBoxBtnRetryCancel uint = 0x000005 MsgBoxBtnCancelTryContinue uint = 0x000006 MsgBoxIconNone uint = 0x000000 MsgBoxIconError uint = 0x000010 MsgBoxIconQuestion uint = 0x000020 MsgBoxIconWarning uint = 0x000030 MsgBoxIconInformation uint = 0x000040 MsgBoxDefaultButton1 uint = 0x000000 MsgBoxDefaultButton2 uint = 0x000100 MsgBoxDefaultButton3 uint = 0x000200 MsgBoxDefaultButton4 uint = 0x000300 MsgBoxTopMost uint = 0x041000 MsgBoxService uint = 0x200000 MsgBoxSelectOk = 1 MsgBoxSelectCancel = 2 MsgBoxSelectAbort = 3 MsgBoxSelectRetry = 4 MsgBoxSelectIgnore = 5 MsgBoxSelectYes = 6 MsgBoxSelectNo = 7 MsgBoxSelectTry = 10 MsgBoxSelectContinue = 11 )
Functions ¶
func GetExistingFileName ¶
func GetExistingFileName(title string, initDir string, filter FileNameFilters, flag uint32, exLong bool) ([]string, error)
GetExistingFileName create get existing file name dialog
func GetNewFileName ¶
func GetNewFileName(title string, initDir string, filter FileNameFilters, flag uint32, exLong bool) (string, error)
GetNewFileName create new file name dialog
Types ¶
type FileNameFilters ¶
type MsgBoxError ¶
type MsgBoxError uint32
func (MsgBoxError) Error ¶
func (e MsgBoxError) Error() string
Click to show internal directories.
Click to hide internal directories.