News:

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

Editbox problem

Started by RedXVII, March 03, 2006, 01:06:27 PM

Previous topic - Next topic

RedXVII

More editbox problems. Quite simply put, a pain in the ass. If ever i get this working, im gonna write a tutorial or something so that people dont have to go through the same bumpy ride im going through  :eek

what i want is,
An edit boxwhich cant be edited in any way, the color can be changed and the texted highlighted so tha it can be "copied".

If i lock the edint box, its all good but; i cant change the color, stays grey
If i subclass the editbox, its all good but; it refuses to accept my mouse input, my highlighting attempts and make a menu appear

Suggestions on how to solve this?

RedXVII

Actually, ill just convert my dialogue box into create window, then i can control everything properly like a control freak, right?  :bdg

RedXVII

Not that anyone actually cares, i just want to say i did the whole thing with createwindowex. subclassing worked properly for once, and colors are working a treat. There must be some kind of rubbish Message handling with dialog box functions. so yeah, cheers

PBrennick

Yeah, that is why you have to subclass it.  I am glad that you got it working.  Now that it is a window why not make it a richtext window.  If you are thinking of doing a tutorial, you need to also do that.  HINT:  Richedit

If you need help, I will be watching for you.

Paul
The GeneSys Project is available from:
The Repository or My crappy website

Tedd

Quote from: PBrennick on March 03, 2006, 04:24:58 PM
If you need help, I will be watching for you.
That sounds more like a threat :bdg
No snowflake in an avalanche feels responsible.

PBrennick

Tedd,
I know I am one of the old guys but am I really that intimidating?  Don't  make me crawl up this wire. :bdg

Paul
The GeneSys Project is available from:
The Repository or My crappy website

Tedd

I'd really like to see you try :lol
No snowflake in an avalanche feels responsible.

PBrennick

Yeah, me too, the last time I found myself on a wire is because I was falling off a utility pole in Milano, Italy while trying to do a hot melt into a fiber link.  Broke an arm and a leg and got married.  Go figure, the bones healed but the wife is still here after 12 years, fallowed me all the way back to Massachusetts and for some unknown reason, still thinks I am the best thing in town.  Again, go figure.  :lol

Paul
The GeneSys Project is available from:
The Repository or My crappy website

IAO

Hi to all:   My English is poor. But I try.

Mr. RedXVII
Please look here.
http://www.radasm.com/projects/Demo.zip

Inside of demo.zip. "CtlColor".

Good luck.
Thanks for your patience.

Bye ('_').
"There is no way to peace. Peace is the way."    Mahatma Gandhi

RedXVII

Wow, Thanks IAO, these are really reall hand examples  :bg

Cheers  :U