WTL CSplitterWindow cannot create more than 3 instances?

Posted by Zach on Stack Overflow See other posts from Stack Overflow or by Zach
Published on 2010-03-21T08:51:31Z Indexed on 2010/03/21 9:01 UTC
Read the original article Hit count: 528

Filed under:

Hello all,

I'm using WTL to create a window containing many splitted panes. The following will be the result.

---------------------------
|     |         |         |
|     |         |         |
|     |         |         |
|     |--------------------
|     |      |            |
|     |      |            |
---------------------------

There will be 4 splitters, three vertical ones and a horizontal one.

I followed the great article : http://www.codeproject.com/KB/wtl/wtl4mfc7.aspx. But I only can add 3 splitters as below.

---------------------------
|     |         |         |
|     |         |         |
|     |         |         |
|     |--------------------
|     |                   |
|     |                   |
---------------------------

I tried a lot of ways but still cannot add the last one. Is is a bug of WTL? Can anybody help me?

Best regards, Zach@Shine

© Stack Overflow or respective owner

Related posts about wtl