MadBoy Posted November 9, 2007 Share Posted November 9, 2007 (edited) 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 November 9, 2007 by MadBoy My little company: Evotec (PL version: Evotec) Link to comment Share on other sites More sharing options...
MadBoy Posted November 9, 2007 Author Share Posted November 9, 2007 Also maybe while someone will tell me how to do it also can say how to fix bad window TreeView redrawing: 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 More sharing options...
MadBoy Posted November 9, 2007 Author Share Posted November 9, 2007 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 More sharing options...
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now