News:

MASM32 SDK Description, downloads and other helpful links
MASM32.com New Forum Link
masmforum WebSite

Console Click

Started by oex, April 05, 2010, 02:42:56 AM

Previous topic - Next topic

oex

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
We are all of us insane, just to varying degrees and intelligently balanced through networking

http://www.hereford.tv

dedndave

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

oex

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
We are all of us insane, just to varying degrees and intelligently balanced through networking

http://www.hereford.tv

joemc

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.

dedndave

i have come to regard the console window as a simple tool
not a great place for any real-world application

oex

It was planned for debug, nothing more, but would be pretty handy, at least for file opening or parent folder opening etc
We are all of us insane, just to varying degrees and intelligently balanced through networking

http://www.hereford.tv

dedndave

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

oex

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!
We are all of us insane, just to varying degrees and intelligently balanced through networking

http://www.hereford.tv

dedndave

you weren't doing anything with it, were you ?

oex

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
We are all of us insane, just to varying degrees and intelligently balanced through networking

http://www.hereford.tv