Mercurial > dwindows
comparison template/dw.c @ 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 | d81bebc5c8cc |
children | 1ec6300a627b |
comparison
equal
deleted
inserted
replaced
1796:7f549994b633 | 1797:2b30ff777eee |
---|---|
2543 void API dw_window_set_style(HWND handle, ULONG style, ULONG mask) | 2543 void API dw_window_set_style(HWND handle, ULONG style, ULONG mask) |
2544 { | 2544 { |
2545 } | 2545 } |
2546 | 2546 |
2547 /* | 2547 /* |
2548 * Sets the current focus item for a window/dialog. | |
2549 * Parameters: | |
2550 * handle: Handle to the dialog item to be focused. | |
2551 * Remarks: | |
2552 * This is for use after showing the window/dialog. | |
2553 */ | |
2554 void API dw_window_set_focus(HWND handle) | |
2555 { | |
2556 } | |
2557 | |
2558 /* | |
2548 * Sets the default focus item for a window/dialog. | 2559 * Sets the default focus item for a window/dialog. |
2549 * Parameters: | 2560 * Parameters: |
2550 * window: Toplevel window or dialog. | 2561 * window: Toplevel window or dialog. |
2551 * defaultitem: Handle to the dialog item to be default. | 2562 * defaultitem: Handle to the dialog item to be default. |
2563 * Remarks: | |
2564 * This is for use before showing the window/dialog. | |
2552 */ | 2565 */ |
2553 void API dw_window_default(HWND handle, HWND defaultitem) | 2566 void API dw_window_default(HWND handle, HWND defaultitem) |
2554 { | 2567 { |
2555 } | 2568 } |
2556 | 2569 |