Is there a callback or somesuch for console click? Would be nice to click printed text to perform an action like file/folder open etc.... Maybe console is keyboard entry only? Maybe I can hook it somehow? I have right click paste atm and can select text so I know the window is accepting mouse input of sorts
i dunno about a callback, but i can tell you the console window is very buggish when it comes to mouse input
especially copy/paste
if you have a seperate console app running, you can get mouse input using ReadFile, i think
meh, not to worry, was looking for a quick fix, I will struggle on with keyboard access until I get my BMI finished rather than find tacky workarounds :lol
Quote from: oex on April 05, 2010, 02:42:56 AM
Is there a callback or somesuch for console click? Would be nice to click printed text to perform an action like file/folder open etc.... Maybe console is keyboard entry only? Maybe I can hook it somehow? I have right click paste atm and can select text so I know the window is accepting mouse input of sorts
The main problem with this is you will have to have message pumping so you can say goodbye to classic functions for keyboard input. GetAsyncKeyState GetCursorPos etc.
Honestly a regular window would make more sense... but definitely possible.
i have come to regard the console window as a simple tool
not a great place for any real-world application
It was planned for debug, nothing more, but would be pretty handy, at least for file opening or parent folder opening etc
a while back, there was a guy in here that made a gui window that behaved like a fancy console window
it was pretty cool
he used piping
about the same time, Mike (SlugSnack) was playing with piping also
that may help you narrow the search
I can think of 101 way to do it but all of them require an inefficient use of my processor/brain time :lol
I need:
invoke FingTextCallback
I just worked out how to do it really well but time is life!
you weren't doing anything with it, were you ?
No dont worry about it, best way I thought of was scanning hdcs so copy pasting filepaths will have to be good enough for now