Click here to Skip to main content
16,017,899 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralCalling programs from a VC++ program Pin
Aditya Rao24-Aug-05 8:02
Aditya Rao24-Aug-05 8:02 
GeneralRe: Calling programs from a VC++ program Pin
David Crow24-Aug-05 8:10
David Crow24-Aug-05 8:10 
GeneralRe: Calling programs from a VC++ program Pin
Roland Pibinger24-Aug-05 12:00
Roland Pibinger24-Aug-05 12:00 
GeneralRe: Calling programs from a VC++ program Pin
David Crow25-Aug-05 4:54
David Crow25-Aug-05 4:54 
GeneralRe: Calling programs from a VC++ program Pin
ThatsAlok24-Aug-05 18:32
ThatsAlok24-Aug-05 18:32 
General3rd Party Grids, Tree Controls, editors Pin
Patrick D Owens24-Aug-05 6:01
Patrick D Owens24-Aug-05 6:01 
GeneralRe: 3rd Party Grids, Tree Controls, editors Pin
Maximilien24-Aug-05 7:48
Maximilien24-Aug-05 7:48 
GeneralScrollbar help Pin
KellyR24-Aug-05 4:52
KellyR24-Aug-05 4:52 
Hi!

Here's the problem: I have a chat window using a rich edit control, with a vertical scrollbar. When a user is scrolled to the bottom of the rich edit, the text should automatically scroll down when new text is added. But if the user is scrolled up higher in the rich edit, reading something that was written awhile ago or catching up on the chat or something, it should not scroll down.

If I just do nothing to it, everything works except that until the user actually physically scrolls to the bottom ONCE, the text will not automatically scroll down.

I've tried using the GetScrollInfo function to get the max scroll position and compare it to the current position, but the info gleaned by GetScrollInfo doesn't seem to coincide to itself; i.e. when the user has fully scrolled to the bottom, nPos != nMax, the max seems to be a lot larger than the position.

What to do??

Thanks!

Kelly Ryan
Generalmultithreaded dialog problems Pin
DaveManGO24-Aug-05 4:20
DaveManGO24-Aug-05 4:20 
GeneralRe: multithreaded dialog problems Pin
David Crow24-Aug-05 4:26
David Crow24-Aug-05 4:26 
GeneralRe: multithreaded dialog problems Pin
DaveManGO24-Aug-05 4:31
DaveManGO24-Aug-05 4:31 
GeneralRe: multithreaded dialog problems Pin
David Crow24-Aug-05 5:22
David Crow24-Aug-05 5:22 
GeneralRe: multithreaded dialog problems Pin
DaveHuber24-Aug-05 8:08
DaveHuber24-Aug-05 8:08 
GeneralRe: multithreaded dialog problems Pin
David Crow24-Aug-05 8:18
David Crow24-Aug-05 8:18 
GeneralRe: multithreaded dialog problems Pin
DaveManGO25-Aug-05 4:43
DaveManGO25-Aug-05 4:43 
GeneralRe: multithreaded dialog problems Pin
David Crow25-Aug-05 4:52
David Crow25-Aug-05 4:52 
GeneralRe: multithreaded dialog problems Pin
DaveHuber25-Aug-05 5:09
DaveHuber25-Aug-05 5:09 
GeneralRe: multithreaded dialog problems Pin
David Crow25-Aug-05 5:28
David Crow25-Aug-05 5:28 
GeneralRe: multithreaded dialog problems Pin
DaveManGO25-Aug-05 5:57
DaveManGO25-Aug-05 5:57 
QuestionWireless? Pin
dandy7224-Aug-05 3:56
dandy7224-Aug-05 3:56 
AnswerRe: Wireless? Pin
David Crow24-Aug-05 4:20
David Crow24-Aug-05 4:20 
GeneralRe: Wireless? Pin
dandy7224-Aug-05 5:11
dandy7224-Aug-05 5:11 
GeneralRe: Wireless? Pin
David Crow24-Aug-05 5:25
David Crow24-Aug-05 5:25 
GeneralRe: Wireless? Pin
Ravi Bhavnani24-Aug-05 11:07
professionalRavi Bhavnani24-Aug-05 11:07 
GeneralCapturing HDC Pin
rocky_pulley24-Aug-05 3:43
rocky_pulley24-Aug-05 3:43 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.