|
Trust me, your code is very bad idea for support etc, etc.
Regrds,
Sergey
|
|
|
|
|
http://www.mvps.org/vcfaq/mfc/6.htm
/* Get the mouse cursor position */
DWORD dwPos = GetMessagePos();
More simple and portable.
|
|
|
|
|
I'm working on a tutorial that will explain how to define dialog templates without using resource files but it is far from done. If you cannot wait look in MSDN Library for DLGTEMPLATE and DLGITEMTEMPLATE (or their *EX equivilent).
|
|
|
|
|
OOOOOOUUUUUUU YEAH, that would be great! I got some explanations and examples, but nothing general (and MSDN-doku is a little bit *too general*).
Do you know if it's possible to make a memory-template based DialogBar?
mfg HintifLo
|
|
|
|
|
This behaviour is because you didn't use
AfxSetResourceHandle() in the DLL.
All I need is a roadmap and then I might be able to find a clue.
|
|
|
|
|
I'm currently developing an MDI web browser and I cannot seem to find the proper logic/implimentation on how I can effective use a history list for the users navigation. What I mean is, I don't know exactly how I can implement it so that when the user click on a link, the forward history list is blanked out and the button greyed out. Does anybody know how I could possibly implement this??
TIA
|
|
|
|
|
Hi everybody!!!
How can I get the path to the registry key of my application, that uses WriteProfile...() and ReadProfile...() functions?
Best regards,
Eugene Pustovoyt
Sonork ID 100.10002:Yaumen
|
|
|
|
|
Hello,
I was wondering if there was a way to set how far an icon is from the top in a list control?
For example if I only have 1 row of items. Is it possible to center it in the list control, so that it appears to be in the middle?
Thanks in advance!
|
|
|
|
|
Hi,
I would like to know how to get the word under the cursor ,the word might be in any window of the other process.
Thanks in advance.
|
|
|
|
|
People seem to ask this question a lot, and I've yet to hear a sensible reason for doing so, or a viable solution.
Christian
After all, there's nothing wrong with an elite as long as I'm allowed to be part of it!! - Mike Burston Oct 23, 2001
Sonork ID 100.10002:MeanManOzI live in Bob's HungOut now
|
|
|
|
|
the reason why i ask this question is i want to know how some application do so, and i find this is a very useful capability .
|
|
|
|
|
Which apps do it ? I'm interested to know.
Christian
After all, there's nothing wrong with an elite as long as I'm allowed to be part of it!! - Mike Burston Oct 23, 2001
Sonork ID 100.10002:MeanManOzI live in Bob's HungOut now
|
|
|
|
|
any app that can immediately translate the word under cursor
into non-english meanings
|
|
|
|
|
Please name one. I'd like to see it.
Christian
After all, there's nothing wrong with an elite as long as I'm allowed to be part of it!! - Mike Burston Oct 23, 2001
Sonork ID 100.10002:MeanManOzI live in Bob's HungOut now
|
|
|
|
|
|
Lars Dirks wrote:
Atomica does it!
Twice, even. Yes, we've established that a number of programs do it via OCR.
Christian
After all, there's nothing wrong with an elite as long as I'm allowed to be part of it!! - Mike Burston Oct 23, 2001
Sonork ID 100.10002:MeanManOzI live in Bob's HungOut now
|
|
|
|
|
have you ever heard of babylon ? www.babylon.com
it is a dictionary tool.. you load it, it is shown in the system tray. whenever you want to use it, put your cursor on any word in any window, push the right mouse button + ctrl and e' voila you got the translation / definition of this word..
i really love this program, it is very helpful if you surf english sites and english isn't your first language...
have a nice one
bernhard
"There are three roads to ruin: women, gambling and technicians. The most pleasant is with women, the quickest is with gambling, but the surest is with technicians." Georges Pompidou
|
|
|
|
|
Hi,
You MUST HOOK the following functions of GDI32.DLL
TextOut,ExTextOut,.....
After that, we will receive text .
|
|
|
|
|
could you please explain this full and clear?
thanks
|
|
|
|
|
Please don't confuse this poor guy. The app he is looking at is using OCR, I've downloaded it and had a look, and they say as much in their docs. The app in question will work if you open an image file and click on it. It works if you open an image over the net and click on it. It uses OCR, the *only* way to click on ANY word and recognise it, no matter what.
You're right, of course. If the text is being drawn we can catch where, but it's not going to do what he wants - apart from not working for pre-rendered images, keeping track of what was written where, not to mention knowing if it's been erased by FillSolidRect or something, is a nightmare in the making from start to finish.
Christian
After all, there's nothing wrong with an elite as long as I'm allowed to be part of it!! - Mike Burston Oct 23, 2001
Sonork ID 100.10002:MeanManOzI live in Bob's HungOut now
|
|
|
|
|
i appreciate what you have analyzed some app,would you please see
http://www.iciba.net/file/CIBAShare.exe;
this shared app can pick almost all the word under cursor except the words in pictures.
does it seem that this one doesnot use OCR?
regards
|
|
|
|
|
At 5 MB, if that's all it does, it's again obvious that it's not a simple task. Like I said before, if it's not OCR, it's going to do some funky stuff to get the text, figure out which word is over the mouse and then return it. Frankly, it's probably as much work as the OCR one and more prone to error.
Christian
After all, there's nothing wrong with an elite as long as I'm allowed to be part of it!! - Mike Burston Oct 23, 2001
Sonork ID 100.10002:MeanManOzI live in Bob's HungOut now
|
|
|
|
|
Hex -
U have to give more details.
1. Does it get the word under any process ? Even ones written by some random coder..
2. Does it get words in any kind of control ? eg. list box edit box, title bar, status bar etc..
3. Does it get words that have been drawn on a DC using DrawText() type methods ?
I hope u are not referring to Tooltips
Vivek
|
|
|
|
|
a:
1.it get the word under any process if the window of it is shown (enen not active)
2.it get words in any kind of control .
3.it get words that have been drawn on a DC using DrawText() type methods .
and i am not referring to tltps
|
|
|
|
|
You're dreaming.
hex wrote:
3.it get words that have been drawn on a DC using DrawText() type methods
OCR is the ONLY way to do this, the text no longer exists in memory, it is just a collection of pixels that your brain interprets as text. The computer does not.
Getting words from controls and windows is plausible through GetWindowText/GetCursorPos/GetTextExtent/etc, but it's a pretty big job.
Christian
After all, there's nothing wrong with an elite as long as I'm allowed to be part of it!! - Mike Burston Oct 23, 2001
Sonork ID 100.10002:MeanManOzI live in Bob's HungOut now
|
|
|
|