Documentation ¶
Index ¶
- Variables
- func Combine(path, name string) string
- func CreateGUID() types.TGUID
- func Exclude(r uint32, val ...uint8) uint32
- func ExtractFileExt(path string) string
- func ExtractFileName(path string) string
- func ExtractFilePath(filename string) string
- func FileExists(filename string) bool
- func GUIDToString(guid types.TGUID) string
- func GetDC(hWnd HWND) HDC
- func GetFileNameWithoutExt(path string) string
- func GetLibResouceCount() int32
- func GetLibResouceItem(aIndex int32) types.TLibResouce
- func GetLibResouceItems() []types.TLibResouce
- func GetStringArrOf(p uintptr, index int) string
- func InSets(r uint32, s uint32) bool
- func Include(r uint32, val ...uint8) uint32
- func IsIconic(hWnd HWND) bool
- func IsNil(val interface{}) bool
- func IsWindow(hWnd HWND) bool
- func IsWindowVisible(hWnd HWND) bool
- func IsZoomed(hWnd HWND) bool
- func LcLLoaded() bool
- func LibStringEncoding() types.TStringEncoding
- func LibVersion() uint32
- func LocaleIDFromName(name string) int32
- func MainInstance() uintptr
- func ModifyLibResouce(aPtr uintptr, aValue string)
- func Move(src, dest uintptr, llen int)
- func PostMessage(hWd HWND, msg uint32, wParam, lParam uintptr) bool
- func ReleaseDC(hWnd HWND, dc HDC) int
- func SendMessage(hWd HWND, msg uint32, wParam, lParam uintptr) uintptr
- func SetForegroundWindow(hWnd HWND) bool
- func SetPropertySecValue(instance uintptr, propName, secPropName, value string)
- func SetPropertyValue(instance uintptr, propName, value string)
- func ShiftStateToWord(shift types.TShiftState) uint32
- func ShortCutToText(val types.TShortCut) string
- func StrLen(str uintptr) int
- func StringToGUID(str string) types.TGUID
- func SysOpen(filename string)
- func TextToShortCut(val string) types.TShortCut
- func WindowFromPoint(point TPoint) HWND
Constants ¶
This section is empty.
Variables ¶
View Source
var ( // SysLocale 本地化相关 SysLocale types.TSysLocale )
Functions ¶
func GUIDToString ¶ added in v1.1.23
GUIDToString 将GUID转为字符形式
func GetFileNameWithoutExt ¶ added in v1.2.8
GetFileNameWithoutExt 获取一个无扩展的文件名
func GetLibResouceItem ¶ added in v1.1.23
func GetLibResouceItem(aIndex int32) types.TLibResouce
func GetLibResouceItems ¶ added in v1.1.23
func GetLibResouceItems() []types.TLibResouce
func GetStringArrOf ¶
GetStringArrOf 从一个Delphi/Lazarus字符串数组获取成员
func IsNil ¶ added in v1.2.1
func IsNil(val interface{}) bool
IsNil 判断一个接口是否为空 interface{}数据类型定义为 typedef struct { void *type; void *value; } GoInterface; 当type与value值都为nil时则为空。
func IsWindowVisible ¶ added in v1.2.10
func IsWindowVisible(hWnd HWND) bool
func LibStringEncoding ¶ added in v1.2.2
func LibStringEncoding() types.TStringEncoding
库的信息 获取当前库使用的字符串编码
func LocaleIDFromName ¶ added in v1.2.1
LocaleIDFromName 从名称获取一个语言的id
func ModifyLibResouce ¶ added in v1.1.23
func PostMessage ¶ added in v1.2.10
func SendMessage ¶ added in v1.2.10
func SetForegroundWindow ¶ added in v1.2.10
func SetForegroundWindow(hWnd HWND) bool
func SetPropertySecValue ¶ added in v1.1.21
SetPropertySecValue 设置对象二级属性
func SetPropertyValue ¶ added in v1.1.21
SetProperty SetPropertyValue 设置对象属性
func ShiftStateToWord ¶ added in v1.2.8
func ShiftStateToWord(shift types.TShiftState) uint32
func ShortCutToText ¶
ShortCutToText 将ShortCut类型转为字符串
func StringToGUID ¶ added in v1.1.23
StringToGUID 将字符形式的GUID转为TGUID结构
func SysOpen ¶
func SysOpen(filename string)
SysOpen 打开,windows下调用ShellExecute
// windows rtl.SysOpen("http://www.xxx.com") rtl.SysOpen("c:\") rtl.SysOpen("c:\xxx.exe") // linux or macOS rtl.SysOpen("https://wwww.xxx.com") rtl.SysOpen("file:///xxx.png");
func TextToShortCut ¶
TextToShortCut 将字符串转为ShortCut类型
func WindowFromPoint ¶ added in v1.2.10
func WindowFromPoint(point TPoint) HWND
Types ¶
This section is empty.
Source Files ¶
Click to show internal directories.
Click to hide internal directories.