[ CODE ]
[ CODE ]
This is a really long test line to make the code window have a scroll bar at the bottom for testing purposes.
[ /CODE ]
[ /CODE ]
you will get:
Code:
[CODE] This is a really long test line to make the code window have a scroll bar at the bottom for testing purposes.
As to the original topic of this thread. I'm thinking that in your original code, something probably has a %WS_GROUP style by default and without that style added to the option button, it thinks it is part of the currently defined group and Windows is possibly treating the other controls as option buttons and trying to clear their state which could lead to your program going off into space.
Someone mentioned that this doesn't happen with SDK code but I'm not sure the DDT and SDK equivalents have the same default styles. Someone would have to check on that to be sure they were both doing the same thing.
Leave a comment: