OK somebody had to be first
Having a bit of trouble moving over from DDT . I can't find, and yes I really have looked, for the function to disable a button. What I need is the button version of this menu function
EnableMenuItem Function
The EnableMenuItem function enables, disables, or grays the specified menu item.
Syntax
BOOL EnableMenuItem(
HMENU hMenu,
UINT uIDEnableItem,
UINT uEnable
);
Or DDT version
CONTROL DISABLE hDlg, id&
Michael
EnableWindow hButton, bAction
hButton is the handle of the button (or listview, or combobox, or editbox...)
BAction is %TRUE (enable) or %FALSE (disable)
Thanks George
Up and running
Michael