Jump to content

_GUICtrlTreeView_Create (Beta) with Tabs


MadBoy
 Share

Recommended Posts

This works but puts it on all tabs:

$GUI_ServersView = _GUICtrlTreeView_Create ($GUI_MAIN, 20, 48, 200, 235, $iStyle, $WS_EX_CLIENTEDGE)

This doesn't work:

$GUI_ServersView = _GUICtrlTreeView_Create ($GUI_TAB[1], 20, 48, 200, 235, $iStyle, $WS_EX_CLIENTEDGE)

Any way to get it to work just like GUICtrlCreateTreeView does?

When used the normal way the gui redrawing problem doesn't exists, and it only stays on 1 tab:

$GUI_ServersView = GUICtrlCreateTreeView(20, 48, 200, 235, $iStyle, $WS_EX_CLIENTEDGE)

Ps. I start to feel like a noob with newest beta features :/

Edited by MadBoy

My little company: Evotec (PL version: Evotec)

Link to comment
Share on other sites

Also maybe while someone will tell me how to do it also can say how to fix bad window TreeView redrawing:

post-9639-1194615376_thumb.png

As you can see the TreeView is kind of demaged. On program start i use:

_GUICtrlTreeView_Expand ($GUI_ServersView, 1)

_GUICtrlTreeView_Expand ($GUI_ServersView, 0)

When i then manually try to collapse the items in the treeview it gets corrupted just like on screenshot. This happens only once or so. When i then do couple of collapse, expand it works normally.

My little company: Evotec (PL version: Evotec)

Link to comment
Share on other sites

Siao:

I did what you suggested on other thread

$GUI_ServersView = GUICtrlCreateTreeView(20, 48, 200, 235, $iStyle, $WS_EX_CLIENTEDGE)

$GUI_ServersView = GUICtrlGetHandle($GUI_ServersView)

So i'll continue using the built in version rather then UDF. It's still funny UDF behaves like that.

My little company: Evotec (PL version: Evotec)

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
 Share

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...