Tippex Posted September 1, 2016 Share Posted September 1, 2016 In WindowsConstants.au3 the Drawstate constants are currently: Global Const $CDDS_PREPAINT = 0x00000001 Global Const $CDDS_POSTPAINT = 0x00000002 Global Const $CDDS_PREERASE = 0x00000003 Global Const $CDDS_POSTERASE = 0x00000004 Global Const $CDDS_ITEM = 0x00010000 Global Const $CDDS_ITEMPREPAINT = 0x00010001 Global Const $CDDS_ITEMPOSTPAINT = 0x00010002 Global Const $CDDS_ITEMPREERASE = 0x00010003 Global Const $CDDS_ITEMPOSTERASE = 0x00010004 Global Const $CDDS_SUBITEM = 0x00020000 I was expecting the additional: Global Const $CDDS_SUBITEMPREPAINT = 0x00030001 but wondered if it was intentionally missing because it could be derived from its components? Global Const $CDDS_SUBITEMPREPAINT = BitOR($CDDS_ITEM, $CDDS_SUBITEM, $CDDS_PREPAINT) For clarity, should it just be added or would that be a possible script breaker and best be left out? Link to comment Share on other sites More sharing options...
JohnOne Posted September 1, 2016 Share Posted September 1, 2016 It does not need adding for the reasons you said, and it is standard not to have them. AutoIt Absolute Beginners Require a serial Pause Script Video Tutorials by Morthawt ipify Monkey's are, like, natures humans. Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now