B4J Question JNA SendMessage - I need help!

Cableguy

Expert
Licensed User
Longtime User
Hi guys...
I need to send a message to a Form Handler, basically "intercepting" the WM_NCHITTEST Message ( This allows your custom maximize button to be registered as the standard one) and Return HTMAXBUTTON (thus making the OS believe my custom Maximize button is the Native one).

Getting the form handler is the easiest part, and there's plenty of examples using JavaObject... However the rest requires JNA, which is not so commonly found here in the forum, and the JNA lib that is available, has very targeted methods.

SO, any one wants a challenge?
 
Top