Mercurial > dwindows
changeset 1797:2b30ff777eee
Added dw_window_set_focus() to the template source file.
author | bsmith@81767d24-ef19-dc11-ae90-00e081727c95 |
---|---|
date | Tue, 25 Sep 2012 17:15:42 +0000 |
parents | 7f549994b633 |
children | 9fb8339ae458 |
files | template/dw.c |
diffstat | 1 files changed, 13 insertions(+), 0 deletions(-) [+] |
line wrap: on
line diff
--- a/template/dw.c Tue Sep 25 03:06:45 2012 +0000 +++ b/template/dw.c Tue Sep 25 17:15:42 2012 +0000 @@ -2545,10 +2545,23 @@ } /* + * Sets the current focus item for a window/dialog. + * Parameters: + * handle: Handle to the dialog item to be focused. + * Remarks: + * This is for use after showing the window/dialog. + */ +void API dw_window_set_focus(HWND handle) +{ +} + +/* * Sets the default focus item for a window/dialog. * Parameters: * window: Toplevel window or dialog. * defaultitem: Handle to the dialog item to be default. + * Remarks: + * This is for use before showing the window/dialog. */ void API dw_window_default(HWND handle, HWND defaultitem) {