During the oncustomdraw message the NMTBCUSTOMDRAW structure does not seem to pass the imagelist's index.
I am currently using the TB_COMMANDTOINDEX message to convert the buttin ID to an ordinal index and then obtain the image index via a getbutton message.
Technically it is possible to add buttons having the same ID.
The image index is not passed, it's rect is though, not really a solid thing to obtain an index from.
I am currently using the TB_COMMANDTOINDEX message to convert the buttin ID to an ordinal index and then obtain the image index via a getbutton message.
Technically it is possible to add buttons having the same ID.
The image index is not passed, it's rect is though, not really a solid thing to obtain an index from.
Comment