|
-
July 23rd, 2009, 03:08 AM
#1
CSplitterWnd How to hide a row
I have a splitter window 1 column and 2 rows. On specific user events I want to display 2 rows else I want to hide the bottom row.
I have tried the following, but makes no visual difference, nothing changes?
// hide bottom row pane
if( show == false && mShow == true ){
mShow = false;
pWnd->SetRowInfo(1,0,0); // hide
pWnd->RecalcLayout();
}else if( show == true && mShow == false ){
pWnd->SetRowInfo(1,400,0); // show
pWnd->RecalcLayout();
mShow = true;
}
Where pWnd is the splitter. How can i programatically hide the bottom row?
Thanks in advance.
Tags for this Thread
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|