Page 1 of 1

Custtom Screen Bar Logo

Posted: Wed Feb 08, 2012 11:32 pm
by BillEaves
Is it possible for an application that opens its own screen to use a custom SBarLogo specified by the application without the user having to create an entire new Screens prefs entry fo it.

Basically I want the application to be "Like Workbench" but specify an application specific screen bar logo - wihtout user intervention .

I have looked through intuition/gui.h but cannot see anything obviously applicable nor any examples on how to do this assuming it is actually possible to do.

Possibly I could use SetScreenAttr(), but what attribute would I need to set and how would I set the value. AutoDocs tell me zilch.





Bill.

Re: Custtom Screen Bar Logo

Posted: Thu Feb 09, 2012 7:48 pm
by chris
All I can determine is that you need to create a sysiclass object with the following tag:
SYSIA_Which, SBARLOGO

So I think you'd probably need a screen which doesn't have a logo, then attach that BOOPSI image to the screen's gadget list.

Might be completely wrong though, that class may well only give you the current image.

Re: Custom Screen Bar Logo

Posted: Thu Feb 09, 2012 10:21 pm
by BillEaves
chris wrote:All I can determine is that you need to create a sysiclass object with the following tag:
SYSIA_Which, SBARLOGO

So I think you'd probably need a screen which doesn't have a logo, then attach that BOOPSI image to the screen's gadget list.

Might be completely wrong though, that class may well only give you the current image.
I had a look at that, clear as mud. I am not sure if that was quite what I was after.

Thanks for the suggestion, it seems no one knows how to do this, maybe you can't.