Mercurial > dwindows
comparison os2/dw.c @ 1679:e19b93a8229b
More comment cleanups.
author | bsmith@81767d24-ef19-dc11-ae90-00e081727c95 |
---|---|
date | Fri, 27 Apr 2012 16:02:32 +0000 |
parents | 896f377a47c7 |
children | b09f5f73189c |
comparison
equal
deleted
inserted
replaced
1678:896f377a47c7 | 1679:e19b93a8229b |
---|---|
7197 } | 7197 } |
7198 | 7198 |
7199 /* | 7199 /* |
7200 * Remove windows (widgets) from the box they are packed into. | 7200 * Remove windows (widgets) from the box they are packed into. |
7201 * Parameters: | 7201 * Parameters: |
7202 * handle: Window handle of the item to be back. | 7202 * handle: Window handle of the packed item to be removed. |
7203 * Returns: | 7203 * Returns: |
7204 * DW_ERROR_NONE on success and DW_ERROR_GENERAL on failure. | 7204 * DW_ERROR_NONE on success and DW_ERROR_GENERAL on failure. |
7205 */ | 7205 */ |
7206 int API dw_box_remove(HWND handle) | 7206 int API dw_box_remove(HWND handle) |
7207 { | 7207 { |
7258 * Remove windows (widgets) from a box at an arbitrary location. | 7258 * Remove windows (widgets) from a box at an arbitrary location. |
7259 * Parameters: | 7259 * Parameters: |
7260 * box: Window handle of the box to be removed from. | 7260 * box: Window handle of the box to be removed from. |
7261 * index: 0 based index of packed items. | 7261 * index: 0 based index of packed items. |
7262 * Returns: | 7262 * Returns: |
7263 * Handle to the removed item on success, 0 on failure. | 7263 * Handle to the removed item on success, 0 on failure or padding. |
7264 */ | 7264 */ |
7265 HWND API dw_box_remove_at_index(HWND box, int index) | 7265 HWND API dw_box_remove_at_index(HWND box, int index) |
7266 { | 7266 { |
7267 Box *thisbox = WinQueryWindowPtr(box, QWP_USER); | 7267 Box *thisbox = WinQueryWindowPtr(box, QWP_USER); |
7268 | 7268 |