Mercurial > dwindows
comparison win/dw.c @ 1679:e19b93a8229b
More comment cleanups.
author | bsmith@81767d24-ef19-dc11-ae90-00e081727c95 |
---|---|
date | Fri, 27 Apr 2012 16:02:32 +0000 |
parents | db393069b27d |
children | b09f5f73189c |
comparison
equal
deleted
inserted
replaced
1678:896f377a47c7 | 1679:e19b93a8229b |
---|---|
6973 } | 6973 } |
6974 | 6974 |
6975 /* | 6975 /* |
6976 * Remove windows (widgets) from the box they are packed into. | 6976 * Remove windows (widgets) from the box they are packed into. |
6977 * Parameters: | 6977 * Parameters: |
6978 * handle: Window handle of the item to be back. | 6978 * handle: Window handle of the packed item to be removed. |
6979 * Returns: | 6979 * Returns: |
6980 * DW_ERROR_NONE on success and DW_ERROR_GENERAL on failure. | 6980 * DW_ERROR_NONE on success and DW_ERROR_GENERAL on failure. |
6981 */ | 6981 */ |
6982 int API dw_box_remove(HWND handle) | 6982 int API dw_box_remove(HWND handle) |
6983 { | 6983 { |
7032 * Remove windows (widgets) from a box at an arbitrary location. | 7032 * Remove windows (widgets) from a box at an arbitrary location. |
7033 * Parameters: | 7033 * Parameters: |
7034 * box: Window handle of the box to be removed from. | 7034 * box: Window handle of the box to be removed from. |
7035 * index: 0 based index of packed items. | 7035 * index: 0 based index of packed items. |
7036 * Returns: | 7036 * Returns: |
7037 * Handle to the removed item on success, 0 on failure. | 7037 * Handle to the removed item on success, 0 on failure or padding. |
7038 */ | 7038 */ |
7039 HWND API dw_box_remove_at_index(HWND box, int index) | 7039 HWND API dw_box_remove_at_index(HWND box, int index) |
7040 { | 7040 { |
7041 Box *thisbox = (Box *)GetWindowLongPtr(box, GWLP_USERDATA); | 7041 Box *thisbox = (Box *)GetWindowLongPtr(box, GWLP_USERDATA); |
7042 | 7042 |