Click here to Skip to main content
15,914,111 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
AnswerRe: Need help regarding serial Communication Programming Pin
Hamid_RT1-Jul-07 21:21
Hamid_RT1-Jul-07 21:21 
AnswerRe: Need help regarding serial Communication Programming Pin
normanS1-Jul-07 23:53
normanS1-Jul-07 23:53 
GeneralRe: Need help regarding serial Communication Programming Pin
yaminisridaran2-Jul-07 0:15
yaminisridaran2-Jul-07 0:15 
GeneralRe: Need help regarding serial Communication Programming Pin
normanS2-Jul-07 3:07
normanS2-Jul-07 3:07 
GeneralRe: Need help regarding serial Communication Programming Pin
yaminisridaran2-Jul-07 18:01
yaminisridaran2-Jul-07 18:01 
GeneralRe: Need help regarding serial Communication Programming Pin
normanS3-Jul-07 9:28
normanS3-Jul-07 9:28 
Questionbcdedit in vista Pin
saisp1-Jul-07 20:40
saisp1-Jul-07 20:40 
Questionhow to make my rich edit ctrl scroll automatically when insert new text? Pin
awah1-Jul-07 20:32
awah1-Jul-07 20:32 
how to make my rich edit ctrl scroll automatically when insert new text?

here's how i insert text
<br />
	msg.Insert( msg.GetLength() , "\n");<br />
	m_system_message.SetSel(-1,-1);<br />
	m_system_message.ReplaceSel(msg);



here's how the richedit is defined in the resource file

CONTROL         "",IDC_SYSTEM_MESSAGE,"RICHEDIT",ES_MULTILINE | <br />
                 ES_AUTOVSCROLL | WS_BORDER | WS_VSCROLL | WS_TABSTOP,11,<br />
                 257,241,52


as you guys can see, ES_AUTOVSCROLL is definately there
but whenever i insert new text using ReplaceSel, the text focus is always at the top. how do i make it such that it automatically scrolls down to read the latest text inserted?

using
- mfc
- vc6.0
- winxp

thanks in advance!
AnswerRe: how to make my rich edit ctrl scroll automatically when insert new text? Pin
Hamid_RT1-Jul-07 21:30
Hamid_RT1-Jul-07 21:30 
AnswerRe: how to make my rich edit ctrl scroll automatically when insert new text? Pin
khan++2-Jul-07 0:13
khan++2-Jul-07 0:13 
QuestionCan we find address of a winAPI without using GetProcAddress? Pin
GNUlihd1-Jul-07 19:53
GNUlihd1-Jul-07 19:53 
AnswerRe: Can we find address of a winAPI without using GetProcAddress? Pin
Hamid_RT1-Jul-07 21:18
Hamid_RT1-Jul-07 21:18 
GeneralRe: Can we find address of a winAPI without using GetProcAddress? Pin
GNUlihd1-Jul-07 22:59
GNUlihd1-Jul-07 22:59 
AnswerRe: Can we find address of a winAPI without using GetProcAddress? Pin
Stephen Hewitt1-Jul-07 21:30
Stephen Hewitt1-Jul-07 21:30 
GeneralRe: Can we find address of a winAPI without using GetProcAddress? Pin
tom groezer2-Jul-07 9:36
tom groezer2-Jul-07 9:36 
GeneralRe: Can we find address of a winAPI without using GetProcAddress? Pin
Stephen Hewitt2-Jul-07 13:08
Stephen Hewitt2-Jul-07 13:08 
QuestionMTS Funtion Pin
tasumisra1-Jul-07 19:51
tasumisra1-Jul-07 19:51 
QuestionWhat is the size of bitArray ? and how can i define array that each Cell is one bit ? Pin
Yanshof1-Jul-07 19:10
Yanshof1-Jul-07 19:10 
AnswerRe: What is the size of bitArray ? and how can i define array that each Cell is one bit ? Pin
CPallini2-Jul-07 20:35
mveCPallini2-Jul-07 20:35 
Questionselected list item of another dialog Pin
rp_suman1-Jul-07 18:52
rp_suman1-Jul-07 18:52 
AnswerRe: selected list item of another dialog Pin
Hamid_RT1-Jul-07 19:24
Hamid_RT1-Jul-07 19:24 
AnswerRe: selected list item of another dialog Pin
Johan Pretorius1-Jul-07 20:25
Johan Pretorius1-Jul-07 20:25 
AnswerRe: selected list item of another dialog Pin
David Crow2-Jul-07 4:35
David Crow2-Jul-07 4:35 
GeneralRe: selected list item of another dialog Pin
rp_suman4-Jul-07 22:33
rp_suman4-Jul-07 22:33 
GeneralRe: selected list item of another dialog Pin
David Crow5-Jul-07 3:17
David Crow5-Jul-07 3:17 

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.