Look at the demo script. WM_COMMAND is used for interaction with the control. ;Adapted from BCX Demo by Kevin Diggins ;http://www.allbasic.info/forum/index.php?topic=448.0 #include[/url] <GUIConstantsEx.au3> #include <WindowsConstants.au3> #include <WinAPI.au3> #include <Color.au3> #include "RAGrid_UDF.au3" Global $Form Global $hGrid Global $hLib Global $hFont Global $lf = DllStructCreate($tagLOGFONT) Global Const $IDC_GRID = 101 Global $hWndSaveFocus = 0 ;take a litt