We use the following code to be able to get a reference to the TX Text Control ActiveX 15:
uLong iul_hWin//, iul_hWin2
iul_hWin = Handle ( rte_note)
iul_hWin = FindWindowEx ( iul_hWin, 0, "PBTxTextControl", 0 )
iul_hWin = FindWindowEx ( iul_hWin, 0, "AfxOleControl42u", 0 )
iul_hWin = FindWindowEx ( iul_hWin, 0, "TX15P", 0 )
And then can use the uLong reference for the Sentry SpellCheck:
SSCE_CheckCtrlBackgroundRecheckAll(iul_hWin, 8, RGB (255, 0, 0 ))
Does anyone know how to get the Refence to the TX Text Control ActiveX 28 in Powerbuilder 2021, Build 1506.
Thanks
Jim