SetRowInfo() doesn't specify the actual size, but the "idea size". It's not the same. I don't wonder you see no effect.
Maybe you can use DeleteRow() and SplitColumn() to delete and insert rows().
I dont want to delete anything only hide a row based on what the user selects elsewhere. So it needs to toggle between showing only 1 row or 2 rows.
I understand I would need to use dynamic splitters to do what you suggest but then I dont want the user to be able to split the view from the front end.
Im happy with a static, but just need to hide bottom pane. I cant believe its so difficult, always the problem with MFC.
For now I just looking for the most easy way to hide the bottom row in a two row splitter?
The Show Hide static panes would seem to be the one I want, the other is too much solution.
The problem with the first example, the code is for hiding/showing columns not rows.
Im not confident in rewriting it for hiding a row? Can anyone help?
Thanks for your responses so far, I feel im getting nearer...
Bookmarks