Modify

#2426 closed Feature Request (Completed)

TrayGetMsg and TraySetState - Magic Numbers

Reported by: mlipok Owned by: Jpm
Milestone: 3.3.9.22 Component: Documentation
Version: Severity: None
Keywords: Cc:

Description

TrayGetMsg - There is no Magic Number only constants.
unlike the
TraySetState - There is only Magic Number without constants.

Attachments (0)

Change History (8)

comment:1 by mlipok, on Aug 26, 2013 at 12:34:02 AM

please if possible make the two parts of the documentation.

comment:2 by TicketCleanup, on Aug 26, 2013 at 1:00:01 AM

Version: 3.3.9.19

Automatic ticket cleanup.

comment:3 by guinness, on Aug 26, 2013 at 7:16:17 AM

TrayGetMsg() & GUIGetMsg() should resemble each other, not TraySetState().

I will leave open and fix the table structure. No need to respond to this ticket for now.

comment:4 by mlipok, on Aug 26, 2013 at 7:59:40 AM

oh..
You righte not TrayItemGetState()
but in Return Value there is a reference:
"Returns the state. See TrayItemSetState table for values."

please add the same to the TrayGetMsg
Because in TrayItemSetState
in Remarks
there is a quite nice "State table"

comment:5 by FireFox, on Aug 26, 2013 at 9:59:12 AM

Are you talking about TraySetState or TrayItemSetState?
It's not the same thing at all.

I suggest those constants for the TraySetState function:
$TRAYICONSTATE_SHOW = 1
$TRAYICONSTATE_HIDE = 2
$TRAYICONSTATE_FLASH = 4
$TRAYICONSTATE_STOPFLASH = 8

comment:6 by mlipok, on Aug 26, 2013 at 11:23:02 AM

Thanks
I need to verify my own observations.

comment:7 by mlipok, on Aug 26, 2013 at 11:23:03 AM

Thanks
I need to verify my own observations.

comment:8 by Jpm, on Oct 4, 2013 at 9:54:27 AM

Milestone: 3.3.9.22
Owner: set to Jpm
Resolution: Completed
Status: newclosed

Added by revision [9096] in version: 3.3.9.22

Modify Ticket

Action
as closed The owner will remain Jpm.

Add Comment


E-mail address and name can be saved in the Preferences .
 
Note: See TracTickets for help on using tickets.