Jump to content
Sign in to follow this  
MadBoy

_GUICtrlTreeView_Create (Beta) with Tabs

Recommended Posts

MadBoy

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)

Share this post


Link to post
Share on other sites
MadBoy

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)

Share this post


Link to post
Share on other sites
MadBoy

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)

Share this post


Link to post
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
Sign in to follow this  

×

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.