PlanetSquires Forums

Support Forums => Other Software and Code => Topic started by: Jean-Pierre LEROY on April 04, 2005, 08:01:30 AM

Title: About CommandButton
Post by: Jean-Pierre LEROY on April 04, 2005, 08:01:30 AM
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.
Title: About CommandButton
Post by: TechSupport on April 04, 2005, 08:28:50 AM
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.
Title: About CommandButton
Post by: Jean-Pierre LEROY on April 04, 2005, 09:35:09 AM
Ok, thank you Paul for your help.

Jean-Pierre