Home
   Home  |  Preliminary Docs  |  Design Diagrams  |  Reference  |  Development Docs  |  Download  |  Source Code  |  Final Reports  |
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.

  February 24, 2002 jmhoersc@mtu.edu