Platform SDK: DirectX |
This topic pertains only to application development in Visual Basic. See DirectPlay C++ Samples.
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.
Source: (SDK root)\Samples\Multimedia\VBSamples\DPlay\Src\Whiteboard
Executable: (SDK root)\Samples\Multimedia\VBSamples\DPlay\Bin\Whiteboard.exe
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.
Messages are retrieved in response to a timer event.