Is it possible to disable controls in a dialog box, like you can disable menu items?

What I mean is, have the control turn gray, and stop windows from responding to clicks on it.
Posted on 2002-03-16 22:10:12 by The Worrier King
hi,

Dlg item disable ,

call GetDlgItem, hwnd, 3001
call EnableWindow, eax, FALSE

if enable FALSE ---> TRUE

for menu item ( here popup)

call CreatePopupMenu
mov ,eax

call AppendMenuA,hpop,MF_GRAYED,txt3,offset text3

have nice days,
Posted on 2002-03-16 22:15:42 by CYDONIA