Re: win32Lib - newUIObj bug?
- Posted by Mike777 <anon4321 at gma?l?com> May 07, 2008
- 732 views
c.k.lester wrote: > > Mike777 wrote: > > > > > > Since I'm using newUIObj directly there is quite a bit of code that goes > > into > > creating the string that is passed to newUIObj. But the result is a loop > > that > > does the following: > > > > 1. Add a tab control to the window > > 2. Add tab index to tab control > > 3. Add a series of controls to the tab index > > 4. Destroy the tab control (which theoretically should destroy the tab index > > and all of the controls on the tab index) > > 5. Add a tab control to the window > > I hope we get to see this program someday. :) This particular piece I'm working on right now is what might be called a mini-IDE in the context of a visual editor for the newUIObj instructions. That is why I'm in a position of having to remove controls and put them back. That is, I don't want to just move a control on the screen, I really want to delete it and re-paint it from scratch so that I'm sure the command is actually working. I'm not sure I will ever have the time to make it publishable, since right now it uses hardcoded names for many of the files and presumes a directory structure that I'm sure nobody else has or would want. But I really need this tool because hand editing a 2000 line text file to change the layout of a particular screen is getting quite tedious. Mike