Click here to Skip to main content
15,902,840 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: RbuttonDown and OnCommand Pin
vividtang13-May-04 23:01
vividtang13-May-04 23:01 
GeneralNT drive mapping. Pin
RobJones13-May-04 4:21
RobJones13-May-04 4:21 
GeneralRe: NT drive mapping. Pin
Antony M Kancidrowski13-May-04 4:54
Antony M Kancidrowski13-May-04 4:54 
GeneralRe: NT drive mapping. Pin
Antony M Kancidrowski13-May-04 4:56
Antony M Kancidrowski13-May-04 4:56 
GeneralUSB Pin
Jeff Bogan13-May-04 3:58
Jeff Bogan13-May-04 3:58 
GeneralRe: USB Pin
Antti Keskinen13-May-04 6:13
Antti Keskinen13-May-04 6:13 
GeneralRe: USB Pin
Jeff Bogan13-May-04 7:56
Jeff Bogan13-May-04 7:56 
GeneralEdit Boc Scrolling Pin
sweep12313-May-04 3:13
sweep12313-May-04 3:13 
I am trying to get into view the last bit of text posted to the multiline Edit Box with a vertical scroll enabled via these lines of code:-

m_strOutput+= m_strGeneral + crlf; // Total display string; adding m_strNewText at the end
m_Output.SetWindowText(m_strOutput); // Display the new text appended onto the old text

m_Output.GetScrollInfo(SB_VERT, &scrollInfo, SIF_ALL);
scrollInfo.nPos = scrollInfo.nMax;
m_Output.SetScrollPos (SB_VERT, scrollInfo.nPos, TRUE);

m_Output is the Edit Box and I was trying to set the scroll position to the current maximum, but no luck. i.e. the botton of the text.

I still have to use the mouse to click on the Edit Box scroll bar to display the end of the posted text.

Is it that difficult to have the behavour of the Edit Box scoll reversed?

I have tried many options/varients but still no luck!

QuestionA funny thing happened to me. Who can explain? Pin
nguyenvhn13-May-04 1:40
nguyenvhn13-May-04 1:40 
AnswerRe: A funny thing happened to me. Who can explain? Pin
V.13-May-04 2:11
professionalV.13-May-04 2:11 
AnswerRe: A funny thing happened to me. Who can explain? Pin
toxcct13-May-04 2:22
toxcct13-May-04 2:22 
GeneralRe: A funny thing happened to me. Who can explain? Pin
Cedric Moonen13-May-04 2:27
Cedric Moonen13-May-04 2:27 
GeneralRe: A funny thing happened to me. Who can explain? Pin
toxcct13-May-04 2:41
toxcct13-May-04 2:41 
GeneralRe: A funny thing happened to me. Who can explain? Pin
Cedric Moonen13-May-04 2:56
Cedric Moonen13-May-04 2:56 
GeneralRe: A funny thing happened to me. Who can explain? Pin
toxcct13-May-04 3:02
toxcct13-May-04 3:02 
GeneralRe: A funny thing happened to me. Who can explain? Pin
Anonymous13-May-04 3:02
Anonymous13-May-04 3:02 
GeneralRe: A funny thing happened to me. Who can explain? Pin
toxcct13-May-04 3:04
toxcct13-May-04 3:04 
GeneralRe: A funny thing happened to me. Who can explain? Pin
Anonymous13-May-04 3:05
Anonymous13-May-04 3:05 
GeneralRe: A funny thing happened to me. Who can explain? Pin
toxcct13-May-04 3:09
toxcct13-May-04 3:09 
GeneralRe: A funny thing happened to me. Who can explain? Pin
V.13-May-04 2:43
professionalV.13-May-04 2:43 
GeneralRe: A funny thing happened to me. Who can explain? Pin
toxcct13-May-04 2:52
toxcct13-May-04 2:52 
GeneralRe: A funny thing happened to me. Who can explain? Pin
Antony M Kancidrowski13-May-04 2:53
Antony M Kancidrowski13-May-04 2:53 
GeneralRe: A funny thing happened to me. Who can explain? Pin
Cedric Moonen13-May-04 2:54
Cedric Moonen13-May-04 2:54 
GeneralRe: A funny thing happened to me. Who can explain? Pin
Antony M Kancidrowski13-May-04 2:50
Antony M Kancidrowski13-May-04 2:50 
GeneralRe: A funny thing happened to me. Who can explain? Pin
toxcct13-May-04 2:55
toxcct13-May-04 2:55 

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.