button state

Started by Shawn Anderson, September 12, 2009, 06:22:28 PM

Previous topic - Next topic

Shawn Anderson

I'm trying to get the state of a button, specifically is it is disabled or not.
I'm using:
saveState = SendMessage(hWndForm, %TB_GETSTATE, HWND_INCOMING_SAVE, 0)
but saveState always returns 0.