detecting style param in createEx
- Posted by Judith Evans <camping at ccewb.net> Oct 09, 2006
- 508 views
I have an include file that interrogates Style used in createEx in Mainline. I use Win32lib's getWindowInfo to grab the style. I want to know if BS_MULTILINE or #8000 (flatbutton)had been added to the default PushButton style. What I do is add the value of BS_MULTILINE or #8000 or both to the value of the default style. If the number is the value getWindowInfo returns I know which or if both were added. My problem is if another style were added, my technique will fail. Is there a better way to do this and if so what? regards, judith evans