Simple
creates two windows: a main window which has nothing drawn to it,
and a smaller window with a border and two diagonal lines. The main
window is the parent of the smaller window.
Click on the following link to download the example: simple.zip
Click: browse to view the example code.
CMainWindow
: An empty window. Just draws itself.
CSmallWindow
: A small window which draws itself with a square border around the
edges of the window, and two diagonal lines between the corners.
CExampleWsClient
: Derived from CWsClient
. Owns the CMainWindow
and the CSmallWindow
. Processes key and pointer
events.