WM_MEASUREITEM

General discussion forum for Ams Plugin Maker
Post Reply
User avatar
Shrek
Registered User
Posts: 49
Joined: Mon Aug 12, 2013 10:10 pm

WM_MEASUREITEM

Post by Shrek »

Code: Select all

__DrawProc = function(hWnd,message,wParam,lParam)
 if (message == 0x002C) then -- Measure Item, return true if processed.

 end
 if (message == 0x002B) then -- Draw Item, return true if processed.
  
 end
end;
The WM_MEASUREITEM gives a pointer to a structure, how do I fill in the MEASUREITEMSTRUCT members from that pointer with APM?

The WM_DRAWITEM message does the same thing.
User avatar
Shrek
Registered User
Posts: 49
Joined: Mon Aug 12, 2013 10:10 pm

Post by Shrek »

Bump.........................................
User avatar
Serkan
Developer
Developer
Posts: 214
Joined: Thu Jul 04, 2013 8:44 pm
Location: Windows.h
Contact:

Post by Serkan »

Hi
Sorry for late reply

currently there is no support to produce a structure representation from a memory pointer
i tried to do it with Raw Data Access method ,to show as a workaround but that did not help as well

i hope that most of this limitations will be fixed in next version

Thanks
Post Reply