Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.clipper.visual-objects > #7277

Re: Tray Object from Fabrice Foray tools

From D.J.W. van Kooten <vankooten@removethis.ic2.com>
Newsgroups comp.lang.clipper.visual-objects
Subject Re: Tray Object from Fabrice Foray tools
Date 2014-10-07 15:11 +0200
Organization IC2
Message-ID <5cp73ap3nf366i29mcco2vo88jqpp6evda@4ax.com> (permalink)
References <9d0caf14-fa3a-4fa2-9813-ec6d6c6c4f83@googlegroups.com> <m0pbbj$be7$1@speranza.aioe.org> <4c8a81f2-066c-46d6-9ffe-f4f0eeb691b7@googlegroups.com> <d0b3fff1-c5cc-4216-9f8d-6007a05b5533@googlegroups.com>

Show all headers | View raw


On Mon, 6 Oct 2014 14:20:24 -0700 (PDT), George Tritsos
<GeorgeTritsos@yahoo.gr> wrote:

Hello George,

>I have a problem with FabTray Object.When the cursor is over the tray icon then the tray icon disappears. 
>I have the Class FabTrayObject. My app is very small and the ShellWindow does not appears.

We do it like this:

	IF !SELF:lTrayIconPresent
		IF SELF:AddTrayIcon
(oIcon,BALLOONICONID,Vt("CLM_HERINNER","Some text") )
			SELF:lTrayIconPresent := TRUE
ENDIF
ENDIF

AND TO REMOVE:

	IF SELF:lTrayIconPresent
		IF SELF:DeleteTrayIcon (BALLOONICONID)
			SELF:lTrayIconPresent := FALSE
		ELSE
			// Error
		ENDIF
	ENDIF


Regularely we found that a trayicon is NOT removed despite a succesful
call to DeleteTrayICon. Never found the cause. What happens then:
(only) when you close the program, the trayicon is still there. As
soon as you move the cursor over the trayicon it disappears, exactly
as you describe.

This would suggest that you trayicon isn't owned/locked (?) from your
program, as this apparently happens to you when you are still in the
program.

I realize this reply doesn't directly help but maybe it helps you find
a cause.

Dick

Back to comp.lang.clipper.visual-objects | Previous | Next — Previous in thread | Find similar | Unroll thread


Thread

Tray Object from Fabrice Foray tools George Tritsos <GeorgeTritsos@yahoo.gr> - 2014-10-03 13:54 -0700
  Re: Tray Object from Fabrice Foray tools "Jamal" <someone@example.com> - 2014-10-04 13:39 -0400
    Re: Tray Object from Fabrice Foray tools George Tritsos <GeorgeTritsos@yahoo.gr> - 2014-10-05 08:30 -0700
      Re: Tray Object from Fabrice Foray tools George Tritsos <GeorgeTritsos@yahoo.gr> - 2014-10-06 14:20 -0700
        Re: Tray Object from Fabrice Foray tools D.J.W. van Kooten <vankooten@removethis.ic2.com> - 2014-10-07 15:11 +0200

csiph-web