home *** CD-ROM | disk | FTP | other *** search
- #include "audiofolder.hh"
- #include "audiofolderhelp.h"
-
- HMODULE queryModuleHandle(void);
-
- /* Overriden function which returns our class name */
- PSZ M_CWAudioFolder::wpclsQueryTitle()
- {
- return "Audio-CD-Creator";
- }
-
- /* Overriden function which returns the custom icon */
- ULONG M_CWAudioFolder::wpclsQueryIconData(PICONINFO pIconInfo)
- {
- if (pIconInfo) {
- pIconInfo->fFormat = ICON_RESOURCE;
- /* The function queryModuleHandle() returns the module handle
- of the DLL the class resides in. The resource compiler put
- the icon in the DLL after compiling the class */
- pIconInfo->hmod = queryModuleHandle();
- pIconInfo->resid = ID_ICONAUDIOFOLDER;
- } /* endif */
- return ( sizeof(ICONINFO) );
- }
-
-
- ULONG M_CWAudioFolder::wpclsQueryStyle()
- {
- /* CWProgFolder returns *_NEVERTEMPLATE but we want a template */
- return M_WPFolder::wpclsQueryStyle();
- }
-
- BOOL M_CWAudioFolder::wpclsQueryDefaultHelp(PULONG HelpPanelId,PSZ HelpLibrary)
- {
- if(HelpLibrary)
- /* The name of the library is defined in audiofolderhelp.h */
- strcpy(HelpLibrary,AFHELPLIBRARY);
- if(HelpPanelId)
- *HelpPanelId= IDHLP_MAIN;
-
- return TRUE;
- }
-