From TotalcmdWiki
Jump to: navigation, search

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);


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