Develop and Download Open Source Software

Browse Subversion Repository

Diff of /trunk/teraterm/ttpcmn/ttcmn.c

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 6662 by doda, Mon Apr 3 12:51:37 2017 UTC revision 6664 by doda, Mon Apr 3 12:51:43 2017 UTC
# Line 2452  void FAR PASCAL SetVerNotifyIcon(PComVar Line 2452  void FAR PASCAL SetVerNotifyIcon(PComVar
2452          return;          return;
2453  }  }
2454    
2455  void FAR PASCAL NotifyMessage(PComVar cv, char *msg, char *title)  void FAR PASCAL NotifyMessage(PComVar cv, char *msg, char *title, DWORD flag)
2456  {  {
2457          if (msg == NULL) {          if (msg == NULL) {
2458                  return;                  return;
# Line 2467  void FAR PASCAL NotifyMessage(PComVar cv Line 2467  void FAR PASCAL NotifyMessage(PComVar cv
2467          cv->NotifyIcon->dwStateMask = NIS_HIDDEN;          cv->NotifyIcon->dwStateMask = NIS_HIDDEN;
2468    
2469          if (title) {          if (title) {
2470                  cv->NotifyIcon->dwInfoFlags = NIIF_INFO;                  cv->NotifyIcon->dwInfoFlags = flag;
2471                  strncpy_s(cv->NotifyIcon->szInfoTitle, sizeof(cv->NotifyIcon->szInfoTitle), title, _TRUNCATE);                  strncpy_s(cv->NotifyIcon->szInfoTitle, sizeof(cv->NotifyIcon->szInfoTitle), title, _TRUNCATE);
2472          }          }
2473          else {          else {

Legend:
Removed from v.6662  
changed lines
  Added in v.6664

Back to OSDN">Back to OSDN
ViewVC Help
Powered by ViewVC 1.1.26