xsharp.eu • Taskbar Notification Dialog
Page 1 of 1

Taskbar Notification Dialog

Posted: Thu Jul 20, 2023 2:55 am
by Sherlock
Is there a sample app / code in VO to drive this functionality.Taskbar Notification Dialog
Thanks in advance

Phil

Taskbar Notification Dialog

Posted: Thu Jul 20, 2023 10:17 am
by ic2
Hello Phil,

Could you post a bit more detail? What do you mean with "this functionality"?

Or do you mean something like this:

Code: Select all

LOCAL oIcon AS Icon
LOCAL cTitle AS STRING
oIcon := SomeIcon{}
cTitle := "Title"
IF SELF:AddTrayIcon (oIcon, REMARKICONID, cTitle)
  SELF:oComposeWindow:lRemarkTrayIcon := TRUE
    IF !SELF:ShowBalloonTrayTip (oIcon, REMARKICONID, cTitle, cText, 50, NIIF_INFO)
     // Do nothing or display an errorbox
   ENDIF
ELSE
  // Do nothing or display an errorbox
ENDIF

Dick