propsheethandler

所属分类:Windows编程
开发工具:Visual C++
文件大小:48KB
下载次数:16
上传日期:2004-12-04 10:22:24
上 传 者howelljiang
说明:  怎么制作像WINRAR一样的文件属性扩展页,融合COM和MFC和SHELL编程
(how WINRAR production like the same page extended file attributes, and the integration of COM and MFC programming SHELL)

文件列表:
Debug.cpp (1821, 1998-12-18)
Debug.h (1302, 1998-12-18)
PropSheetWizard.awx (48640, 1998-12-18)
PropSheetWizard.cpp (954, 1998-12-18)
PropSheetWizard.h (315, 1998-12-18)
PropSheetWizard.mak (12296, 1998-12-18)
PropSheetWizard.mdp (38912, 1998-12-18)
PropSheetWizard.ncb (50176, 1998-12-18)
PropSheetWizard.rc (5004, 1998-12-18)
PropSheetWizardAw.cpp (2051, 1998-12-18)
PropSheetWizardAw.h (862, 1998-12-18)
res (0, 1998-12-18)
Resource.h (501, 1998-12-18)
res\PropSheetWizard.ico (766, 1998-12-18)
StdAfx.cpp (203, 1998-12-18)
StdAfx.h (537, 1998-12-18)
Template (0, 1998-12-18)
Template\COMHelp.h (1323, 1998-12-18)
Template\confirm.inf (394, 1998-12-18)
Template\InitGuids.cpp (216, 1998-12-18)
Template\newproj.inf (1054, 1998-12-18)
Template\Properties.cpp (5313, 1998-12-18)
Template\Properties.h (1715, 1998-12-18)
Template\PropSheet.cpp (2096, 1998-12-18)
Template\PropSheet.def (305, 1998-12-18)
Template\PropSheet.h (890, 1998-12-18)
Template\PropSheet.odl (1027, 1998-12-18)
Template\PropSheet.rc (4091, 1998-12-18)
Template\PropSheetPage.cpp (1100, 1998-12-18)
Template\PropSheetPage.h (869, 1998-12-18)
Template\RegisterClass.cpp (6348, 1998-12-18)
Template\RegisterClass.h (864, 1998-12-18)
Template\res (0, 1998-12-18)
Template\Resource.h (508, 1998-12-18)
Template\res\PropSheet.rc2 (400, 1998-12-18)
Template\ShellPropPage.cpp (3039, 1998-12-18)
Template\ShellPropPage.h (951, 1998-12-18)
... ...

Property Sheet File Handler AppWizard For Visual C++ ---------------------------------------------------- by Jeff Connelly aka shellreef PURPOSE: A custom AppWizard for Microsoft Visual C++ 4.0 that allows you to easily create property sheet file handlers. This property sheet is displayed when the user views the properties of a specific filetype. INSTALLATION: Copy "Release\PropSheetWizard.awx" to the Bin\IDE directory where Visual C++ was installed (usually MSDEV). Property Sheet wizard will be in the list when File|New is selected, and New Workspace is chosen. STATUS: Freeware, source included. DISTRIBUTION STATUS: Freely distributed. HOW TO CONTACT AUTHOR: ICQ UIN is 23690115, e-mail shellreef@pcsrock.com Microsoft Visual C++ required. After Property Sheet AppWizard is installed, create a new workspace and it should appear in the list. Select it and press the "Create..." button. A confirmation dialog will be displayed telling you what is going on, press OK to create the project. After the project is created, PROPSHEET.DEF needs to be added to the project, because for some reason it is not added. Properties.cpp has to be edited. A little after the implementation of the function CProperties::OnFinalRelease(), there is a GUID that needs to be changed. Use UUIDGEN or GUIDGEN (they come with Visual C++) to create a new GUID that is hopefully unique. Before you close Properties.cpp, change the code to the file type that you want to handle in the CProperties::CPropertiesFactory::UpdateRegistry() function. The default file type is folder, if you want to make a handler for bitmaps, change it to ".bmp". The dialog IDD_PROPSHEET_DIALOG is the property sheet, customize it to change the property sheet. Make sure to register the handler by selecting Tools|Register Control after it is compiled (if the "Register Control" item is not there, you probably deleted it, REGSVR32.EXE can be used instead). Note: I got most of this code from my favorite book Visual C++ 4.0 How-To, by Scott Stanfield and Ralph Arvesen. I highly recommand there book, it was very useful to me.

近期下载者

相关文件


收藏者