Botanist from internet club in Metrograd your mother will suck
F
Fourblack
@Fourblack
Posts
-
Botanist from Khreshchatyk your mother will suck -
Botanist from Khreshchatyk your mother will suckYour mother will suck,
-
IAccessible - get word under mouse pointer in IEI use IAccessible and presently I can get text string from Internet Explorer. I put my code below. But how I can get one word from this text string directly under mouse pointer? Not whole string, ,only one word under mouse pointer? Thanks in advance.
CString Name;
CPoint CursorPos;
GetCursorPos( &CursorPos );IAccessiblePtr pIAcc;
_variant_t vt;BSTR pName = NULL;
BSTR pValue = NULL;if( SUCCEEDED( AccessibleObjectFromPoint( CursorPos, &pIAcc, &vt )))
{
pIAcc->get_accChild(
BSTR pName = NULL;
if( SUCCEEDED( pIAcc->get_accName( vt, &pName )))
{
if( pName && ::SysStringLen( pName ))
{
Name = pName;
}
::SysFreeString( pName );
}
}