diff options
| author | Pietro Gagliardi <[email protected]> | 2014-04-14 23:11:28 -0400 |
|---|---|---|
| committer | Pietro Gagliardi <[email protected]> | 2014-04-14 23:11:28 -0400 |
| commit | da2d4da15a19887c1dd031314d61b1dc2b04ea6d (patch) | |
| tree | 907aaceade5f51d24ee857916a26f8c4d2217743 /area_windows.go | |
| parent | ef7b5648558d046ffa8739c46fa9a4aa4f637d24 (diff) | |
Added click-to-focus to GTK+ Areas and documented that click-to-focus happens; also TODOs related to that.
Diffstat (limited to 'area_windows.go')
| -rw-r--r-- | area_windows.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/area_windows.go b/area_windows.go index a2e8631..9db8091 100644 --- a/area_windows.go +++ b/area_windows.go @@ -622,7 +622,7 @@ func areaWndProc(s *sysData) func(hwnd _HWND, uMsg uint32, wParam _WPARAM, lPara } return defwndproc() case _WM_MOUSEACTIVATE: - // register our window for keyboard input + // transfer keyboard focus to our Area on an activating click // (see http://www.catch22.net/tuts/custom-controls) r1, _, err := _setFocus.Call(uintptr(s.hwnd)) if r1 == 0 { // failure |
