Merge pull request #4023 from omrilitov/master

Added getNativeWindowHandle method
This commit is contained in:
Cheng Zhao 2016-01-11 13:32:29 +08:00
commit 54e1d7b3bf
7 changed files with 22 additions and 3 deletions

View file

@ -571,6 +571,12 @@ Enters or leaves the kiosk mode.
Returns whether the window is in kiosk mode.
### `win.getNativeWindowHandle()`
Returns the platform-specific handle of the window in a buffer.
Cast it to the appropriate type, such as HWND for Windows, NSView* for OS X or unsigned long for Linux.
Used for OS's Native API's for windows.
### `win.hookWindowMessage(message, callback)` _Windows_
* `message` Integer