|
Java™ by example!
|
|
|
How do I get the HWND handle of a Window?
Sometimes, you need the HWND handle for example to pass it on with JNI to a native function. See related links, where the mousewheel support is implemented using this method. This example shows you how to get the handle of a window as well as a Canvas. HwndCanvas:
Main.java:
Further Information
Author of answer: Joris Van den Bogaert
Comments
Comments to this answer are only viewable by members. Login or become a member!
|
|
|
|
|