Home
   Home  |  Preliminary Docs  |  Design Diagrams  |  Reference  |  Development Docs  |  Download  |  Source Code  |  Final Reports  |
ISolpackGame::RecalcLayout Method

Informs the game that an engine property, such as card or window dimensions, has changed.

Syntax:

HRESULT RecalcLayout();

Return Value:

Returns S_OK if successful, or an error value otherwise.

Remarks:

Games should position piles based on ISolpackApp properties such as CardWidth, WindowWidth, and SpacingX. If one of these properties changes, this method is called; the game should reposition piles as necessary based on the new property values.

  February 24, 2002 jmhoersc@mtu.edu