I searched a while in the forums but did not find anything.
CONTROL ENABLE hDlg, id&
and
CONTROL DISABLE hDlg, id&
work great for DDT.
I am trying to do the equivalent for SDK.
I found the following can enable and disable text boxes (EDITTEXT):
SendDlgItemMessage hDlg, id&, %WM_ENABLE, 0, 0
and
SendDlgItemMessage hDlg, id& %WM_ENABLE, 1, 0
but is not working for a CONTROL with the attribute BS_AUTOCHECKBOX.
Any suggestions?
CONTROL ENABLE hDlg, id&
and
CONTROL DISABLE hDlg, id&
work great for DDT.
I am trying to do the equivalent for SDK.
I found the following can enable and disable text boxes (EDITTEXT):
SendDlgItemMessage hDlg, id&, %WM_ENABLE, 0, 0
and
SendDlgItemMessage hDlg, id& %WM_ENABLE, 1, 0
but is not working for a CONTROL with the attribute BS_AUTOCHECKBOX.
Any suggestions?
Comment