About CommandButton

Started by Jean-Pierre LEROY, April 04, 2005, 08:01:30 AM

Previous topic - Next topic

Jean-Pierre LEROY

Hi,

I know how I can Enable or Disable a CommandButton using FF_Control_Enable or FF_Control_Disable.

I would like to know if there is a FireFly function or API to know (or read) the state of a Button ?

Thank you.
Jean-Pierre.

TechSupport

Hi Jean-Pierre,

The API that you need is called IsWindowEnabled

stat = IsWindowEnabled( hwnd )

The function returns whether the specifided window is enabled for mouse and keyboard input.

Hope this helps.

Jean-Pierre LEROY

Ok, thank you Paul for your help.

Jean-Pierre