Custtom Screen Bar Logo

This forum is for general developer support questions.

Custtom Screen Bar Logo

Postby BillEaves » Wed Feb 08, 2012 11:32 pm

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.
User avatar
BillEaves
Beta Tester
Beta Tester
 
Posts: 197
Joined: Wed Dec 22, 2010 10:14 am
Location: Caithness, Scotland

Re: Custtom Screen Bar Logo

Postby chris » Thu Feb 09, 2012 7:48 pm

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.
chris
 
Posts: 235
Joined: Sat Jun 18, 2011 11:05 am

Re: Custom Screen Bar Logo

Postby BillEaves » Thu Feb 09, 2012 10:21 pm

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.
User avatar
BillEaves
Beta Tester
Beta Tester
 
Posts: 197
Joined: Wed Dec 22, 2010 10:14 am
Location: Caithness, Scotland


Return to General Developer Support

Who is online

Users browsing this forum: No registered users and 1 guest