[openbeos] Re: A fault in the current TabView (?)
- From: "Scott Donaldson" <a_nqe@xxxxxxxxxxx>
- To: openbeos@xxxxxxxxxxxxx
- Date: Fri, 19 Mar 2004 06:27:15 +0000
Just out of curriosity wouldn't a void pointer mess that code up anyway? It
would still return true which would imply that it had selected?
Its too early in the morning so I could be off my head, but I was just
nosing through the news letters anyway.
p.s. I still have lots of reading up on BeOS kernel and stuff before I can
be any help. The bootloader menu sounds like an interesting place to start
playing about so I'll keep reading 'til I'm ready.
From: Mat Hounsell <mat_geek@xxxxxxxxxxxx>
Reply-To: openbeos@xxxxxxxxxxxxx
To: openbeos@xxxxxxxxxxxxx
Subject: [openbeos] Re: A fault in the current TabView (?)
Date: Fri, 19 Mar 2004 12:20:21 +1100 (EST)
> >I was looking at the source for TabView and I noticed that AddTab does
not
> add
> >the target view to the TabView's ContainerView. This a problem because
the
> >BeBook example code reads paraphrased ...
> >
> > tabView->AddTab( new TView( ... ), aTab );
How silly of me not to say.
Don't worry I tracked down where it is added. But it seems a bit risky.
void BTab::Select(BView *owner)
{
if (!owner)
return;
if (!View())
return;
if (!owner->Window())
return;
owner->AddChild(fView);
//fView->Show();
fSelected = true;
}
I will send my app later. When I reboot into BeOS and copy it to my data
partition, reboot into windows, connect to the net and log into yahoo.
Find local movie times and trailers on Yahoo! Movies.
http://au.movies.yahoo.com
_________________________________________________________________
Find a cheaper internet access deal - choose one to suit you.
http://www.msn.co.uk/internetaccess
- Follow-Ups:
- [openbeos] Re: A fault in the current TabView (?)
- From: Axel Dörfler
Other related posts:
- » [openbeos] A fault in the current TabView (?)
- » [openbeos] Re: A fault in the current TabView (?)
- » [openbeos] Re: A fault in the current TabView (?)
- » [openbeos] Re: A fault in the current TabView (?)
- » [openbeos] Re: A fault in the current TabView (?)
- » [openbeos] Re: A fault in the current TabView (?)
- » [openbeos] Re: A fault in the current TabView (?)
From: Mat Hounsell <mat_geek@xxxxxxxxxxxx> Reply-To: openbeos@xxxxxxxxxxxxx To: openbeos@xxxxxxxxxxxxx Subject: [openbeos] Re: A fault in the current TabView (?) Date: Fri, 19 Mar 2004 12:20:21 +1100 (EST)
> >I was looking at the source for TabView and I noticed that AddTab does not
> add
> >the target view to the TabView's ContainerView. This a problem because the
> >BeBook example code reads paraphrased ...
> >
> > tabView->AddTab( new TView( ... ), aTab );
How silly of me not to say.
Don't worry I tracked down where it is added. But it seems a bit risky.
void BTab::Select(BView *owner)
{
if (!owner)
return; if (!View())
return; if (!owner->Window())
return; owner->AddChild(fView);
//fView->Show();fSelected = true; }
I will send my app later. When I reboot into BeOS and copy it to my data partition, reboot into windows, connect to the net and log into yahoo.
Find local movie times and trailers on Yahoo! Movies. http://au.movies.yahoo.com
- [openbeos] Re: A fault in the current TabView (?)
- From: Axel Dörfler