ConfigurePacker: Difference between revisions

From TotalcmdWiki
Jump to navigation Jump to search
No edit summary
 
m (backlinks)
 
(One intermediate revision by one other user not shown)
Line 6: Line 6:


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.
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]].


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''.
{{backlink|Packer plugins developer guide|Packer plugins developer guide}}
 
{{back|Packer plugins developer guide overview|Packer plugins developer guide overview}}
When creating a window, you may also need handle of the DLL (your DLL) that creates your dialog box, ''DllInstance''.
{{back|GetPackerCaps|GetPackerCaps}}
 
You may decide not to implement this function. Then, make sure you omit PK_CAPS_OPTIONS from return values of [[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