Click here to Skip to main content
15,917,005 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
AnswerRe: Visual C++ Shortcut Keys Pin
Owner drawn11-Jan-06 19:08
Owner drawn11-Jan-06 19:08 
Questionhow to capture the DocumentBeforePrint Event in my ActiveX of Word written in VC? Pin
sharkmouse11-Jan-06 18:43
sharkmouse11-Jan-06 18:43 
QuestionTrouble in MFC CFont Pin
LaHaHa11-Jan-06 18:32
LaHaHa11-Jan-06 18:32 
AnswerRe: Trouble in MFC CFont Pin
Owner drawn11-Jan-06 18:40
Owner drawn11-Jan-06 18:40 
GeneralRe: Trouble in MFC CFont Pin
LaHaHa11-Jan-06 21:18
LaHaHa11-Jan-06 21:18 
GeneralRe: Trouble in MFC CFont Pin
Owner drawn11-Jan-06 21:24
Owner drawn11-Jan-06 21:24 
GeneralRe: Trouble in MFC CFont Pin
LaHaHa11-Jan-06 21:46
LaHaHa11-Jan-06 21:46 
QuestionGUI Pin
Aqueel11-Jan-06 17:54
Aqueel11-Jan-06 17:54 
AnswerRe: GUI Pin
Christian Graus11-Jan-06 18:08
protectorChristian Graus11-Jan-06 18:08 
AnswerRe: GUI Pin
Owner drawn11-Jan-06 18:12
Owner drawn11-Jan-06 18:12 
GeneralRe: GUI Pin
Rajesh R Subramanian11-Jan-06 19:24
professionalRajesh R Subramanian11-Jan-06 19:24 
AnswerRe: GUI Pin
ThatsAlok12-Jan-06 1:11
ThatsAlok12-Jan-06 1:11 
QuestionHow to modify the Edit control's(CEdit) context menu? Pin
Owner drawn11-Jan-06 17:33
Owner drawn11-Jan-06 17:33 
AnswerRe: How to modify the Edit control's(CEdit) context menu? Pin
Ryan Binns11-Jan-06 19:20
Ryan Binns11-Jan-06 19:20 
QuestionC++ Win32 Common Controls Pin
Gamer-Owned11-Jan-06 17:26
Gamer-Owned11-Jan-06 17:26 
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 

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.