Commit before breaking everything
[matches/honours.git] / research / transmission_spectroscopy / TOF / Win32++ / samples / Scribble / Readme.txt
diff --git a/research/transmission_spectroscopy/TOF/Win32++/samples/Scribble/Readme.txt b/research/transmission_spectroscopy/TOF/Win32++/samples/Scribble/Readme.txt
new file mode 100644 (file)
index 0000000..48fdc43
--- /dev/null
@@ -0,0 +1,39 @@
+Scribble Example\r
+================\r
+This project demonstrates how to use messages from the mouse to draw on a \r
+device context. This provides a convenient way to demonstrate how process\r
+window messages in WndProc.\r
+\r
+When the user draws on the window with the mouse, the lines drawn are saved\r
+in a vector. Information stored in the vector is used to repaint the screen as \r
+required. This information can also be saved to and loaded from a file.\r
+\r
+The scribble example is also the final product of the set of tutorials provided\r
+with Win32++.\r
+\r
+\r
+Features demonstrated in this example\r
+=====================================\r
+* Use of CFrame to display the window frame\r
+* Toolbar configuration\r
+* Enabling/Disabling various frame features in OnCreate, namely:\r
+   - show/hide toolbar and menu status in the status bar.\r
+   - show/hide indicators in the status bar.\r
+   - Use/don't use a rebar in the frame.\r
+   - Use/don't use themes.\r
+   - Use/don't use a toolbar in the frame.\r
+* Setting the view window of the frame.\r
+* Responding to toolbar and menu commands in OnCommand\r
+* Responding to notifications in OnNotify.\r
+* Capturing mouse input.\r
+* Using a vector to store data.\r
+* Loading and saving data to a file.\r
+* Printing the content of a window.\r
+* Responding to frame window messages in CFrame::WndProc\r
+* Responding to view window messages in CView::WndProc\r
+* Using the TRACE command to ouput debug text.\r
+* Saving the frame settings in the registry.\r
+* Implementing a Most Recently Used (MRU) list in the file menu.\r
+* Using the CDC class to work with device contexts.\r
+* Using double buffering to speed up drawing to a device context.\r
+\r

UCC git Repository :: git.ucc.asn.au