Click here to Skip to main content
15,888,461 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
AnswerRe: C++ Win32 Common Controls Pin
Prakash Nadar11-Jan-06 17:53
Prakash Nadar11-Jan-06 17:53 
GeneralRe: C++ Win32 Common Controls Pin
Gamer-Owned11-Jan-06 18:13
Gamer-Owned11-Jan-06 18:13 
GeneralRe: C++ Win32 Common Controls Pin
Prakash Nadar11-Jan-06 18:17
Prakash Nadar11-Jan-06 18:17 
Questionhow did i find this? Pin
Gamer-Owned11-Jan-06 17:25
Gamer-Owned11-Jan-06 17:25 
AnswerRe: how did i find this? Pin
Christian Graus11-Jan-06 18:09
protectorChristian Graus11-Jan-06 18:09 
QuestionValgrind like tool for windows Pin
Chintoo72311-Jan-06 15:34
Chintoo72311-Jan-06 15:34 
AnswerRe: Valgrind like tool for windows Pin
Stephen Hewitt11-Jan-06 16:23
Stephen Hewitt11-Jan-06 16:23 
QuestionSilly RichEdit question... Pin
KellyR11-Jan-06 12:36
KellyR11-Jan-06 12:36 
I'm trying to work with a RichEdit, and the code looks like this:

chat_window_rich.SetSel(nLength, nLength);
chat_window_rich.SetSelectionCharFormat(cf);
chat_window_rich.ReplaceSel(buff);

I don't want the edit window to automatically scroll to the bottom when a user is trying to scroll up and look at previously added text. For some reason, whenever a user has clicked in the edit window and a new chat message is received, the window is automatically scrolled to the bottom.

There are no calls to any scrolling functions anywhere.

If the user has scrolled up in the chat window but has clicked in some other window, for instance the typing window, the chat will NOT automatically scroll, it only happens when the mouse focus is on the window.

Anyone know what's wrong or how I can fix? Frown | :(

Kelly Ryan
AnswerRe: Silly RichEdit question... Pin
Stephen Hewitt11-Jan-06 13:04
Stephen Hewitt11-Jan-06 13:04 
GeneralRe: Silly RichEdit question... Pin
KellyR11-Jan-06 14:12
KellyR11-Jan-06 14:12 
GeneralRe: Silly RichEdit question... Pin
Stephen Hewitt11-Jan-06 14:29
Stephen Hewitt11-Jan-06 14:29 
GeneralRe: Silly RichEdit question... Pin
KellyR11-Jan-06 14:38
KellyR11-Jan-06 14:38 
QuestionDesign patterns - simple questions. Pin
Nick_Kisialiou11-Jan-06 12:08
Nick_Kisialiou11-Jan-06 12:08 
AnswerRe: Design patterns - simple questions. Pin
Curtis Schlak.11-Jan-06 13:53
Curtis Schlak.11-Jan-06 13:53 
QuestionProblem with instantiating ActiveX Variant* Mething Pin
godspeed12311-Jan-06 11:43
godspeed12311-Jan-06 11:43 
AnswerRe: Problem with instantiating ActiveX Variant* Mething Pin
Stephen Hewitt11-Jan-06 12:04
Stephen Hewitt11-Jan-06 12:04 
GeneralRe: Problem with instantiating ActiveX Variant* Mething Pin
godspeed12311-Jan-06 13:12
godspeed12311-Jan-06 13:12 
GeneralRe: Problem with instantiating ActiveX Variant* Mething Pin
Stephen Hewitt11-Jan-06 13:16
Stephen Hewitt11-Jan-06 13:16 
GeneralRe: Problem with instantiating ActiveX Variant* Mething Pin
Stephen Hewitt11-Jan-06 13:37
Stephen Hewitt11-Jan-06 13:37 
GeneralRe: Problem with instantiating ActiveX Variant* Mething Pin
godspeed12311-Jan-06 16:59
godspeed12311-Jan-06 16:59 
GeneralRe: Problem with instantiating ActiveX Variant* Mething Pin
Stephen Hewitt11-Jan-06 17:10
Stephen Hewitt11-Jan-06 17:10 
GeneralRe: Problem with instantiating ActiveX Variant* Mething Pin
godspeed12311-Jan-06 17:56
godspeed12311-Jan-06 17:56 
QuestionAm I coding right? Pin
Lord Kixdemp11-Jan-06 11:29
Lord Kixdemp11-Jan-06 11:29 
AnswerRe: Am I coding right? Pin
Nick_Kisialiou11-Jan-06 13:21
Nick_Kisialiou11-Jan-06 13:21 
GeneralRe: Am I coding right? Pin
Owner drawn11-Jan-06 17:15
Owner drawn11-Jan-06 17:15 

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.