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

C / C++ / MFC

 
GeneralComand line error D2016 Pin
ElizabethC3-Apr-03 7:13
ElizabethC3-Apr-03 7:13 
GeneralRe: Comand line error D2016 Pin
AlexO3-Apr-03 8:03
AlexO3-Apr-03 8:03 
GeneralCSocket and threads Pin
Beer3-Apr-03 6:56
Beer3-Apr-03 6:56 
GeneralRe: CSocket and threads Pin
valikac3-Apr-03 8:16
valikac3-Apr-03 8:16 
GeneralRe: CSocket and threads Pin
Beer3-Apr-03 9:15
Beer3-Apr-03 9:15 
GeneralRe: CSocket and threads Pin
markkuk3-Apr-03 9:49
markkuk3-Apr-03 9:49 
GeneralRe: CSocket and threads Pin
Beer3-Apr-03 13:05
Beer3-Apr-03 13:05 
QuestionHow to scroll down a CEdit control? Pin
IGx893-Apr-03 6:54
IGx893-Apr-03 6:54 
I have a CEdit control defined like so:
EDITTEXT        IDC_LOG,7,177,437,86,ES_MULTILINE | ES_AUTOVSCROLL | <br />
                ES_READONLY | WS_VSCROLL<br />


I add text to it like this:
bool CFLModManagerDlg::Log(CString text, bool NewLine)<br />
{<br />
	LogString += text;<br />
	if(NewLine)<br />
		LogString += "\r\n";<br />
	UpdateData(FALSE);<br />
	LogCtrl.SetSel(0,-1,FALSE);<br />
	//CEdit *Edit = (CEdit*)GetDlgItem(IDC_LOG);//->SendMessage(WM_COMMAND,EN_VSCROLL,((LPARAM)GetDlgItem(IDC_LOG)->m_hWnd));<br />
	//Edit->LineScroll(1);//Edit->GetLineCount());<br />
	//LogCtrl.LineScroll(-1);<br />
	//UpdateData(FALSE);<br />
	return false;<br />
}<br />


Now, no matter what I do to try to make it scroll to the bottom, it won't! What am I doing wrong?
GeneralGet Click from subcontroller Pin
Mathias S.3-Apr-03 6:49
Mathias S.3-Apr-03 6:49 
QuestionActiveX on Dialog breaks DialogBoxParam on Callback? Pin
Dan Thurman3-Apr-03 6:46
Dan Thurman3-Apr-03 6:46 
GeneralNetworking woes... Pin
Navin3-Apr-03 6:23
Navin3-Apr-03 6:23 
GeneralRe: Networking woes... Pin
Navin3-Apr-03 10:44
Navin3-Apr-03 10:44 
GeneralDisplaying Forms From A Visual Studio Macro Pin
nde_plume3-Apr-03 5:19
nde_plume3-Apr-03 5:19 
GeneralRe: Displaying Forms From A Visual Studio Macro Pin
Alvaro Mendez3-Apr-03 6:11
Alvaro Mendez3-Apr-03 6:11 
GeneralRe: Displaying Forms From A Visual Studio Macro Pin
nde_plume3-Apr-03 6:29
nde_plume3-Apr-03 6:29 
GeneralPrint previewing Word document in Active Document Container Pin
Martyn Pearson3-Apr-03 4:30
Martyn Pearson3-Apr-03 4:30 
General.NET FlatStyle equivilent in MFC Pin
Ceri3-Apr-03 4:23
Ceri3-Apr-03 4:23 
GeneralDestroyWindow() and delete Pin
ns3-Apr-03 4:11
ns3-Apr-03 4:11 
GeneralRe: DestroyWindow() and delete Pin
Ravi Bhavnani3-Apr-03 4:18
professionalRavi Bhavnani3-Apr-03 4:18 
GeneralRe: DestroyWindow() and delete Pin
ns3-Apr-03 4:21
ns3-Apr-03 4:21 
GeneralRe: DestroyWindow() and delete Pin
Ravi Bhavnani3-Apr-03 4:27
professionalRavi Bhavnani3-Apr-03 4:27 
GeneralRe: DestroyWindow() and delete Pin
ns3-Apr-03 4:30
ns3-Apr-03 4:30 
GeneralRe: DestroyWindow() and delete Pin
User 66583-Apr-03 4:36
User 66583-Apr-03 4:36 
GeneralRe: DestroyWindow() and delete Pin
Anonymous3-Apr-03 4:47
Anonymous3-Apr-03 4:47 
GeneralRe: DestroyWindow() and delete Pin
jhwurmbach3-Apr-03 5:16
jhwurmbach3-Apr-03 5:16 

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.