Dll import - GET_X_LPARAM macro

Hi,

In what dll is stored the GET_X_LPARAM(GET_Y_LPARAM) macro from the win32 SDK
It is declared in WindowsX.h, but in what dll it is located
As for my custom caption form I need to get the non-client mouse coordinates and I need to override the wndproc and catch the WM_NCHITTEST message.

Thanks in advance!

Gogou


Answer this question

Dll import - GET_X_LPARAM macro

  • pfpgroup

    The Framework doesn't have those sorts of things wrapped and publically exposed.  It's best just to go into WindowsX.h and copy them into your project.  It's usually easy to port them to VB.NET or C# and have them in a static utility function.  That's how we do it internally.
  • luis figueredo

    I just downloaded an application that gives explainations, examples, parameters as well as any .net information (if any) of over 900 api calls.  Check it out at http://www.mentalis.org.  

    The name of the application is API-Guide 3.7.

  • Dll import - GET_X_LPARAM macro