1. Win32lib: bitmapped window caption

Hello Euphorians,

 i am reading the euphoria mailinglist for quite a long time now
 and started win32lib programming some months ago.

 i have a problem concerning bitmapped window captions:

 i want to intercept the WM_NCHITTEST message in a win32lib program and
 test if the mouse was clicked within the area of the window, where i
 did draw a bitmap. the x/y screen position of the mouse contained in
 the WM_NCHITTEST (132) message can be translated to the x/y position
 relative to the window using the ScreenToClient API function.
 when the mouse is clicked in the right area, i want to return
 HTCAPTION (2) to windows so windows moves the window.
 how do i return HTCAPTION to windows?

 i hope that someone has an answer.

Best regards,
 Hendrik Mundt

mailto:hm-1704 at gmx.net

new topic     » topic index » view message » categorize

Search



Quick Links

User menu

Not signed in.

Misc Menu