- James Beck
- PowerBuilder
- Tuesday, 19 April 2022 08:02 PM UTC
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
Find Questions by Tag
Helpful?
If a reply or comment is helpful for you, please don’t hesitate to click the Helpful button. This action is further confirmation of their invaluable contribution to the Appeon Community.