Click here to Skip to main content
12,503,838 members (53,768 online)

C / C++ / MFC

 
GeneralRe: Reset EOF Pin
Anonymous12-Jun-01 2:49
memberAnonymous12-Jun-01 2:49 
GeneralRe: Reset EOF Pin
markkuk12-Jun-01 21:19
membermarkkuk12-Jun-01 21:19 
GeneralScrolling in a CDialog Pin
Derek Lakin11-Jun-01 3:10
memberDerek Lakin11-Jun-01 3:10 
GeneralRe: Scrolling in a CDialog Pin
Tomasz Sowinski11-Jun-01 3:21
memberTomasz Sowinski11-Jun-01 3:21 
GeneralRe: Scrolling in a CDialog Pin
Derek Lakin11-Jun-01 5:04
memberDerek Lakin11-Jun-01 5:04 
GeneralRe: Scrolling in a CDialog Pin
Tomasz Sowinski11-Jun-01 5:29
memberTomasz Sowinski11-Jun-01 5:29 
GeneralRe: Scrolling in a CDialog Pin
Derek Lakin11-Jun-01 5:37
memberDerek Lakin11-Jun-01 5:37 
GeneralRe: Scrolling in a CDialog Pin
Ganesh.M.Ramaswamy11-Jun-01 8:22
memberGanesh.M.Ramaswamy11-Jun-01 8:22 
GeneralRe: Scrolling in a CDialog Pin
Stan Shannon11-Jun-01 9:28
memberStan Shannon11-Jun-01 9:28 
GeneralRe: Scrolling in a CDialog Pin
Derek Lakin11-Jun-01 9:47
memberDerek Lakin11-Jun-01 9:47 
GeneralUpdating Scrollbar in editbox .... Pin
Hadi_Rezaie11-Jun-01 1:00
memberHadi_Rezaie11-Jun-01 1:00 
GeneralRe: Updating Scrollbar in editbox .... Pin
Anonymous11-Jun-01 1:48
memberAnonymous11-Jun-01 1:48 
GeneralRe: Updating Scrollbar in editbox .... Pin
Hadi_Rezaie11-Jun-01 6:59
memberHadi_Rezaie11-Jun-01 6:59 
GeneralRe: Updating Scrollbar in editbox .... Pin
Ulf11-Jun-01 2:20
memberUlf11-Jun-01 2:20 
Here is one method to append text and updating the scrollbar. Suppose you have a CEdit named m_wndText:
int nSel = m_wndText.GetWindowTextLength(); // Get length of text in the textbox
m_wndText.SetSel(nSel, nSel, TRUE);         // Put cursor at the end, without scrolling
m_wndText.ReplaceSel("Add this text");      // Add some text...
nSel = m_wndText.GetWindowTextLength();     // Get new text length
m_wndText.SetSel(nSel, nSel);               // Scroll to the last char

This is usually faster than getting the text with GetWindowText(), appending a string and then updating the entire textbox with SetWindowText().


--------------
"Criticism is often constructive because it makes you feel superior when you give it"
-- Dogbert
GeneralSlide Show Pin
Adeel Shamsi11-Jun-01 0:45
memberAdeel Shamsi11-Jun-01 0:45 
GeneralRe: Slide Show Pin
Anonymous11-Jun-01 1:50
memberAnonymous11-Jun-01 1:50 
GeneralRe: Slide Show Pin
Mukkie11-Jun-01 7:40
memberMukkie11-Jun-01 7:40 
GeneralRich Edit Control problems in Windows 2000 Pin
Andrew Sage10-Jun-01 23:43
memberAndrew Sage10-Jun-01 23:43 
GeneralSP + Processor Pack Release Pin
real name10-Jun-01 23:17
memberreal name10-Jun-01 23:17 
GeneralRe: SP + Processor Pack Release Pin
Mukkie11-Jun-01 7:52
memberMukkie11-Jun-01 7:52 
GeneralCTabCtrl and Ctrl + Tab Pin
Anonymous10-Jun-01 23:05
memberAnonymous10-Jun-01 23:05 
GeneralRe: CTabCtrl and Ctrl + Tab Pin
Anonymous11-Jun-01 1:55
memberAnonymous11-Jun-01 1:55 
GeneralPointer problems in MFC Extention DLL Pin
D.D. de Kerf10-Jun-01 23:02
memberD.D. de Kerf10-Jun-01 23:02 
GeneralRe: Pointer problems in MFC Extention DLL Pin
Tomasz Sowinski11-Jun-01 0:08
memberTomasz Sowinski11-Jun-01 0:08 
GeneralRe: Pointer problems in MFC Extention DLL Pin
D.D. de Kerf11-Jun-01 0:18
memberD.D. de Kerf11-Jun-01 0:18 
GeneralRe: Pointer problems in MFC Extention DLL Pin
Tomasz Sowinski11-Jun-01 2:08
memberTomasz Sowinski11-Jun-01 2:08 
GeneralRe: Pointer problems in MFC Extention DLL Pin
D.D. de Kerf11-Jun-01 2:31
memberD.D. de Kerf11-Jun-01 2:31 
GeneralRe: Pointer problems in MFC Extention DLL Pin
Tomasz Sowinski11-Jun-01 2:48
memberTomasz Sowinski11-Jun-01 2:48 
GeneralTemplates and 'new' Pin
Anders Molin10-Jun-01 22:30
memberAnders Molin10-Jun-01 22:30 
GeneralRe: Templates and 'new' Pin
Ulf10-Jun-01 22:53
memberUlf10-Jun-01 22:53 
GeneralRe: Templates and 'new' Pin
Anders Molin10-Jun-01 23:05
memberAnders Molin10-Jun-01 23:05 
GeneralRe: Templates and 'new' Pin
Tomasz Sowinski11-Jun-01 3:11
memberTomasz Sowinski11-Jun-01 3:11 
QuestionCan I have my computer automatically retrieve the news for me? Pin
Anonymous10-Jun-01 22:15
memberAnonymous10-Jun-01 22:15 
AnswerRe: Can I have my computer automatically retrieve the news for me? Pin
Anders Molin10-Jun-01 22:39
memberAnders Molin10-Jun-01 22:39 
GeneralDirectshow : connect filters Pin
G.Dubbins10-Jun-01 21:56
memberG.Dubbins10-Jun-01 21:56 
GeneralRe: Directshow : connect filters Pin
LOXmith12-Jun-01 1:14
memberLOXmith12-Jun-01 1:14 
GeneralCDialogBar Pin
Marlon Cenita10-Jun-01 21:48
memberMarlon Cenita10-Jun-01 21:48 
QuestionHow to print in text mode Pin
anojkumar10-Jun-01 20:53
memberanojkumar10-Jun-01 20:53 
AnswerRe: How to print in text mode Pin
Hadi_Rezaie10-Jun-01 21:05
memberHadi_Rezaie10-Jun-01 21:05 
GeneralRe: How to print in text mode Pin
anojkumar11-Jun-01 4:13
memberanojkumar11-Jun-01 4:13 
AnswerRe: How to print in text mode Pin
Christian Graus10-Jun-01 22:19
memberChristian Graus10-Jun-01 22:19 
GeneralActiveX and runtime adding Pin
Anonymous10-Jun-01 20:35
memberAnonymous10-Jun-01 20:35 
GeneralMapping Keyboard on Windows Pin
budi10-Jun-01 20:32
memberbudi10-Jun-01 20:32 
GeneralDisconnected Recordset Opening and Closing problem. Pin
yamini10-Jun-01 18:51
memberyamini10-Jun-01 18:51 
GeneralCFrameWnd Pin
Drake Elsari10-Jun-01 18:14
memberDrake Elsari10-Jun-01 18:14 
GeneralRe: CFrameWnd Pin
Ulf10-Jun-01 21:45
memberUlf10-Jun-01 21:45 
GeneralRe: CFrameWnd Pin
Drake Elsari12-Jun-01 6:56
memberDrake Elsari12-Jun-01 6:56 
QuestionHow can I click the submit button in HTML page? Pin
Jong Ha Jung10-Jun-01 18:07
memberJong Ha Jung10-Jun-01 18:07 
Generalbegginner with MFC Pin
Anonymous10-Jun-01 17:55
memberAnonymous10-Jun-01 17:55 
GeneralRe: begginner with MFC Pin
Christian Graus10-Jun-01 22:37
memberChristian Graus10-Jun-01 22:37 

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.


Advertise | Privacy | Mobile
Web02 | 2.8.160919.1 | Last Updated 26 Sep 2016
Copyright © CodeProject, 1999-2016
All Rights Reserved. Terms of Service
Layout: fixed | fluid