Platform SDK: DirectX

Whiteboard Sample

[C++]

This topic pertains only to application development in Visual Basic. See DirectPlay C++ Samples.

[Visual Basic]

Description

The Whiteboard sample is a non-lobbied chat application that allows users to work together on a sketch board as well as exchanging text messages.

Path

Source: (SDK root)\Samples\Multimedia\VBSamples\DPlay\Src\Whiteboard

Executable: (SDK root)\Samples\Multimedia\VBSamples\DPlay\Bin\Whiteboard.exe

User's Guide

One user must start a session by choosing Create Host from the Sessions menu. This session then becomes available for other players to join.

Send messages by typing in the text box at the bottom of the screen and clicking Send. Draw in the whiteboard area by dragging with the mouse. Erase by clicking Clear.

Programming Notes

Messages are retrieved in response to a timer event.