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:
Regards,
Art
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
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.
The attachment contains the rest of the library and includes.
zip file contents:
copy_to_windows.inc
uxtheme.inc
uxtheme.lib
Regards,
Art
zip file contents:
copy_to_windows.inc
uxtheme.inc
uxtheme.lib
Regards,
Art
Thanks Morris,
I was thinking about that, but didn't give it a try. Anyway, thanks for a quick reply.
Regards,
Art
I was thinking about that, but didn't give it a try. Anyway, thanks for a quick reply.
Regards,
Art