|
||
BOOLEAN engine_set_frame_window( HWND user_frame_window )
HWND user_frame_window; // A handle to a Win32 window
|
|
|||
Synopsis |
#include "silvere.h"
The engine_set_frame_window function establishes the main application window for SilverEngine. |
|
||
Parameters |
user_frame_window is a handle to a Win32 window that is the main application window.
|
|
||
Return Value |
engine_set_frame_window returns TRUE if successful and FALSE otherwise.
|
|
||
Remarks |
The interactive routines in SilverEngine must have a handle to the main window for proper message routing, and to use as a parent window for any dialogs.
|
|
||
See Also |
|
|
||
Example |
For a complete example see the SilverEngine, EngineShell sample. The following code is a typical use of engine_set_frame_window from within an MFC application's InitInstance routine:
|
|