ConfigurePacker: Difference between revisions
Jump to navigation
Jump to search
Francoisal (talk | contribs) |
m (backlinks) |
||
Line 9: | Line 9: | ||
* When creating a window, you may also need handle of the DLL (your DLL) that creates your dialog box, ''DllInstance''. | * When creating a window, you may also need handle of the DLL (your DLL) that creates your dialog box, ''DllInstance''. | ||
You may decide not to implement this function. Then, make sure you omit PK_CAPS_OPTIONS from return values of [[GetPackerCaps]]. | You may decide not to implement this function. Then, make sure you omit PK_CAPS_OPTIONS from return values of [[GetPackerCaps]]. | ||
{{backlink|Packer plugins developer guide|Packer plugins developer guide}} | |||
{{back|Packer plugins developer guide overview|Packer plugins developer guide overview}} | |||
{{back|GetPackerCaps|GetPackerCaps}} |
Latest revision as of 18:55, 18 April 2006
ConfigurePacker gets called when the user clicks the Configure button from within "Pack files..." dialog box in Totalcmd.
void __stdcall ConfigurePacker (HWND Parent, HINSTANCE DllInstance);
Description
Usually, you provide a user with a dialog box specifying a method and/or its parameters that should be applied in the packing process. Or, you just want to display a message box about what your plugin is, just like Christian Ghisler’s DiskDir does.
- In order to help you with a feedback, you can use a window handle of Totalcmd process, Parent. That is, you make your dialog box a child of Parent.
- When creating a window, you may also need handle of the DLL (your DLL) that creates your dialog box, DllInstance.
You may decide not to implement this function. Then, make sure you omit PK_CAPS_OPTIONS from return values of GetPackerCaps.
Back to Packer plugins developer guide
Back to Packer plugins developer guide overview Back to GetPackerCaps