Click here to Skip to main content
15,905,316 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
QuestionHow can I get rid of Scrollbar? [modified] Pin
transoft3-Oct-09 8:03
transoft3-Oct-09 8:03 
AnswerRe: How can I get rid of Scrollbar? Pin
Iain Clarke, Warrior Programmer3-Oct-09 9:27
Iain Clarke, Warrior Programmer3-Oct-09 9:27 
AnswerRe: How can I get rid of Scrollbar? Pin
Iain Clarke, Warrior Programmer3-Oct-09 9:32
Iain Clarke, Warrior Programmer3-Oct-09 9:32 
AnswerRe: How can I get rid of Scrollbar? Pin
PJ Arends3-Oct-09 10:00
professionalPJ Arends3-Oct-09 10:00 
GeneralRe: How can I get rid of Scrollbar? Pin
transoft3-Oct-09 10:13
transoft3-Oct-09 10:13 
GeneralRe: How can I get rid of Scrollbar? Pin
PJ Arends3-Oct-09 10:54
professionalPJ Arends3-Oct-09 10:54 
GeneralRe: How can I get rid of Scrollbar? Pin
transoft3-Oct-09 11:18
transoft3-Oct-09 11:18 
GeneralRe: How can I get rid of Scrollbar? Pin
transoft4-Oct-09 10:40
transoft4-Oct-09 10:40 
Thank you so much for replying my questions. I just post an message in this forum. I found the real reason.

I think "m_wndSplitter.Create" will cause the scorllbar to show.

BOOL CSplitFrame::OnCreateClient(LPCREATESTRUCT lpcs, CCreateContext* pContext)
{
	//return m_wndSplitter.Create( this,
	//	                         2, 2,       // TODO: adjust the number of rows, columns
	//	                         CSize( 10, 10 ),  // TODO: adjust the minimum pane size
	//	                         pContext );

	return CMDIChildWnd::OnCreateClient(lpcs, pContext);    ---->Scrollbar disappear
}


After I did this. I got another assertion error.
Questionsmall icon of dialog Pin
includeh103-Oct-09 5:33
includeh103-Oct-09 5:33 
AnswerRe: small icon of dialog Pin
Richard MacCutchan3-Oct-09 5:55
mveRichard MacCutchan3-Oct-09 5:55 
AnswerRe: small icon of dialog Pin
PJ Arends3-Oct-09 7:22
professionalPJ Arends3-Oct-09 7:22 
QuestionIs Doc/View a great architecture? Pin
Jan Sommer3-Oct-09 5:21
Jan Sommer3-Oct-09 5:21 
AnswerRe: Is Doc/View a great architecture? Pin
includeh103-Oct-09 5:39
includeh103-Oct-09 5:39 
GeneralRe: Is Doc/View a great architecture? Pin
Jan Sommer3-Oct-09 5:48
Jan Sommer3-Oct-09 5:48 
AnswerRe: Is Doc/View a great architecture? Pin
Richard MacCutchan3-Oct-09 5:58
mveRichard MacCutchan3-Oct-09 5:58 
AnswerRe: Is Doc/View a great architecture? Pin
Stuart Dootson3-Oct-09 11:43
professionalStuart Dootson3-Oct-09 11:43 
GeneralRe: Is Doc/View a great architecture? Pin
Jan Sommer3-Oct-09 11:55
Jan Sommer3-Oct-09 11:55 
GeneralRe: Is Doc/View a great architecture? Pin
Stuart Dootson3-Oct-09 12:32
professionalStuart Dootson3-Oct-09 12:32 
GeneralRe: Is Doc/View a great architecture? Pin
Richard MacCutchan3-Oct-09 14:28
mveRichard MacCutchan3-Oct-09 14:28 
QuestionLogin crash when wrong password enters,,,,PLZ HELP Pin
Vetukuri Raju3-Oct-09 2:31
Vetukuri Raju3-Oct-09 2:31 
Question[Message Deleted] Pin
Manmohan293-Oct-09 1:53
Manmohan293-Oct-09 1:53 
AnswerRe: Detect Laptop or Desktop Pin
PJ Arends3-Oct-09 4:45
professionalPJ Arends3-Oct-09 4:45 
QuestionCEdit, text color Pin
sashoalm3-Oct-09 0:36
sashoalm3-Oct-09 0:36 
AnswerRe: CEdit, text color Pin
CPallini3-Oct-09 3:45
mveCPallini3-Oct-09 3:45 
GeneralRe: CEdit, text color Pin
sashoalm6-Oct-09 3:38
sashoalm6-Oct-09 3:38 

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.