Alaska Software Inc. - :visible / :setvisible
Username: Password:
AuthorTopic: :visible / :setvisible
AUGE_OHR:visible / :setvisible
on Wed, 11 Mar 2009 04:15:47 +0100
hi,

helpfile say XbpActiveXControl() have :visible before :create()
and :setVisible() at Runtime.

now what about Tray Application ?
how can i "hide()" a activeX Tray Application with it ?

greetings by OHR
Jimmy
Thomas Braun
Re: :visible / :setvisible
on Fri, 13 Mar 2009 09:51:31 +0100
AUGE_OHR wrote:

> helpfile say XbpActiveXControl() have :visible before :create()
> and :setVisible() at Runtime.
> 
> now what about Tray Application ?
> how can i "hide()" a activeX Tray Application with it ?

The tray icon initially is registered by the "owner" application by using
the Shell_NotifyIcon API function (->shell32.dll)

Maybe you could de-register it from a different application, but I don't
think you will be able to activate it again aftwerwards.

Thomas
AUGE_OHRRe: :visible / :setvisible
on Fri, 13 Mar 2009 12:30:23 +0100
hi,

> The tray icon initially is registered by the "owner" application by using
> the Shell_NotifyIcon API function (->shell32.dll)
>
> Maybe you could de-register it from a different application, but I don't
> think you will be able to activate it again aftwerwards.

thx for Answer.
i did play with Codejock activeX TrayIcon and just try to remove TrayIcon
while it seem me not logic when Application is "maximized" and i still have
a Icon in Tray ? ... or is this "normal" ?

greetings by OHR
Jimmy
Thomas Braun
Re: :visible / :setvisible
on Mon, 16 Mar 2009 09:03:36 +0100
AUGE_OHR wrote:

> thx for Answer.
> i did play with Codejock activeX TrayIcon and just try to remove TrayIcon
> while it seem me not logic when Application is "maximized" and i still have
> a Icon in Tray ? ... or is this "normal" ?

I don't think I have seen any application that removes the taskbar icon
when maximized. I can't see a reason to do this.

thomas
AUGE_OHRRe: :visible / :setvisible
on Mon, 16 Mar 2009 12:21:05 +0100
hi,

> I don't think I have seen any application that removes the taskbar icon
> when maximized. I can't see a reason to do this.

i agree, most seem to stay until "exit".
Total Commander and ASUS Probe does what i meen.

... but there mus be something else while TC is also in Tasklist
so you can use ALT-Tab (Enter) to "maximize" it from Tray.
... it is not a "common Way", but i like it 

greetings by OHR
Jimmy
Thomas Braun
Re: :visible / :setvisible
on Mon, 16 Mar 2009 16:25:35 +0100
AUGE_OHR wrote:

> i agree, most seem to stay until "exit".
> Total Commander and ASUS Probe does what i meen.

Ah... I have Asus Probe installed on my home PC, but never noticed this.

> ... but there mus be something else while TC is also in Tasklist
> so you can use ALT-Tab (Enter) to "maximize" it from Tray.

Is total commander in the task bar as well? 

> ... it is not a "common Way", but i like it 
> 

I would stay with SWB (standard windows behaviour), simply because most
users are used to it.

Things like what you describe above is only for geeks like you and me 

Thomas