Click here to Skip to main content
16,009,112 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralMFC icon Pin
catngo31-Mar-04 20:30
catngo31-Mar-04 20:30 
GeneralRe: MFC icon Pin
iceage31-Mar-04 20:42
iceage31-Mar-04 20:42 
GeneralRe: MFC icon Pin
catngo31-Mar-04 20:47
catngo31-Mar-04 20:47 
GeneralRe: MFC icon Pin
Rick York31-Mar-04 21:39
mveRick York31-Mar-04 21:39 
GeneralRe: MFC icon Pin
Anonymous1-Apr-04 1:53
Anonymous1-Apr-04 1:53 
GeneralRe: MFC icon Pin
catngo1-Apr-04 4:40
catngo1-Apr-04 4:40 
GeneralRe: MFC icon Pin
David Crow1-Apr-04 3:29
David Crow1-Apr-04 3:29 
Generalhidding splitter windows Pin
fatimah31-Mar-04 18:33
fatimah31-Mar-04 18:33 
hi!

i have created three splitter windows like microsoft outlook in MFC SDI application. The splitter windows are created in OnCreateClient() function of main frame. Now i want to hide and show the left and bottom window on some events dynamically. I have tried to use deleterow() type of functions but it is giving exception.Unsure | :~

kindly tell me what to do? and how to resolve this issue?Confused | :confused:

The code for creating splitter windows is posted below for reference
// CODE

// create vertical splitter<br />
if (!m_wndSplitterV.CreateStatic(this,1,2))<br />
	return FALSE;<br />
if (!m_wndSplitterV.CreateView (0, 0, RUNTIME_CLASS(CLeftView), CSize(150,150), pContext))<br />
	{<br />
	m_wndSplitterV.DestroyWindow();<br />
	return FALSE;<br />
	}<br />
// create horizontal splitter<br />
if (!m_wndSplitterH.CreateStatic(& m_wndSplitterV,2,1,WS_CHILD|WS_VISIBLE|WS_BORDER,m_wndSplitterV.IdFromRowCol(0,1)))		<br />
	{<br />
	m_wndSplitterV.DestroyWindow();<br />
	return FALSE;<br />
	}<br />
<br />
if (!m_wndSplitterH.CreateView(0, 0, RUNTIME_CLASS(CSCR1View), CSize(500,500 ), pContext)|| <br />
		!m_wndSplitterH.CreateView(1, 0, RUNTIME_CLASS(CLowerView), CSize(0, 0), pContext))<br />
	{<br />
	m_wndSplitterV.DestroyWindow();<br />
	return FALSE;<br />
	}


regards
fatima Big Grin | :-D
GeneralRe: hidding splitter windows Pin
David Crow1-Apr-04 3:33
David Crow1-Apr-04 3:33 
GeneralTransparent Text to bitmap Pin
Neha31-Mar-04 17:15
Neha31-Mar-04 17:15 
GeneralRe: Transparent Text to bitmap Pin
John R. Shaw31-Mar-04 21:33
John R. Shaw31-Mar-04 21:33 
Questionhow to store image to SQL SERVER and get from it? (vc6.0,ado) Pin
cococut31-Mar-04 15:54
cococut31-Mar-04 15:54 
AnswerRe: how to store image to SQL SERVER and get from it? (vc6.0,ado) Pin
Mike Dimmick31-Mar-04 22:14
Mike Dimmick31-Mar-04 22:14 
GeneralRe: how to store image to SQL SERVER and get from it? (vc6.0,ado) Pin
cococut1-Apr-04 14:35
cococut1-Apr-04 14:35 
GeneralReturning WCHAR* variable; Pin
Bo Hunter31-Mar-04 15:50
Bo Hunter31-Mar-04 15:50 
GeneralRe: Returning WCHAR* variable; Pin
Tim Smith31-Mar-04 16:06
Tim Smith31-Mar-04 16:06 
GeneralRe: Returning WCHAR* variable; Pin
Maxwell Chen31-Mar-04 16:32
Maxwell Chen31-Mar-04 16:32 
GeneralRe: Returning WCHAR* variable; Pin
Mike Dimmick31-Mar-04 22:23
Mike Dimmick31-Mar-04 22:23 
GeneralDebugger hangs Pin
josh052631-Mar-04 15:00
josh052631-Mar-04 15:00 
GeneralRe: Debugger hangs Pin
Alexander M.,1-Apr-04 3:38
Alexander M.,1-Apr-04 3:38 
QuestionHow can I monitor data on a serial port opened by another application? Pin
IamJimW31-Mar-04 14:51
IamJimW31-Mar-04 14:51 
AnswerRe: How can I monitor data on a serial port opened by another application? Pin
Gary R. Wheeler31-Mar-04 14:58
Gary R. Wheeler31-Mar-04 14:58 
AnswerRe: How can I monitor data on a serial port opened by another application? Pin
rmnowick31-Mar-04 15:31
rmnowick31-Mar-04 15:31 
GeneralRe: How can I monitor data on a serial port opened by another application? Pin
Harold Bamford1-Apr-04 12:41
Harold Bamford1-Apr-04 12:41 
GeneralRe: How can I monitor data on a serial port opened by another application? Pin
IamJimW1-Apr-04 17:04
IamJimW1-Apr-04 17:04 

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.