• Welcome to Valhalla Legends Archive.
 

Make the scrolling stop ...

Started by Eli_1, June 01, 2004, 06:21 PM

Previous topic - Next topic

Eli_1

#15
Quote from: Dyndrilliac on June 02, 2004, 04:28 PM
Eh, Why couldn't you just write a function that locks the chat temporarily ...

That's the solution I decided to go with. But right now I just plan to call LockWindowUpdate (I think that's it) when the chat is locked, then unlock it. I might not be able to do this though, for one, I'm not sure if you're able to select text and copy it if the window is locked (silly me, yes you can).

Also, I don't think I'll be able to add users to the channellist because drawing in the given window will be disabled...

Thanks for all the suggestions.

UserLoser.

Quote from: Eli_1 on June 03, 2004, 03:36 PM
Quote from: Dyndrilliac on June 02, 2004, 04:28 PM
Eh, Why couldn't you just write a function that locks the chat temporarily ...

That's the solution I decided to go with. But right now I just plan to call LockWindowUpdate (I think that's it) when the chat is locked, then unlock it. I might not be able to do this though, for one, I'm not sure if you're able to select text and copy it if the window is locked (silly me, yes you can).

Also, I don't think I'll be able to add users to the channellist because drawing in the given window will be disabled...

Thanks for all the suggestions.

Something like:

LockWindow(rtbChatOutput.hWnd)


Might work, before were you using the dialog's hwnd?

Eli_1

#17

Quote from: UserLoser. on June 03, 2004, 04:12 PM
Might work, before were you using the dialog's hwnd?

Yea, thanks Userloser.   :)

Skywing

I managed to hack up a passable solution for richedits to solve the position-changing-while-adding-text problem.  It doesn't seem to work when you start using large font sizes (e.g. > 12 pt in most fonts) for some reason though.

SPY-3

if you made a good sc textbox control besure to add a color change for things like Á