X-Git-Url: https://git.ucc.asn.au/?p=matches%2Fhonours.git;a=blobdiff_plain;f=research%2Ftransmission_spectroscopy%2FTOF%2FWin32%2B%2B%2Fsamples%2FMDIFrameDemo%2FReadme.txt;fp=research%2Ftransmission_spectroscopy%2FTOF%2FWin32%2B%2B%2Fsamples%2FMDIFrameDemo%2FReadme.txt;h=12eaecc801531ff70f9b746fe45d2f0176b2bad6;hp=0000000000000000000000000000000000000000;hb=70a96cca12cb006506461d26cd112bab179fe74c;hpb=8caf60af39689a3546074f0c68d14c3a2e28191e diff --git a/research/transmission_spectroscopy/TOF/Win32++/samples/MDIFrameDemo/Readme.txt b/research/transmission_spectroscopy/TOF/Win32++/samples/MDIFrameDemo/Readme.txt new file mode 100644 index 00000000..12eaecc8 --- /dev/null +++ b/research/transmission_spectroscopy/TOF/Win32++/samples/MDIFrameDemo/Readme.txt @@ -0,0 +1,45 @@ +MDIFrameDemo Example +==================== +This project demonstrates the use of the CMDIFrame class to display a MDI frame +window. MDI (Multiple Document Interface) frames allow different types of view +windows to be displayed simultaneously. The more common SDI (Single Document +Interface) frames only display a single view. + +In this project we have the following different types of MDI children available: + - A simple view window which displays some text + - A window which will be initally displayed as maximised + - A window displaying rectangles drawn on the device context + - A RichText view window + - A ListView view window + - A Treeview view window + +Classes titled CMDIChildXXXX are inherited from CMDIChildr. Classes titled +CViewXXXX are the various view windows inherited from CWnd. + + +Features demonstrated in this example +===================================== +* Use of CMDIFrame and CMDIChild classes to implement a MDI frame +* Enabling/Disabling various frame features in OnCreate, namely: + - show/hide toolbar and menu status in the status bar. + - show/hide indicators in the status bar. + - Use/don't use a rebar in the frame. + - Use/don't use themes. + - Use/don't use a toolbar in the frame. +* Setting the MDI Frame's toolbar. +* Setting the view window for the CMDIChid. +* Setting the seperate menu for the CMDIChild. +* Reponding to the MDI specific commands in CMDIFrame::OnCommand +* Using several different types of MDI children + - Each MDI child type has a different menu and icon + - Each MDI child type has a differnet view window +* Handling a MDI child's OnClose to provide an opportunity to save data before + the MDI child's window is closed. + + + + + + + +