Re: Win32Lib

new topic     » goto parent     » topic index » view thread      » older message » newer message
Mike777 said...

I'm sure I've asked this before, but without the search functions working (either the one on the forum, or the one in my brain), I'm forced to admit my incompetence and ask again.

I have a program that builds hundreds and hundreds of controls using newUIObj. These controls are inserted onto a series of tab controls/tab indexes (pages), Maybe 7 or 8 primary tab indexes, each of which have 2 or 3 (sometimes more) tab indexes of their own (within a single tab control on each, of course).

After all of the controls are placed on the window, no matter which tab index I "set focus" to, I still see many of the controls. It looks like they are all overlaying the screen with different z-orders, but they are all remaining visible! Quite the mess.

The only solution I have right now, is to manually click each and every tab index page (including the sub-tab indexes on each page) and then, after all have been selected once, I can return to any give page and only the controls from that page will be visible.

Am I doing something fundamentally wrong by just calling newUIObj with lots of controls?

I suppose I can keep track of all of the tab indexes that are being built and then insert a setfocus command that courses through them "tricking" the computer into thinking that they have each been individually selected.

If there is a "right" way to do this, though, that I'm just ignoring, I'd rather do it the "right" way.

Thanks

Mike

This was corrected in win32lib 0.70.1. Which version are you using?

Also, be sure to parent your controls to the right tab item, not the tab control.

CChris

new topic     » goto parent     » topic index » view thread      » older message » newer message

Search



Quick Links

User menu

Not signed in.

Misc Menu