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 GetFileNameWithoutExt ¶
GetFileNameWithoutExt 获取一个无扩展的文件名
func GetLibResouceItem ¶
func GetLibResouceItem(aIndex int32) types.TLibResouce
func GetLibResouceItems ¶
func GetLibResouceItems() []types.TLibResouce
func GetStringArrOf ¶
GetStringArrOf 从一个Delphi/Lazarus字符串数组获取成员
func IsNil ¶
func IsNil(val interface{}) bool
IsNil 判断一个接口是否为空 interface{}数据类型定义为 typedef struct { void *type; void *value; } GoInterface; 当type与value值都为nil时则为空。
func IsWindowVisible ¶
func IsWindowVisible(hWnd HWND) bool
func ModifyLibResouce ¶
func PostMessage ¶
func SendMessage ¶
func SetForegroundWindow ¶
func SetForegroundWindow(hWnd HWND) bool
func SetPropertySecValue ¶
SetPropertySecValue 设置对象二级属性
func SetPropertyValue ¶
SetProperty SetPropertyValue 设置对象属性
func ShiftStateToWord ¶
func ShiftStateToWord(shift types.TShiftState) uint32
func ShortCutToText ¶
ShortCutToText 将ShortCut类型转为字符串
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 ¶
func WindowFromPoint(point TPoint) HWND
Types ¶
This section is empty.
Source Files ¶
Click to show internal directories.
Click to hide internal directories.