Under some conditions, I want to disable a CheckBox. So I use the following code:
I have tried also this:
but the checkbox still be Active and the user can check/uncheck it.
Is it a bug of MT4 or my code is wrong?
I'm refreshing this topic. Using Disable() on CCheckbox is not working as expected. Although call returns true checkbox is still enabled and clickable. Is this a standard library error or something else?
I checked that flag WND_STATE_FLAG_ENABLE is properly reset on the object as a result of using Disable() - seems like Disable() is working properly but the flag itself is not working.