mirror of
https://github.com/go-vgo/robotgo.git
synced 2025-05-31 06:13:55 +00:00
Update docs
This commit is contained in:
parent
61404b6e61
commit
c14451562b
16
docs/doc.md
16
docs/doc.md
@ -461,17 +461,17 @@ func main() {
|
||||
Close the Window
|
||||
|
||||
####Arguments:
|
||||
|
||||
None
|
||||
|
||||
####Return:
|
||||
|
||||
None
|
||||
|
||||
###<h3 id="IsValid">.IsValid()</h3>
|
||||
|
||||
Valid the Window
|
||||
|
||||
####Arguments:
|
||||
|
||||
None
|
||||
|
||||
####Return:
|
||||
Returns true if a window has been selected
|
||||
@ -482,7 +482,7 @@ func main() {
|
||||
Set the Active Window
|
||||
|
||||
####Arguments:
|
||||
hwnd
|
||||
hwnd
|
||||
|
||||
####Return:
|
||||
void
|
||||
@ -493,7 +493,7 @@ func main() {
|
||||
Get the Active Window
|
||||
|
||||
####Arguments:
|
||||
|
||||
None
|
||||
|
||||
####Return:
|
||||
Returns hwnd
|
||||
@ -513,7 +513,7 @@ func main() {
|
||||
Get the Window Handle
|
||||
|
||||
####Arguments:
|
||||
|
||||
None
|
||||
|
||||
####Return:
|
||||
Returns hwnd
|
||||
@ -523,7 +523,7 @@ func main() {
|
||||
Get the Window Title
|
||||
|
||||
####Arguments:
|
||||
|
||||
None
|
||||
|
||||
####Return:
|
||||
Returns Window Title
|
||||
@ -533,7 +533,7 @@ func main() {
|
||||
Get the process id
|
||||
|
||||
####Arguments:
|
||||
|
||||
None
|
||||
|
||||
####Return:
|
||||
Returns the process id
|
||||
|
@ -476,17 +476,17 @@ func main() {
|
||||
关闭窗口
|
||||
|
||||
####参数:
|
||||
|
||||
无
|
||||
|
||||
####返回值:
|
||||
|
||||
无
|
||||
|
||||
###<h3 id="IsValid">.IsValid()</h3>
|
||||
|
||||
Valid the Window
|
||||
|
||||
####参数:
|
||||
|
||||
无
|
||||
|
||||
####返回值:
|
||||
如果窗口selected返回true
|
||||
@ -497,7 +497,7 @@ func main() {
|
||||
设为当前窗口
|
||||
|
||||
####参数:
|
||||
hwnd
|
||||
hwnd
|
||||
|
||||
####返回值:
|
||||
void
|
||||
|
@ -132,7 +132,7 @@ void dispatch_proc(iohook_event * const event) {
|
||||
case EVENT_KEY_TYPED:
|
||||
snprintf(buffer + length, sizeof(buffer) - length,
|
||||
",keychar=%lc,rawcode=%u",
|
||||
(uint16_t) event->data.keyboard.keychar,//wint_t
|
||||
(uint16_t) event->data.keyboard.keychar,
|
||||
event->data.keyboard.rawcode);
|
||||
|
||||
#ifdef WE_REALLY_WANT_A_POINTER
|
||||
|
Loading…
Reference in New Issue
Block a user