Current location - Recipe Complete Network - Complete cookbook - How to get the tray menu icon in Easy Language? (more details)
How to get the tray menu icon in Easy Language? (more details)

Version

2

.Assembly

Window Assembly 1

.Subroutine

__Startup window_created

Set tray icon

([Place tray icon data here, which can be a byte set, resource or icon file name],< /p>

)

.Subroutine

__Start window_tray event

.Parameters

Operation type,

Integer type

. Judgment starts

(Operation type

#Left click)

.Judgment

(Operation type

#Double-click)

Load

(_Start window,

,

True)

.Judgement

(Operation type

#Right click)

Pop up the tray menu

([Fill in the menu to pop up here])

.Default