====== PluginConfigure plugin export ======
If you need to give user ability to change some plugin settings, use this export.
====Syntax====
PLUGIN_EXPORT void PluginConfigure(
[in] HWND parent
);
==== Parameters ====
parent [in]\\
Parent window handle passed to plugin.
====Sample code====
// configuration window message handle proc
static INT_PTR CALLBACK DlgProc(HWND hwnd, UINT uMsg, WPARAM wParam, LPARAM lParam)
{
switch (uMsg)
{
case WM_COMMAND:
id = LOWORD(wParam);
cmd = HIWORD(wParam);
if (id == IDOK || id == IDCANCEL)
EndDialog(hwnd, id);
break;
}
return false;
}
PLUGIN_EXPORT void PluginConfigure(HWND parent)
{
DialogBox(hInstance, MAKEINTRESOURCE(IDD_MY_DIALOG), parent, DlgProc);
}
====See also====
Other [[plugin_sdk:exports:|export functions]]