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?
Actually, ill just convert my dialogue box into create window, then i can control everything properly like a control freak, right? :bdg
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
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
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
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
I'd really like to see you try :lol
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
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 ('_').
Wow, Thanks IAO, these are really reall hand examples :bg
Cheers :U