Main Page | Modules | Namespace List | Class Hierarchy | Class List | Directories | File List | Class Members | File Members

DllEntry.cpp File Reference

#include "pcggui.h"

Include dependency graph for DllEntry.cpp:

Include dependency graph

Go to the source code of this file.

Functions

ClassDesc2 * GetpcgguiDesc ()
BOOL WINAPI DllMain (HINSTANCE hinstDLL, ULONG fdwReason, LPVOID lpvReserved)
 __declspec (dllexport) const TCHAR *LibDescription()
TCHAR * GetString (int id)

Variables

HINSTANCE hInstance
int controlsInit = FALSE


Function Documentation

__declspec dllexport   )  const
 

Definition at line 41 of file DllEntry.cpp.

References GetString(), and IDS_LIBDESCRIPTION.

00042 {
00043         return GetString(IDS_LIBDESCRIPTION);
00044 }

Here is the call graph for this function:

BOOL WINAPI DllMain HINSTANCE  hinstDLL,
ULONG  fdwReason,
LPVOID  lpvReserved
 

Definition at line 26 of file DllEntry.cpp.

References controlsInit, and hInstance.

00027 {
00028         hInstance = hinstDLL;                           // Hang on to this DLL's instance handle.
00029 
00030         if (!controlsInit) {
00031                 controlsInit = TRUE;
00032                 InitCustomControls(hInstance);  // Initialize MAX's custom controls
00033                 InitCommonControls();                   // Initialize Win95 controls
00034         }
00035                         
00036         return (TRUE);
00037 }

ClassDesc2* GetpcgguiDesc  ) 
 

Definition at line 48 of file pcggui.cpp.

00048 { return &pcgguiDesc; }

TCHAR* GetString int  id  ) 
 

Definition at line 70 of file DllEntry.cpp.

References hInstance.

Referenced by __declspec(), pcggui::BeginEditParams(), pcgguiClassDesc::Category(), and pcgguiClassDesc::ClassName().

00071 {
00072         static TCHAR buf[256];
00073 
00074         if (hInstance)
00075                 return LoadString(hInstance, id, buf, sizeof(buf)) ? buf : NULL;
00076         return NULL;
00077 }


Variable Documentation

int controlsInit = FALSE
 

Definition at line 18 of file DllEntry.cpp.

Referenced by DllMain().

HINSTANCE hInstance
 

Definition at line 17 of file DllEntry.cpp.

Referenced by pcggui::BeginEditParams(), DllMain(), and GetString().


Generated on Tue Apr 17 09:39:21 2007 for PCG Library by  doxygen 1.3.9.1