Hi all,
I've been preparing a small text editor. I'm wondering how to disable save button, if this operation has been done a few second before.
Regards :8)
Just use EnableWindow() with the FALSE flag.
Maybe is a dump question, but if you making a text editor, do you mean MENU ITEM instead of button. In that case ,you can use:
invoke EnableMenuItem,hMenu,IDM_SAVE,MF_GRAYED.
Otherwise, Hutch is right.
Thanks :8)