Notes
L’accès à cette page nécessite une autorisation. Vous pouvez essayer de vous connecter ou de modifier des répertoires.
L’accès à cette page nécessite une autorisation. Vous pouvez essayer de modifier des répertoires.
I have seen a lot of querries why does the TreeView shows a horizontal scroll even though it doesnt need one when the Nodes are added in WM_CREATE.
First, it seems that the COMCTL32 feels that it doesnt have enough space when we try adding nodes while the treeview is getting created. Hence it sets the WS_HSCROLL flag on the window and hence we get the horizontal scroll.
We have fixed this bug in whidbey timeframe, but till then the user can add nodes in the Form.Load( ) event to let the treeview get created so that the horizontal scroll is not added.
Comments
- Anonymous
August 04, 2004
http://www.ixmx.net