Is it possible to determine programmatically if a control is enabled or disabled?
CONTROL SHOW STATE does not provide this information as the attached code snippet demonstrates:
If you enable %Input105 and disable %Input106 and then call the above code the values of i and j (both are defined as DWORD) will be the same. I would have expected the values of i and j to be different.
CONTROL SHOW STATE does not provide this information as the attached code snippet demonstrates:
Code:
CONTROL SHOW STATE hDlg, %Input105, %SW_SHOWNOACTIVATE TO i CONTROL SHOW STATE hDlg, %Input106, %SW_SHOWNOACTIVATE TO j ?"In 1 State: " + FORMAT$(i) + $CR + "In 2 State: " + FORMAT$(j),,"State of In 1 and In 2"
Comment