Code: Select all
#include "Fivewin.ch"
FUNCTION MAIN()
LOCAL oWnd
DEFINE WINDOW oWnd
DEFINE BUTTONBAR OF oWnd
@ 10, 10 SAY "This is a test"
ACTIVATE WINDOW oWnd;
ON CLICK MSGINFO( oWnd:aControls[ 1 ]:ClassName )
RETURN NIL