classDLLPlugin 03
Member Function Documentation¶
| 
 | 
| This function is called any time the plugin "cache" is changed. Its purpose is to give you the chance to copy any member variables to the instances of the plugin. An example might be the seamless flag on a projection map, here's what that code looks like. Definition at line 38 of file DLLPlugi.h. | 
| 
 | 
| Your company name and a plugin description (separated by a "\\") should be returned by this function (for example, return  Definition at line 45 of file DLLPlugi.h. Referenced by ImageIO::Write(). | 
| 
 | 
| The resource ID for your plugin's icon should be returned by this function. A 32x32 and a 16x16 version should be created for the icon. The larger of the two will be shown as a preview for your plugin in the available plugin attribute pannel. When your plugin is chosen, it's small icon becomes visible in the Project Workspace. Definition at line 42 of file DLLPlugi.h. | 
| 
 | 
| This should be the resource ID of a string resource for the name of your plugin. An ID is used rather than text to aid in localization. Definition at line 44 of file DLLPlugi.h. | 
| 
 | 
| Definition at line 48 of file DLLPlugi.h. References GetPropertyAt(). Here is the call graph for this function: | 
| 
 | 
| Definition at line 39 of file DLLPlugi.h. References m_treeobject. | 
| 
 | 
| In order for a property to show in plugin property panel of the PWS, the HProperty derived class must be assigned an index. GetPropertyAt is continuously called until you return NULL. The count parameter 'i' starts out at zero on the first call, and increments for each subsequent call. For each property you wish to add to the property panel, you return the pointer to the apporpriate HProperty derived class instance. For example: 
 
 
 Definition at line 47 of file DLLPlugi.h. Referenced by GetNumProperties(). | 
| 
 | 
| Definition at line 61 of file DLLPlugi.h. | 
| 
 | 
| Definition at line 37 of file DLLPlugi.h. | 
| 
 | 
| Definition at line 66 of file DLLPlugi.h. References m_hresource. Referenced by DLLPlugin(). | 
| 
 |