Click here to Skip to main content
15,887,267 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: CSliderCtrl Pin
Chandrasekharan P2-Jul-09 19:56
Chandrasekharan P2-Jul-09 19:56 
GeneralRe: CSliderCtrl Pin
jung-kreidler2-Jul-09 20:00
jung-kreidler2-Jul-09 20:00 
AnswerRe: CSliderCtrl Pin
SandipG 2-Jul-09 21:26
SandipG 2-Jul-09 21:26 
GeneralRe: CSliderCtrl Pin
jung-kreidler2-Jul-09 22:52
jung-kreidler2-Jul-09 22:52 
GeneralRe: CSliderCtrl Pin
led mike21-Jul-09 6:20
led mike21-Jul-09 6:20 
GeneralRe: CSliderCtrl Pin
SandipG 21-Jul-09 7:48
SandipG 21-Jul-09 7:48 
GeneralRe: CSliderCtrl Pin
led mike21-Jul-09 10:50
led mike21-Jul-09 10:50 
Questionoutput problem Pin
susanne12-Jul-09 3:12
susanne12-Jul-09 3:12 
Hallo i have the following code in a CRichEditView file:

void Test_OnDraw(CDC* pDC,TextDoc* pDoc)
{
pDC->SetTextColor (RGB (0, 0, 0)); // CDC* pDc

if (pDoc->m_carrDocOutput.GetSize ())
{
CSize sz = pDC->GetOutputTextExtent (pDoc->m_carrDocOutput.GetAt (0));

for (short i = 0; i < pDoc->m_carrDocOutput.GetSize (); i++)

pDC->TextOut (1, (sz.cy + 2) * i, pDoc->m_carrDocOutput.GetAt (i));

if (m_bAppendToEnd)
{
CPoint pt (1, __max (1, (sz.cy + 2) * (pDoc->m_carrDocOutput.GetSize () - 5)));

ScrollToPosition (pt);
}
}
}


first the Compiler does not recognize this function : ScrollToPosition (pt);

secondly when the output appears in the Output window there is no horizontal scroll bar , and when i click maximize or minimize the whole
output text disappear.How can i fix this problem ? Thanks in Advance
AnswerRe: output problem [modified] Pin
Chris Losinger2-Jul-09 3:16
professionalChris Losinger2-Jul-09 3:16 
GeneralRe: output problem Pin
susanne12-Jul-09 3:24
susanne12-Jul-09 3:24 
GeneralRe: output problem Pin
Chandrasekharan P2-Jul-09 18:19
Chandrasekharan P2-Jul-09 18:19 
QuestionUsing MemoryStream() in c++ program Pin
MrKBA2-Jul-09 3:06
MrKBA2-Jul-09 3:06 
AnswerRe: Using MemoryStream() in c++ program Pin
Chris Losinger2-Jul-09 3:15
professionalChris Losinger2-Jul-09 3:15 
GeneralRe: Using MemoryStream() in c++ program Pin
MrKBA2-Jul-09 3:32
MrKBA2-Jul-09 3:32 
GeneralRe: Using MemoryStream() in c++ program Pin
Chris Losinger2-Jul-09 3:36
professionalChris Losinger2-Jul-09 3:36 
QuestionWT tolkit Pin
Olorin58002-Jul-09 3:04
Olorin58002-Jul-09 3:04 
QuestionHow to get the real time weather info Pin
Rajesh_Parameswaran2-Jul-09 2:13
Rajesh_Parameswaran2-Jul-09 2:13 
AnswerRe: How to get the real time weather info Pin
Stuart Dootson2-Jul-09 2:18
professionalStuart Dootson2-Jul-09 2:18 
AnswerRe: How to get the real time weather info Pin
David Crow2-Jul-09 4:59
David Crow2-Jul-09 4:59 
GeneralRe: How to get the real time weather info Pin
Rajesh_Parameswaran2-Jul-09 7:12
Rajesh_Parameswaran2-Jul-09 7:12 
GeneralRe: How to get the real time weather info Pin
David Crow2-Jul-09 9:29
David Crow2-Jul-09 9:29 
GeneralRe: How to get the real time weather info Pin
Rajesh_Parameswaran2-Jul-09 7:50
Rajesh_Parameswaran2-Jul-09 7:50 
GeneralRe: How to get the real time weather info Pin
David Crow2-Jul-09 8:11
David Crow2-Jul-09 8:11 
QuestionExcel Pin
Davitor2-Jul-09 1:45
Davitor2-Jul-09 1:45 
AnswerRe: Excel Pin
Michael Schubert2-Jul-09 1:52
Michael Schubert2-Jul-09 1:52 

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.