ISolpackApp::WindowWidth Property
Retrieves the width of the available window space, in pixels.
Syntax:
HRESULT get_WindowWidth(
long *p
);
Parameters:
- p
- Address of a long integer variable that receives the width, in pixels.
Return Value:
Returns S_OK if successful, or an error value otherwise.
Remarks:
The available window space is the size of the client window in which the game is laid out. Games may wish to center
piles or spread them out depending on window size.
When the window size changes, Solpack will call the game's
ISolpackGame::RecalcLayout method.
|