Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
F

Fourblack

@Fourblack
About
Posts
3
Topics
3
Shares
0
Groups
0
Followers
0
Following
0

Posts

Recent Best Controversial

  • Botanist from Khreshchatyk your mother will suck
    F Fourblack

    Botanist from internet club in Metrograd your mother will suck

    JavaScript

  • Botanist from Khreshchatyk your mother will suck
    F Fourblack

    Your mother will suck,

    JavaScript

  • IAccessible - get word under mouse pointer in IE
    F Fourblack

    I 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 );
    }
    }

    C / C++ / MFC question
  • Login

  • Don't have an account? Register

  • Login or register to search.
  • First post
    Last post
0
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups