X-Git-Url: https://git.ucc.asn.au/?p=matches%2Fhonours.git;a=blobdiff_plain;f=research%2Ftransmission_spectroscopy%2FTOF%2FWin32%2B%2B%2Fsamples%2FFrame%2FReadme.txt;fp=research%2Ftransmission_spectroscopy%2FTOF%2FWin32%2B%2B%2Fsamples%2FFrame%2FReadme.txt;h=fa91b3d1a33003cc3367593db9761dde6b66a0b5;hp=0000000000000000000000000000000000000000;hb=70a96cca12cb006506461d26cd112bab179fe74c;hpb=8caf60af39689a3546074f0c68d14c3a2e28191e diff --git a/research/transmission_spectroscopy/TOF/Win32++/samples/Frame/Readme.txt b/research/transmission_spectroscopy/TOF/Win32++/samples/Frame/Readme.txt new file mode 100644 index 00000000..fa91b3d1 --- /dev/null +++ b/research/transmission_spectroscopy/TOF/Win32++/samples/Frame/Readme.txt @@ -0,0 +1,46 @@ +Frame Example +============= +This project demonstrates the use of the CFrame class to display a frame +window. A frame uses a seperate view window which is displayed over its +client area. + +CFrame provides a set of features including: +- a toolbar +- a Menubar +- a rebar to hold the frame's toolbar and menubar +- a statusbar, displaying toolbar/menubar status and indicators +- support for a seperate view window +- tooltips for toolbars +- themes support to set colours for the rebar, menubar and toolbar +- Most Recently Used (MRU) list support +- The ability to save its settings in the registry + + +This is a very simple project which could be used as a starting point for your +own frame based applications. + + +Features demonstrated in this example +===================================== +* Use of CFrame to display the window frame +* Toolbar configuration +* 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 view window of the frame. +* Responding to toolbar and menu commands in OnCommand +* Responding to notifications in OnNotify. +* Use of OpenFile and print dialogs. +* Responding to frame window messages in CFrame::WndProc +* Responding to view window messages in CView::WndProc +* Using the TRACE command to ouput debug text +* Saving the frame settings in the registry + + + + + +