Mercurial > dwindows
comparison template/dw.c @ 1371:896347a9be19
Initial versions of dw_menu_delete_item() on OS/2 and Windows.
author | bsmith@81767d24-ef19-dc11-ae90-00e081727c95 |
---|---|
date | Tue, 22 Nov 2011 20:46:37 +0000 |
parents | dbd507f42947 |
children | 156e32814c83 |
comparison
equal
deleted
inserted
replaced
1370:e705051d841c | 1371:896347a9be19 |
---|---|
2413 void API dw_menu_destroy(HMENUI *menu) | 2413 void API dw_menu_destroy(HMENUI *menu) |
2414 { | 2414 { |
2415 } | 2415 } |
2416 | 2416 |
2417 /* | 2417 /* |
2418 * Deletes the menu item specified. | |
2419 * Parameters: | |
2420 * menu: The handle to the menu in which the item was appended. | |
2421 * id: Menuitem id. | |
2422 * Returns: | |
2423 * DW_ERROR_NONE (0) on success or DW_ERROR_UNKNOWN on failure. | |
2424 */ | |
2425 int API dw_menu_delete_item(HMENUI menux, unsigned long id) | |
2426 { | |
2427 return DW_ERROR_UNKNOWN; | |
2428 } | |
2429 | |
2430 /* | |
2418 * Pops up a context menu at given x and y coordinates. | 2431 * Pops up a context menu at given x and y coordinates. |
2419 * Parameters: | 2432 * Parameters: |
2420 * menu: The handle the the existing menu. | 2433 * menu: The handle the the existing menu. |
2421 * parent: Handle to the window initiating the popup. | 2434 * parent: Handle to the window initiating the popup. |
2422 * x: X coordinate. | 2435 * x: X coordinate. |