SysIconAdd WD 21

Startbeitrag von André Labuschagné am 15.03.2017 18:12

Hi All

I am a little stuck. The icon is added to the taskbar and then appears in the system tray with the correct title. I do not know how to add menu items to a right click on the icon. I need an open and close option. How do I do that?



Just seen that you can associate a popup menu with the icon. Never done one of those - checking now.....

von André Labuschagné - am 15.03.2017 18:17
No idea how to create a popup menu with option to make the app visible again or close the app....

von André Labuschagné - am 15.03.2017 18:24
I do not know if it still works in V21 but in V14 you can do it like this:

In the SysIconAdd one of the parameter is one procedure called during a mouse (or stylus) operation on the icon

In that procedure you can check what happens and proceed as you which

Check the remarks section of the help:

von Paulo Oliveira - am 15.03.2017 18:38
Hi Paulo

In that link they associate the icon with menu_noname1. How do I do that? How to I create the menu_noname1 with the two options of close app or make visible again? I know what commands to use but no idea how to make the menu popup. That is where I am stuck.

Fairly new to WD - been using WB and WDM quite a lot. So I am still learning my around what is on offer.


von André Labuschagné - am 15.03.2017 18:57
Found it on the window options.

von André Labuschagné - am 15.03.2017 19:03
All sorted. A very different IDE and concept this but have got it working now.


von André Labuschagné - am 15.03.2017 19:32
Zur Information: hat keinen Einfluss auf die Inhalte der Beiträge. Bitte kontaktieren Sie den Administrator des Forums bei Problemen oder Löschforderungen über die Kontaktseite.
Falls die Kontaktaufnahme mit dem Administrator des Forums fehlschlägt, kontaktieren Sie uns bitte über die in unserem Impressum angegebenen Daten.