Re: [WIN32Lib] removing tab items

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

Derek,

Ok, I'll try destroying the entire tab control and then rebuilding its tab
items then.  I was trying to give the user of RunDemos the ability to
remove/add/change the demo category folders from within the program.

Dan

----- Original Message -----
From: "Derek Parnell" <ddparnell at bigpond.com>
To: "EUforum" <EUforum at topica.com>
Subject: Re: [WIN32Lib] removing tab items


>
> ----- Original Message -----
> From: "Dan Moyer" <DANIELMOYER at prodigy.net>
> To: "EUforum" <EUforum at topica.com>
> Sent: Thursday, March 21, 2002 12:45 AM
> Subject: [WIN32Lib] removing tab items
>
>
> > When I destroy(id) a tab item, its caption & tab remain, although
clicking
> > on the tab gives an error message about the object being destroyed.  Is
> this
> > a bug, or am I doing something wrong?   Do I maybe have to destroy the
> > entire tab control and then rebuild its tab items?
> >
> > Dan Moyer
>
> Its probably a bug, Dan. I've never tried to destroy a Tab Item before. I
> guess if the Windows DLL which draws the Tab control doesn't support this
> operation, I'll have to get win32lib to redefine it automagically for you
> when you destroy an item. Not sure if this will be fixed anytime soon.
> Sorry.
> ----------
> Derek.
>
>
>
>

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

Search



Quick Links

User menu

Not signed in.

Misc Menu