-const char w32taskbar_rcs[] = "$Id: w32taskbar.c,v 1.10 2006/09/23 13:26:38 roro Exp $";
+const char w32taskbar_rcs[] = "$Id: w32taskbar.c,v 1.13 2012/03/09 16:23:50 fabiankeil Exp $";
/*********************************************************************
*
* File : $Source: /cvsroot/ijbswa/current/w32taskbar.c,v $
* Written by and Copyright (C) 1999 Adam Lock
* <locka@iol.ie>
*
- * This program is free software; you can redistribute it
+ * This program is free software; you can redistribute it
* and/or modify it under the terms of the GNU General
* Public License as published by the Free Software
* Foundation; either version 2 of the License, or (at
g_hwndTrayX = CreateWindow(szWndName, szWndName,
WS_OVERLAPPEDWINDOW, CW_USEDEFAULT, CW_USEDEFAULT, CW_USEDEFAULT,
- CW_USEDEFAULT, NULL, NULL, hInstance, NULL );
+ CW_USEDEFAULT, NULL, NULL, hInstance, NULL);
ShowWindow(g_hwndTrayX, SW_HIDE);
UpdateWindow(g_hwndTrayX);
nid.uCallbackMessage = 0;
nid.hIcon = hicon;
- return( Shell_NotifyIcon(NIM_MODIFY, &nid) );
+ return(Shell_NotifyIcon(NIM_MODIFY, &nid));
}
strcpy(nid.szTip, pszToolTip);
}
- return( Shell_NotifyIcon(NIM_ADD, &nid) );
+ return(Shell_NotifyIcon(NIM_ADD, &nid));
}
nid.hWnd = hwnd;
nid.uID = uID;
- return( Shell_NotifyIcon(NIM_DELETE, &nid) );
+ return(Shell_NotifyIcon(NIM_DELETE, &nid));
}
GetCursorPos(&pt);
SetForegroundWindow(g_hwndLogFrame);
TrackPopupMenu(hmenu, TPM_LEFTALIGN | TPM_TOPALIGN, pt.x, pt.y, 0, g_hwndLogFrame, NULL);
- PostMessage(g_hwndLogFrame, WM_NULL, 0, 0 ) ;
+ PostMessage(g_hwndLogFrame, WM_NULL, 0, 0);
}
else if (uMouseMsg == WM_LBUTTONDBLCLK)
{