Merge branch 'master' of git.ucc.asn.au:/matches/honours
[matches/honours.git] / research / transmission_spectroscopy / TOF / Win32++ / samples / Scribble / Readme.txt
1 Scribble Example\r
2 ================\r
3 This project demonstrates how to use messages from the mouse to draw on a \r
4 device context. This provides a convenient way to demonstrate how process\r
5 window messages in WndProc.\r
6 \r
7 When the user draws on the window with the mouse, the lines drawn are saved\r
8 in a vector. Information stored in the vector is used to repaint the screen as \r
9 required. This information can also be saved to and loaded from a file.\r
10 \r
11 The scribble example is also the final product of the set of tutorials provided\r
12 with Win32++.\r
13 \r
14 \r
15 Features demonstrated in this example\r
16 =====================================\r
17 * Use of CFrame to display the window frame\r
18 * Toolbar configuration\r
19 * Enabling/Disabling various frame features in OnCreate, namely:\r
20    - show/hide toolbar and menu status in the status bar.\r
21    - show/hide indicators in the status bar.\r
22    - Use/don't use a rebar in the frame.\r
23    - Use/don't use themes.\r
24    - Use/don't use a toolbar in the frame.\r
25 * Setting the view window of the frame.\r
26 * Responding to toolbar and menu commands in OnCommand\r
27 * Responding to notifications in OnNotify.\r
28 * Capturing mouse input.\r
29 * Using a vector to store data.\r
30 * Loading and saving data to a file.\r
31 * Printing the content of a window.\r
32 * Responding to frame window messages in CFrame::WndProc\r
33 * Responding to view window messages in CView::WndProc\r
34 * Using the TRACE command to ouput debug text.\r
35 * Saving the frame settings in the registry.\r
36 * Implementing a Most Recently Used (MRU) list in the file menu.\r
37 * Using the CDC class to work with device contexts.\r
38 * Using double buffering to speed up drawing to a device context.\r
39 \r

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