Hide/Show Docky

Discuss any general programming issues here
PEB
Posts: 569
Joined: Sun Feb 21, 2010 1:28 am

Hide/Show Docky

Post by PEB »

I know that this can be done with the @OPTIONS preprocessor command; but is there a way to allow the user to choose whether or not the docky is displayed at runtime?
User avatar
airsoftsoftwair
Posts: 5443
Joined: Fri Feb 12, 2010 2:33 pm
Location: Germany
Contact:

Re: Hide/Show Docky

Post by airsoftsoftwair »

No, this needs to be done at program startup when the application is registered through application.library. Runtime support for show/hide docky is very unlikely to come because all this docky stuff was a horrible mess to implement which I'd rather not touch any more :)
PEB
Posts: 569
Joined: Sun Feb 21, 2010 1:28 am

Re: Hide/Show Docky

Post by PEB »

Could it be an option that is triggered through a tooltype? (Just so I don't need to include two separate executables in the archive for users who do or do not want the docky displayed.)
User avatar
airsoftsoftwair
Posts: 5443
Joined: Fri Feb 12, 2010 2:33 pm
Location: Germany
Contact:

Re: Hide/Show Docky

Post by airsoftsoftwair »

Yes, this should be possible. So you'd like to have the "NoDocky" option available from the tooltypes, right?
PEB
Posts: 569
Joined: Sun Feb 21, 2010 1:28 am

Re: Hide/Show Docky

Post by PEB »

Yes, that would be a nice option to have.
Thanks!
User avatar
airsoftsoftwair
Posts: 5443
Joined: Fri Feb 12, 2010 2:33 pm
Location: Germany
Contact:

Re: Hide/Show Docky

Post by airsoftsoftwair »

Ok, that should be possible to add.
PEB
Posts: 569
Joined: Sun Feb 21, 2010 1:28 am

Re: Hide/Show Docky

Post by PEB »

Would it be possible also to have a NoDocky argument that could be used if the executable is started from a console?
(Such an argument would obviously need to be evaluated before the program is loaded.)
User avatar
airsoftsoftwair
Posts: 5443
Joined: Fri Feb 12, 2010 2:33 pm
Location: Germany
Contact:

Re: Hide/Show Docky

Post by airsoftsoftwair »

Sure, all Hollywood tooltypes are also accessible from the command line. So adding a new tooltype automatically means the tooltype will be available from the command line as well, if that is what you mean?
PEB
Posts: 569
Joined: Sun Feb 21, 2010 1:28 am

Re: Hide/Show Docky

Post by PEB »

Yes, that's what I mean.
Thanks so much!
User avatar
airsoftsoftwair
Posts: 5443
Joined: Fri Feb 12, 2010 2:33 pm
Location: Germany
Contact:

Re: Hide/Show Docky

Post by airsoftsoftwair »

Code: Select all

- New [OS4]: Added NODOCKY console argument/tooltype; this does the same as the @OPTIONS tag bearing
  the same name
Post Reply