Mercurial > dwindows
comparison os2/dw.c @ 487:d6e07d292145
Implemented taskbar icons on windows, so I can keep feature for feature
with InJoy Firewall.
author | bsmith@81767d24-ef19-dc11-ae90-00e081727c95 |
---|---|
date | Sat, 08 Nov 2003 15:30:19 +0000 |
parents | 469ff8133ed3 |
children | bc156294dd16 |
comparison
equal
deleted
inserted
replaced
486:3bc712d2c362 | 487:d6e07d292145 |
---|---|
6941 WinSendMsg(handle, CM_SETCNRINFO, MPFROMP(&cnri), MPFROMLONG(CMA_XVERTSPLITBAR)); | 6941 WinSendMsg(handle, CM_SETCNRINFO, MPFROMP(&cnri), MPFROMLONG(CMA_XVERTSPLITBAR)); |
6942 } | 6942 } |
6943 } | 6943 } |
6944 | 6944 |
6945 /* | 6945 /* |
6946 * Inserts an icon into the taskbar. | |
6947 * Parameters: | |
6948 * handle: Window handle that will handle taskbar icon messages. | |
6949 * icon: Icon handle to display in the taskbar. | |
6950 * bubbletext: Text to show when the mouse is above the icon. | |
6951 */ | |
6952 void dw_taskbar_insert(HWND handle, unsigned long icon, char *bubbletext) | |
6953 { | |
6954 /* TODO */ | |
6955 } | |
6956 | |
6957 /* | |
6958 * Deletes an icon from the taskbar. | |
6959 * Parameters: | |
6960 * handle: Window handle that was used with dw_taskbar_insert(). | |
6961 * icon: Icon handle that was used with dw_taskbar_insert(). | |
6962 */ | |
6963 void dw_taskbar_delete(HWND handle, unsigned long icon) | |
6964 { | |
6965 /* TODO */ | |
6966 } | |
6967 | |
6968 /* | |
6946 * Creates a rendering context widget (window) to be packed. | 6969 * Creates a rendering context widget (window) to be packed. |
6947 * Parameters: | 6970 * Parameters: |
6948 * id: An id to be used with dw_window_from_id. | 6971 * id: An id to be used with dw_window_from_id. |
6949 * Returns: | 6972 * Returns: |
6950 * A handle to the widget or NULL on failure. | 6973 * A handle to the widget or NULL on failure. |