Of course, it's only a work around. As long as it can be used to determine the state of a certain setting, I don't care that much what it exactly is. Writing to the structures looks much more dangerous to me, and was not the goal of this approach.
Using this method to optain brush information allows me not to use a third party dll that does the same, plus whatnot.
Additionally, a built in function GetBrushAlpha would probably look about the same (esp. if written in ASM): obtain the adress of the structure, read a certain offset or type variable.
Using this method to optain brush information allows me not to use a third party dll that does the same, plus whatnot.
Additionally, a built in function GetBrushAlpha would probably look about the same (esp. if written in ASM): obtain the adress of the structure, read a certain offset or type variable.