ISolpackApp::CardWidth Property
Retrieves the width of a card, in pixels.
Syntax:
HRESULT get_CardWidth(
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 default Solitaire Pack card is 71 pixels wide. Game objects should retrieve this value to determine what size card
Solitaire Pack is using, in order to determine pile layout.
If the user changes the card set to different-sized cards, Solpack will call the game's
ISolpackGame::RecalcLayout method.
|