Click here to Skip to main content
15,912,977 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
Generaldraw pie chart in vc++ Pin
sath1544-Aug-05 20:29
sath1544-Aug-05 20:29 
GeneralRe: draw pie chart in vc++ Pin
Member 131685294-May-17 21:35
Member 131685294-May-17 21:35 
Generalusing open source library Pin
Member 20725784-Aug-05 20:15
Member 20725784-Aug-05 20:15 
GeneralRe: using open source library Pin
Marc Soleda4-Aug-05 20:28
Marc Soleda4-Aug-05 20:28 
GeneralRe: using open source library Pin
Jose Lamas Rios4-Aug-05 20:30
Jose Lamas Rios4-Aug-05 20:30 
GeneralRe: using open source library Pin
Member 20725785-Aug-05 1:19
Member 20725785-Aug-05 1:19 
GeneralRe: using open source library Pin
Jose Lamas Rios5-Aug-05 2:27
Jose Lamas Rios5-Aug-05 2:27 
QuestionHow Babylon Dictionary achieve that Pin
mchan4-Aug-05 19:46
mchan4-Aug-05 19:46 
I like the babylon dictionary.
The only reason is because its ease of use.

Ctrl-right click on ANY word, and it shows you the dict entry.

There's a firefox extension that you can right click on a word and select from the context menu -> query to -> dictionary.com but it's no way as convenient as babylon. And it only works on firefox.

In the past I have created a simple dictionary app that use some dictionary database in the public domain.

I know a lot of students would benefit if there is such a free / open source app.

But I have no idea how Babylon did that (capture a word on ANY app on Ctrl-right click, even bitmap).

This is what I tried : I wrote a autoit script sometime ago.
Basically what I did is to program a hot key so that when it is triggered the script will:

double click where the pointer is
Ctrl-C
[autoit api] find windows handle that match my dict app
[autoit api] change focus to my dict app
Ctrl-V
<enter>

It works 75% of the time, but for some timing issues and whatnot, the 25% failure rate still frustrate the user to no end.

I think most macro/scripting solution won't cut it.


BTW, if Babylon have a built-in OCR, it'll be quite complicated to implement. And i'm not aiming that high.

How about text only apps? (one that you can use mouse to select and ctrl-c / ctrl-insert).

Is there any c/c++ glue code that can use the win32 api to achieve that?

If any win32 guru can give me pointers to the relevant doc / url / reference, that will be great.

OTOH, maybe such a open source dictionary exists, but so far I'm not aware of one yet.
Generalunexpected class ATL::CTempBuffer Pin
AnkurGupta_19814-Aug-05 18:56
AnkurGupta_19814-Aug-05 18:56 
GeneralRe: unexpected class ATL::CTempBuffer Pin
Christian Graus4-Aug-05 19:06
protectorChristian Graus4-Aug-05 19:06 
GeneralRe: unexpected class ATL::CTempBuffer Pin
AnkurGupta_19815-Aug-05 0:16
AnkurGupta_19815-Aug-05 0:16 
GeneralRe: unexpected class ATL::CTempBuffer Pin
Christian Graus7-Aug-05 13:28
protectorChristian Graus7-Aug-05 13:28 
Generalfinding no, of lines in a data file Pin
a_david1234-Aug-05 18:54
a_david1234-Aug-05 18:54 
GeneralRe: finding no, of lines in a data file Pin
Christian Graus4-Aug-05 19:07
protectorChristian Graus4-Aug-05 19:07 
Questionhow to place a animated icon on the caption bar Pin
pradish4-Aug-05 18:18
pradish4-Aug-05 18:18 
Generalunresolve external error Pin
Member 21610044-Aug-05 17:15
Member 21610044-Aug-05 17:15 
GeneralRe: unresolve external error Pin
Jose Lamas Rios4-Aug-05 17:32
Jose Lamas Rios4-Aug-05 17:32 
GeneralRe: unresolve external error Pin
Christian Graus4-Aug-05 17:32
protectorChristian Graus4-Aug-05 17:32 
GeneralRe: unresolve external error Pin
Member 21610044-Aug-05 20:00
Member 21610044-Aug-05 20:00 
GeneralRe: unresolve external error Pin
toxcct4-Aug-05 20:32
toxcct4-Aug-05 20:32 
GeneralRe: unresolve external error Pin
Member 21610044-Aug-05 20:44
Member 21610044-Aug-05 20:44 
GeneralRe: unresolve external error Pin
toxcct4-Aug-05 20:48
toxcct4-Aug-05 20:48 
GeneralRe: unresolve external error Pin
Member 21610044-Aug-05 22:12
Member 21610044-Aug-05 22:12 
GeneralRe: unresolve external error Pin
toxcct4-Aug-05 22:20
toxcct4-Aug-05 22:20 
GeneralRe: unresolve external error Pin
sunit55-Aug-05 0:27
sunit55-Aug-05 0:27 

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.