Skip to content

Latest commit

 

History

History
20 lines (15 loc) · 615 Bytes

sample_306.md

File metadata and controls

20 lines (15 loc) · 615 Bytes

Home

Using the IsWindowEnabled function

Code:

DECLARE INTEGER GetActiveWindow IN user32
	DECLARE INTEGER GetDesktopWindow IN user32
	DECLARE INTEGER IsWindowEnabled IN user32 INTEGER hwnd

	? IsWindowEnabled (GetActiveWindow())  && main VFP window
	? IsWindowEnabled (GetDesktopWindow()) && Windows desktop  

Listed functions:

GetActiveWindow
GetDesktopWindow
IsWindowEnabled