Click here to Skip to main content
15,886,258 members
Articles / Desktop Programming / MFC

A Property Sheet in a Docking Toolbar

Rate me:
Please Sign up or sign in to vote.
4.06/5 (7 votes)
26 Nov 2004CPOL3 min read 69.2K   2.1K   34  
Explains how to put a CPropertySheet into a CControlBar.
<?xml version="1.0" encoding="Windows-1252"?>
<VisualStudioProject
	ProjectType="Visual C++"
	Version="7.10"
	Name="tab_dlg_bar"
	ProjectGUID="{C7A33E67-9A14-4792-8EF2-232905EF3D96}"
	Keyword="MFCProj">
	<Platforms>
		<Platform
			Name="Win32"/>
	</Platforms>
	<Configurations>
		<Configuration
			Name="Debug|Win32"
			OutputDirectory="Debug"
			IntermediateDirectory="Debug"
			ConfigurationType="1"
			UseOfMFC="2"
			CharacterSet="2">
			<Tool
				Name="VCCLCompilerTool"
				Optimization="0"
				PreprocessorDefinitions="WIN32;_WINDOWS;_DEBUG"
				MinimalRebuild="TRUE"
				BasicRuntimeChecks="3"
				RuntimeLibrary="3"
				TreatWChar_tAsBuiltInType="TRUE"
				UsePrecompiledHeader="3"
				WarningLevel="3"
				Detect64BitPortabilityProblems="TRUE"
				DebugInformationFormat="4"/>
			<Tool
				Name="VCCustomBuildTool"/>
			<Tool
				Name="VCLinkerTool"
				LinkIncremental="2"
				GenerateDebugInformation="TRUE"
				SubSystem="2"
				TargetMachine="1"/>
			<Tool
				Name="VCMIDLTool"
				PreprocessorDefinitions="_DEBUG"
				MkTypLibCompatible="FALSE"/>
			<Tool
				Name="VCPostBuildEventTool"/>
			<Tool
				Name="VCPreBuildEventTool"/>
			<Tool
				Name="VCPreLinkEventTool"/>
			<Tool
				Name="VCResourceCompilerTool"
				PreprocessorDefinitions="_DEBUG"
				Culture="1033"
				AdditionalIncludeDirectories="$(IntDir)"/>
			<Tool
				Name="VCWebServiceProxyGeneratorTool"/>
			<Tool
				Name="VCXMLDataGeneratorTool"/>
			<Tool
				Name="VCWebDeploymentTool"/>
			<Tool
				Name="VCManagedWrapperGeneratorTool"/>
			<Tool
				Name="VCAuxiliaryManagedWrapperGeneratorTool"/>
		</Configuration>
		<Configuration
			Name="Release|Win32"
			OutputDirectory="Release"
			IntermediateDirectory="Release"
			ConfigurationType="1"
			UseOfMFC="2"
			CharacterSet="2">
			<Tool
				Name="VCCLCompilerTool"
				PreprocessorDefinitions="WIN32;_WINDOWS;NDEBUG"
				MinimalRebuild="FALSE"
				RuntimeLibrary="2"
				TreatWChar_tAsBuiltInType="TRUE"
				UsePrecompiledHeader="3"
				WarningLevel="3"
				Detect64BitPortabilityProblems="TRUE"
				DebugInformationFormat="3"/>
			<Tool
				Name="VCCustomBuildTool"/>
			<Tool
				Name="VCLinkerTool"
				LinkIncremental="1"
				GenerateDebugInformation="TRUE"
				SubSystem="2"
				OptimizeReferences="2"
				EnableCOMDATFolding="2"
				TargetMachine="1"/>
			<Tool
				Name="VCMIDLTool"
				PreprocessorDefinitions="NDEBUG"
				MkTypLibCompatible="FALSE"/>
			<Tool
				Name="VCPostBuildEventTool"/>
			<Tool
				Name="VCPreBuildEventTool"/>
			<Tool
				Name="VCPreLinkEventTool"/>
			<Tool
				Name="VCResourceCompilerTool"
				PreprocessorDefinitions="NDEBUG"
				Culture="1033"
				AdditionalIncludeDirectories="$(IntDir)"/>
			<Tool
				Name="VCWebServiceProxyGeneratorTool"/>
			<Tool
				Name="VCXMLDataGeneratorTool"/>
			<Tool
				Name="VCWebDeploymentTool"/>
			<Tool
				Name="VCManagedWrapperGeneratorTool"/>
			<Tool
				Name="VCAuxiliaryManagedWrapperGeneratorTool"/>
		</Configuration>
	</Configurations>
	<References>
	</References>
	<Files>
		<Filter
			Name="Source Files"
			Filter="cpp;c;cxx;def;odl;idl;hpj;bat;asm;asmx"
			UniqueIdentifier="{4FC737F1-C7A5-4376-A066-2A32D752A2FF}">
			<File
				RelativePath=".\ChildFrm.cpp">
			</File>
			<File
				RelativePath=".\MainFrm.cpp">
			</File>
			<File
				RelativePath=".\Page1.cpp">
			</File>
			<File
				RelativePath=".\Page2.cpp">
			</File>
			<File
				RelativePath=".\Page3.cpp">
			</File>
			<File
				RelativePath=".\PropSheetBar.cpp">
			</File>
			<File
				RelativePath=".\ShrinkingPropSheet.cpp">
			</File>
			<File
				RelativePath=".\stdafx.cpp">
				<FileConfiguration
					Name="Debug|Win32">
					<Tool
						Name="VCCLCompilerTool"
						UsePrecompiledHeader="1"/>
				</FileConfiguration>
				<FileConfiguration
					Name="Release|Win32">
					<Tool
						Name="VCCLCompilerTool"
						UsePrecompiledHeader="1"/>
				</FileConfiguration>
			</File>
			<File
				RelativePath=".\tab_dlg_bar.cpp">
			</File>
			<File
				RelativePath=".\tab_dlg_barDoc.cpp">
			</File>
			<File
				RelativePath=".\tab_dlg_barView.cpp">
			</File>
		</Filter>
		<Filter
			Name="Header Files"
			Filter="h;hpp;hxx;hm;inl;inc;xsd"
			UniqueIdentifier="{93995380-89BD-4b04-88EB-625FBE52EBFB}">
			<File
				RelativePath=".\ChildFrm.h">
			</File>
			<File
				RelativePath=".\MainFrm.h">
			</File>
			<File
				RelativePath=".\Page1.h">
			</File>
			<File
				RelativePath=".\Page2.h">
			</File>
			<File
				RelativePath=".\Page3.h">
			</File>
			<File
				RelativePath=".\PropSheetBar.h">
			</File>
			<File
				RelativePath=".\Resource.h">
				<FileConfiguration
					Name="Debug|Win32">
					<Tool
						Name="VCCustomBuildTool"
						Description="Generating map file for help compiler..."
						CommandLine="echo // Generated Help Map file.  Used by tab_dlg_bar.HHP. &gt; &quot;hlp\HTMLDefines.h&quot;
echo. &gt; &quot;hlp\HTMLDefines.h&quot;
echo // Commands (ID_* and IDM_*) &gt;&gt; &quot;hlp\HTMLDefines.h&quot;
makehm /h ID_,HID_,0x10000 IDM_,HIDM_,0x10000 &quot;$(InputFileName)&quot; &gt;&gt; &quot;hlp\HTMLDefines.h&quot;
echo. &gt;&gt; &quot;hlp\HTMLDefines.h&quot;
echo // Prompts (IDP_*) &gt;&gt; &quot;hlp\HTMLDefines.h&quot;
makehm /h IDP_,HIDP_,0x30000 &quot;$(InputFileName)&quot; &gt;&gt; &quot;hlp\HTMLDefines.h&quot;
echo. &gt;&gt; &quot;hlp\HTMLDefines.h&quot;
echo // Resources (IDR_*) &gt;&gt; &quot;hlp\HTMLDefines.h&quot;
makehm /h IDR_,HIDR_,0x20000 &quot;$(InputFileName)&quot; &gt;&gt; &quot;hlp\HTMLDefines.h&quot;
echo. &gt;&gt; &quot;hlp\HTMLDefines.h&quot;
echo // Dialogs (IDD_*) &gt;&gt; &quot;hlp\HTMLDefines.h&quot;
makehm /h IDD_,HIDD_,0x20000 &quot;$(InputFileName)&quot; &gt;&gt; &quot;hlp\HTMLDefines.h&quot;
echo. &gt;&gt; &quot;hlp\HTMLDefines.h&quot;
echo // Frame Controls (IDW_*) &gt;&gt; &quot;hlp\HTMLDefines.h&quot;
makehm /h /a afxhh.h IDW_,HIDW_,0x50000 &quot;$(InputFileName)&quot; &gt;&gt; &quot;hlp\HTMLDefines.h&quot;
"
						Outputs="hlp\HTMLDefines.h"/>
				</FileConfiguration>
				<FileConfiguration
					Name="Release|Win32">
					<Tool
						Name="VCCustomBuildTool"
						Description="Generating map file for help compiler..."
						CommandLine="echo // Generated Help Map file.  Used by tab_dlg_bar.HHP. &gt; &quot;hlp\HTMLDefines.h&quot;
echo. &gt; &quot;hlp\HTMLDefines.h&quot;
echo // Commands (ID_* and IDM_*) &gt;&gt; &quot;hlp\HTMLDefines.h&quot;
makehm /h ID_,HID_,0x10000 IDM_,HIDM_,0x10000 &quot;$(InputFileName)&quot; &gt;&gt; &quot;hlp\HTMLDefines.h&quot;
echo. &gt;&gt; &quot;hlp\HTMLDefines.h&quot;
echo // Prompts (IDP_*) &gt;&gt; &quot;hlp\HTMLDefines.h&quot;
makehm /h IDP_,HIDP_,0x30000 &quot;$(InputFileName)&quot; &gt;&gt; &quot;hlp\HTMLDefines.h&quot;
echo. &gt;&gt; &quot;hlp\HTMLDefines.h&quot;
echo // Resources (IDR_*) &gt;&gt; &quot;hlp\HTMLDefines.h&quot;
makehm /h IDR_,HIDR_,0x20000 &quot;$(InputFileName)&quot; &gt;&gt; &quot;hlp\HTMLDefines.h&quot;
echo. &gt;&gt; &quot;hlp\HTMLDefines.h&quot;
echo // Dialogs (IDD_*) &gt;&gt; &quot;hlp\HTMLDefines.h&quot;
makehm /h IDD_,HIDD_,0x20000 &quot;$(InputFileName)&quot; &gt;&gt; &quot;hlp\HTMLDefines.h&quot;
echo. &gt;&gt; &quot;hlp\HTMLDefines.h&quot;
echo // Frame Controls (IDW_*) &gt;&gt; &quot;hlp\HTMLDefines.h&quot;
makehm /h /a afxhh.h IDW_,HIDW_,0x50000 &quot;$(InputFileName)&quot; &gt;&gt; &quot;hlp\HTMLDefines.h&quot;
"
						Outputs="hlp\HTMLDefines.h"/>
				</FileConfiguration>
			</File>
			<File
				RelativePath=".\ShrinkingPropSheet.h">
			</File>
			<File
				RelativePath=".\stdafx.h">
			</File>
			<File
				RelativePath=".\tab_dlg_bar.h">
			</File>
			<File
				RelativePath=".\tab_dlg_barDoc.h">
			</File>
			<File
				RelativePath=".\tab_dlg_barView.h">
			</File>
		</Filter>
		<Filter
			Name="Resource Files"
			Filter="rc;ico;cur;bmp;dlg;rc2;rct;bin;rgs;gif;jpg;jpeg;jpe;resx"
			UniqueIdentifier="{67DA6AB6-F800-4c08-8B7A-83BB121AAD01}">
			<File
				RelativePath=".\hlp\Images\Bullet.gif">
			</File>
			<File
				RelativePath=".\res\tab_dlg_bar.ico">
			</File>
			<File
				RelativePath=".\tab_dlg_bar.rc">
			</File>
			<File
				RelativePath=".\res\tab_dlg_bar.rc2">
			</File>
			<File
				RelativePath=".\res\tab_dlg_barDoc.ico">
			</File>
			<File
				RelativePath=".\res\Toolbar.bmp">
			</File>
		</Filter>
		<Filter
			Name="HTML Help Files"
			Filter="hhp;hhc;hhk;gif;jpg">
			<File
				RelativePath=".\hlp\tab_dlg_bar.hhc">
			</File>
			<File
				RelativePath=".\hlp\tab_dlg_bar.hhk">
			</File>
			<File
				RelativePath=".\hlp\tab_dlg_bar.hhp">
				<FileConfiguration
					Name="Debug|Win32">
					<Tool
						Name="VCCustomBuildTool"
						Description="Making help file..."
						CommandLine="start /wait hhc &quot;hlp\tab_dlg_bar.hhp&quot;
if not exist &quot;hlp\tab_dlg_bar.chm&quot; goto :HelpError
copy &quot;hlp\tab_dlg_bar.chm&quot; &quot;$(OutDir)\tab_dlg_bar.chm&quot;
goto :HelpDone
:HelpError
echo hlp\tab_dlg_bar.hhp(1) : error:Problem encountered creating help file
echo.
:HelpDone
echo.
"
						AdditionalDependencies="hlp\HTMLDefines.h"
						Outputs="$(OutDir)\$(ProjectName).chm"/>
				</FileConfiguration>
				<FileConfiguration
					Name="Release|Win32">
					<Tool
						Name="VCCustomBuildTool"
						Description="Making help file..."
						CommandLine="start /wait hhc &quot;hlp\tab_dlg_bar.hhp&quot;
if not exist &quot;hlp\tab_dlg_bar.chm&quot; goto :HelpError
copy &quot;hlp\tab_dlg_bar.chm&quot; &quot;$(OutDir)\tab_dlg_bar.chm&quot;
goto :HelpDone
:HelpError
echo hlp\tab_dlg_bar.hhp(1) : error:Problem encountered creating help file
echo.
:HelpDone
echo.
"
						AdditionalDependencies="hlp\HTMLDefines.h"
						Outputs="$(OutDir)\$(ProjectName).chm"/>
				</FileConfiguration>
			</File>
		</Filter>
		<Filter
			Name="HTML Help Topics"
			Filter="htm;html">
			<File
				RelativePath=".\hlp\afx_hidd_color.htm"
				DeploymentContent="TRUE">
			</File>
			<File
				RelativePath=".\hlp\afx_hidd_fileopen.htm"
				DeploymentContent="TRUE">
			</File>
			<File
				RelativePath=".\hlp\afx_hidd_filesave.htm"
				DeploymentContent="TRUE">
			</File>
			<File
				RelativePath=".\hlp\afx_hidd_find.htm"
				DeploymentContent="TRUE">
			</File>
			<File
				RelativePath=".\hlp\afx_hidd_font.htm"
				DeploymentContent="TRUE">
			</File>
			<File
				RelativePath=".\hlp\afx_hidd_newtypedlg.htm"
				DeploymentContent="TRUE">
			</File>
			<File
				RelativePath=".\hlp\afx_hidd_print.htm"
				DeploymentContent="TRUE">
			</File>
			<File
				RelativePath=".\hlp\afx_hidd_printdlg.htm"
				DeploymentContent="TRUE">
			</File>
			<File
				RelativePath=".\hlp\afx_hidd_printsetup.htm"
				DeploymentContent="TRUE">
			</File>
			<File
				RelativePath=".\hlp\afx_hidd_replace.htm"
				DeploymentContent="TRUE">
			</File>
			<File
				RelativePath=".\hlp\afx_hidp_default.htm"
				DeploymentContent="TRUE">
			</File>
			<File
				RelativePath=".\hlp\afx_hidw_dockbar_top.htm"
				DeploymentContent="TRUE">
			</File>
			<File
				RelativePath=".\hlp\afx_hidw_preview_bar.htm"
				DeploymentContent="TRUE">
			</File>
			<File
				RelativePath=".\hlp\afx_hidw_status_bar.htm"
				DeploymentContent="TRUE">
			</File>
			<File
				RelativePath=".\hlp\afx_hidw_toolbar.htm"
				DeploymentContent="TRUE">
			</File>
			<File
				RelativePath=".\hlp\hid_app_about.htm"
				DeploymentContent="TRUE">
			</File>
			<File
				RelativePath=".\hlp\hid_app_exit.htm"
				DeploymentContent="TRUE">
			</File>
			<File
				RelativePath=".\hlp\hid_context_help.htm"
				DeploymentContent="TRUE">
			</File>
			<File
				RelativePath=".\hlp\hid_edit_clear.htm"
				DeploymentContent="TRUE">
			</File>
			<File
				RelativePath=".\hlp\hid_edit_clear_all.htm"
				DeploymentContent="TRUE">
			</File>
			<File
				RelativePath=".\hlp\hid_edit_copy.htm"
				DeploymentContent="TRUE">
			</File>
			<File
				RelativePath=".\hlp\hid_edit_cut.htm"
				DeploymentContent="TRUE">
			</File>
			<File
				RelativePath=".\hlp\hid_edit_find.htm"
				DeploymentContent="TRUE">
			</File>
			<File
				RelativePath=".\hlp\hid_edit_paste.htm"
				DeploymentContent="TRUE">
			</File>
			<File
				RelativePath=".\hlp\hid_edit_redo.htm"
				DeploymentContent="TRUE">
			</File>
			<File
				RelativePath=".\hlp\hid_edit_repeat.htm"
				DeploymentContent="TRUE">
			</File>
			<File
				RelativePath=".\hlp\hid_edit_replace.htm"
				DeploymentContent="TRUE">
			</File>
			<File
				RelativePath=".\hlp\hid_edit_undo.htm"
				DeploymentContent="TRUE">
			</File>
			<File
				RelativePath=".\hlp\hid_file_close.htm"
				DeploymentContent="TRUE">
			</File>
			<File
				RelativePath=".\hlp\hid_file_mru_file1.htm"
				DeploymentContent="TRUE">
			</File>
			<File
				RelativePath=".\hlp\hid_file_new.htm"
				DeploymentContent="TRUE">
			</File>
			<File
				RelativePath=".\hlp\hid_file_open.htm"
				DeploymentContent="TRUE">
			</File>
			<File
				RelativePath=".\hlp\hid_file_page_setup.htm"
				DeploymentContent="TRUE">
			</File>
			<File
				RelativePath=".\hlp\hid_file_print.htm"
				DeploymentContent="TRUE">
			</File>
			<File
				RelativePath=".\hlp\hid_file_print_preview.htm"
				DeploymentContent="TRUE">
			</File>
			<File
				RelativePath=".\hlp\hid_file_print_setup.htm"
				DeploymentContent="TRUE">
			</File>
			<File
				RelativePath=".\hlp\hid_file_save.htm"
				DeploymentContent="TRUE">
			</File>
			<File
				RelativePath=".\hlp\hid_file_save_as.htm"
				DeploymentContent="TRUE">
			</File>
			<File
				RelativePath=".\hlp\hid_file_send_mail.htm"
				DeploymentContent="TRUE">
			</File>
			<File
				RelativePath=".\hlp\hid_help_index.htm"
				DeploymentContent="TRUE">
			</File>
			<File
				RelativePath=".\hlp\hid_help_using.htm"
				DeploymentContent="TRUE">
			</File>
			<File
				RelativePath=".\hlp\hid_ht_caption.htm"
				DeploymentContent="TRUE">
			</File>
			<File
				RelativePath=".\hlp\hid_ht_nowhere.htm"
				DeploymentContent="TRUE">
			</File>
			<File
				RelativePath=".\hlp\hid_next_pane.htm"
				DeploymentContent="TRUE">
			</File>
			<File
				RelativePath=".\hlp\hid_prev_pane.htm"
				DeploymentContent="TRUE">
			</File>
			<File
				RelativePath=".\hlp\hid_sc_close.htm"
				DeploymentContent="TRUE">
			</File>
			<File
				RelativePath=".\hlp\hid_sc_maximize.htm"
				DeploymentContent="TRUE">
			</File>
			<File
				RelativePath=".\hlp\hid_sc_minimize.htm"
				DeploymentContent="TRUE">
			</File>
			<File
				RelativePath=".\hlp\hid_sc_move.htm"
				DeploymentContent="TRUE">
			</File>
			<File
				RelativePath=".\hlp\hid_sc_nextwindow.htm"
				DeploymentContent="TRUE">
			</File>
			<File
				RelativePath=".\hlp\hid_sc_prevwindow.htm"
				DeploymentContent="TRUE">
			</File>
			<File
				RelativePath=".\hlp\hid_sc_restore.htm"
				DeploymentContent="TRUE">
			</File>
			<File
				RelativePath=".\hlp\hid_sc_size.htm"
				DeploymentContent="TRUE">
			</File>
			<File
				RelativePath=".\hlp\hid_sc_tasklist.htm"
				DeploymentContent="TRUE">
			</File>
			<File
				RelativePath=".\hlp\hid_view_ruler.htm"
				DeploymentContent="TRUE">
			</File>
			<File
				RelativePath=".\hlp\hid_view_status_bar.htm"
				DeploymentContent="TRUE">
			</File>
			<File
				RelativePath=".\hlp\hid_view_toolbar.htm"
				DeploymentContent="TRUE">
			</File>
			<File
				RelativePath=".\hlp\hid_window_all.htm"
				DeploymentContent="TRUE">
			</File>
			<File
				RelativePath=".\hlp\hid_window_arrange.htm"
				DeploymentContent="TRUE">
			</File>
			<File
				RelativePath=".\hlp\hid_window_cascade.htm"
				DeploymentContent="TRUE">
			</File>
			<File
				RelativePath=".\hlp\hid_window_new.htm"
				DeploymentContent="TRUE">
			</File>
			<File
				RelativePath=".\hlp\hid_window_split.htm"
				DeploymentContent="TRUE">
			</File>
			<File
				RelativePath=".\hlp\hid_window_tile.htm"
				DeploymentContent="TRUE">
			</File>
			<File
				RelativePath=".\hlp\hid_window_tile_horz.htm"
				DeploymentContent="TRUE">
			</File>
			<File
				RelativePath=".\hlp\hid_window_tile_vert.htm"
				DeploymentContent="TRUE">
			</File>
			<File
				RelativePath=".\hlp\hidr_doc1type.htm"
				DeploymentContent="TRUE">
			</File>
			<File
				RelativePath=".\hlp\main_index.htm"
				DeploymentContent="TRUE">
			</File>
			<File
				RelativePath=".\hlp\menu_edit.htm"
				DeploymentContent="TRUE">
			</File>
			<File
				RelativePath=".\hlp\menu_file.htm"
				DeploymentContent="TRUE">
			</File>
			<File
				RelativePath=".\hlp\menu_help.htm"
				DeploymentContent="TRUE">
			</File>
			<File
				RelativePath=".\hlp\menu_view.htm"
				DeploymentContent="TRUE">
			</File>
			<File
				RelativePath=".\hlp\menu_window.htm"
				DeploymentContent="TRUE">
			</File>
			<File
				RelativePath=".\hlp\scrollbars.htm"
				DeploymentContent="TRUE">
			</File>
		</Filter>
		<File
			RelativePath=".\ReadMe.txt">
		</File>
		<File
			RelativePath=".\res\tab_dlg_bar.manifest">
		</File>
	</Files>
	<Globals>
		<Global
			Name="RESOURCE_FILE"
			Value="tab_dlg_bar.rc"/>
	</Globals>
</VisualStudioProject>

By viewing downloads associated with this article you agree to the Terms of Service and the article's licence.

If a file you wish to view isn't highlighted, and is a text file (not binary), please let us know and we'll add colourisation support for it.

License

This article, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)


Written By
Software Developer The University of St. Andrews
United Kingdom United Kingdom
I am a university academic specialising in Neuroscience. I write simulation and analysis software.

Comments and Discussions