Click here to Skip to main content
15,926,290 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
QuestionIf my app use DirectShow, do my mp need DirectX for running? Pin
sonshiro20-Aug-02 19:58
sonshiro20-Aug-02 19:58 
AnswerRe: If my app use DirectShow, do my mp need DirectX for running? Pin
Stephane Rodriguez.20-Aug-02 21:30
Stephane Rodriguez.20-Aug-02 21:30 
QuestionHelp! answer to simple question: System.IO.Stream?? Pin
devvvy20-Aug-02 18:56
devvvy20-Aug-02 18:56 
GeneralWM_COMMAND custom message ID Pin
JennyP20-Aug-02 18:58
JennyP20-Aug-02 18:58 
GeneralRe: WM_COMMAND custom message ID Pin
alex.barylski20-Aug-02 19:21
alex.barylski20-Aug-02 19:21 
GeneralRe: WM_COMMAND custom message ID Pin
Tomasz Sowinski21-Aug-02 0:31
Tomasz Sowinski21-Aug-02 0:31 
GeneralText HOOK Pin
Anonymous20-Aug-02 18:24
Anonymous20-Aug-02 18:24 
GeneralRe: Text HOOK Pin
alex.barylski20-Aug-02 19:32
alex.barylski20-Aug-02 19:32 
Actually i think this question gets asked enough that CG suggested Mike enter it in his C++ FAQ...you might wanna check it out...

Basically and easily you can't...however you can probably get away with text capture w/ HTML documents because IE (actually the IWebBrowser2 object) supports OnMouseOver & OnMouseOut events for all elements so you could probably take control of that object some how and use IE's innerHTML property and extract the text the mouse is currently over...for that matter you could then change it by setting the property...

I'm pretty sure other other programs like MS word wouldn't allow this becuase they probably use CRichEditCtrl which doesn't support the same events as IWebBrowser2 com object.

hooking text otherwise is almost impossible requiring character recognition or something like that...

Cheers Smile | :)

"An expert is someone who has made all the mistakes in his or her field" - Niels Bohr
GeneralSearching the MSDN Library CD Pin
JennyP20-Aug-02 18:08
JennyP20-Aug-02 18:08 
GeneralRe: Searching the MSDN Library CD Pin
alex.barylski20-Aug-02 19:23
alex.barylski20-Aug-02 19:23 
GeneralRe: Searching the MSDN Library CD Pin
Tomasz Sowinski20-Aug-02 23:58
Tomasz Sowinski20-Aug-02 23:58 
Generaltry/catch Pin
alex.barylski20-Aug-02 16:54
alex.barylski20-Aug-02 16:54 
GeneralRe: try/catch Pin
Chris Losinger20-Aug-02 17:07
professionalChris Losinger20-Aug-02 17:07 
GeneralRe: try/catch Pin
alex.barylski20-Aug-02 19:01
alex.barylski20-Aug-02 19:01 
GeneralRe: try/catch Pin
Tomasz Sowinski20-Aug-02 23:36
Tomasz Sowinski20-Aug-02 23:36 
GeneralRe: try/catch Pin
alex.barylski21-Aug-02 0:51
alex.barylski21-Aug-02 0:51 
GeneralRe: try/catch Pin
Tomasz Sowinski21-Aug-02 0:58
Tomasz Sowinski21-Aug-02 0:58 
GeneralRe: try/catch Pin
alex.barylski21-Aug-02 3:33
alex.barylski21-Aug-02 3:33 
GeneralRe: try/catch Pin
Tomasz Sowinski21-Aug-02 3:39
Tomasz Sowinski21-Aug-02 3:39 
GeneralRe: try/catch Pin
alex.barylski21-Aug-02 15:25
alex.barylski21-Aug-02 15:25 
GeneralSimple dialog icon problem Pin
Coremn20-Aug-02 16:28
Coremn20-Aug-02 16:28 
GeneralRe: Simple dialog icon problem Pin
Ravi Bhavnani20-Aug-02 17:26
professionalRavi Bhavnani20-Aug-02 17:26 
GeneralUsing both __stdcall and __cdecl libraries in a single app Pin
anu12120-Aug-02 13:52
anu12120-Aug-02 13:52 
GeneralRe: Using both __stdcall and __cdecl libraries in a single app Pin
Todd Jeffreys20-Aug-02 14:00
Todd Jeffreys20-Aug-02 14:00 
GeneralRe: Using both __stdcall and __cdecl libraries in a single app Pin
anu12120-Aug-02 14:37
anu12120-Aug-02 14:37 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.