Hi folks,

this might seem like a stupid question but i need some answers, so here goes:

I was busy experimenting with uxtheme.dll, and i built an include for it. But there's a problem:
The HitTestThemeBackground API function takes a POINT structure as parameter, and hutch's inc2l.exe utility doesn't accept structs as input. I tried using QWORD but sadly the utility automatically converted it to DWORD.

Here's the function prototype:


HitTestThemeBackground PROTO :DWORD,:DWORD,:DWORD,:DWORD,:DWORD,:DWORD,:DWORD,:DWORD,:DWORD,:POINT,:DWORD



Regards,
Art
Posted on 2003-11-19 05:57:23 by art_sands
Change the :POINT parameter to two :DWORD parameters, just as it is with WindowFromPoint() function - it expects a POINT struct (not a pointer to it) as the parameter.
Posted on 2003-11-19 06:03:59 by Morris
The attachment contains the rest of the library and includes.
zip file contents:
copy_to_windows.inc
uxtheme.inc
uxtheme.lib

Regards,
Art
Posted on 2003-11-19 06:04:05 by art_sands
Thanks Morris,

I was thinking about that, but didn't give it a try. Anyway, thanks for a quick reply.

Regards,
Art
Posted on 2003-11-19 06:05:45 by art_sands