* By reference (not necessary) DECLARE INTEGER FindWindowEx IN "user32.dll" ; INTEGER, INTEGER, STRING @, INTEGER lcWindClass = "AfxOleControl80" + CHR(0) && this would be the Window class name for AX lhAXHdl = FindWindowEx(thisform.HWnd, 0, @lcWindClass, 0) * By value (preferred) DECLARE INTEGER FindWindowEx IN "user32.dll" ; INTEGER, INTEGER, STRING , INTEGER lcWindClass = "AfxOleControl80" && this would be the Window class name for AX lhAXHdl = FindWindowEx(thisform.HWnd, 0, lcWindClass,0)>Thank you for the above link; this led me to the missing information that I needed. I found the Win32 API call:
>LOCAL lcOLEClass, lhAXHdl >DECLARE INTEGER FindWindowEx IN "user32.dll" ; > INTEGER, INTEGER, STRING @, STRING @ >lcOLEClass = "AfxOleControl80" && this would be the class name for AX >lhAXHdl = FindWindowEx(thisform.HWnd,0,@lcOLEClass,0) >... >>