Click here to Skip to main content
15,919,613 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralSESSION Pin
SuzannaS12-May-04 2:21
SuzannaS12-May-04 2:21 
GeneralStarting console app in full screen Pin
zagzagzag12-May-04 2:13
zagzagzag12-May-04 2:13 
GeneralRe: Starting console app in full screen Pin
Alexander M.,12-May-04 2:20
Alexander M.,12-May-04 2:20 
GeneralRe: Starting console app in full screen Pin
zagzagzag12-May-04 2:36
zagzagzag12-May-04 2:36 
GeneralRe: Starting console app in full screen Pin
jmkhael12-May-04 2:39
jmkhael12-May-04 2:39 
GeneralRe: Starting console app in full screen Pin
zagzagzag12-May-04 2:48
zagzagzag12-May-04 2:48 
GeneralRe: Starting console app in full screen Pin
David Crow12-May-04 3:03
David Crow12-May-04 3:03 
GeneralEdit Box Scrolling Pin
sweep12312-May-04 1:41
sweep12312-May-04 1:41 
I am trying to get into view the last bit of text posted to the multiline Edit Box via these lines of code:-

m_strOutput+= m_strGeneral + crlf; // Total display string; adding m_strNewText at the end
SetDlgItemText(IDC_OUTPUT, 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);

UpdateData(); // Refresh the control

m_Output is the Edit Box and I was trying to set the scrol position to the current maximum, but no luck.
GeneralRe: Edit Box Scrolling Pin
Anthony_Yio12-May-04 2:08
Anthony_Yio12-May-04 2:08 
GeneralRe: Edit Box Scrolling Pin
David Crow12-May-04 2:16
David Crow12-May-04 2:16 
GeneralRe: Edit Box Scrolling Pin
sweep12312-May-04 2:33
sweep12312-May-04 2:33 
GeneralRe: Edit Box Scrolling Pin
Anthony_Yio12-May-04 2:46
Anthony_Yio12-May-04 2:46 
GeneralRe: Edit Box Scrolling Pin
Grahamfff12-May-04 10:04
Grahamfff12-May-04 10:04 
GeneralRe: Edit Box Scrolling Pin
Anthony_Yio12-May-04 16:36
Anthony_Yio12-May-04 16:36 
QuestionHow to sign my ActiveX? Pin
anderslundsgard12-May-04 1:40
anderslundsgard12-May-04 1:40 
AnswerRe: How to sign my ActiveX? Pin
Anthony_Yio12-May-04 2:02
Anthony_Yio12-May-04 2:02 
GeneralRe: How to sign my ActiveX? Pin
anderslundsgard12-May-04 2:08
anderslundsgard12-May-04 2:08 
GeneralRe: How to sign my ActiveX? Pin
Anthony_Yio12-May-04 2:25
Anthony_Yio12-May-04 2:25 
GeneralRe: How to sign my ActiveX? Pin
Antony M Kancidrowski12-May-04 2:27
Antony M Kancidrowski12-May-04 2:27 
GeneralRe: How to sign my ActiveX? Pin
Anthony_Yio12-May-04 2:27
Anthony_Yio12-May-04 2:27 
GeneralRe: How to sign my ActiveX? Pin
anderslundsgard12-May-04 2:33
anderslundsgard12-May-04 2:33 
AnswerRe: How to sign my ActiveX? Pin
Antony M Kancidrowski12-May-04 2:26
Antony M Kancidrowski12-May-04 2:26 
AnswerRe: How to sign my ActiveX? Pin
Jonas Larsson12-May-04 3:43
Jonas Larsson12-May-04 3:43 
Generaloverloading operator[] question Pin
Member 108148012-May-04 1:31
Member 108148012-May-04 1:31 
GeneralRe: overloading operator[] question Pin
toxcct12-May-04 1:42
toxcct12-May-04 1:42 

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.