diff options
Diffstat (limited to 'MirandaPlugin/Templates/1033/options.cpp')
-rw-r--r-- | MirandaPlugin/Templates/1033/options.cpp | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/MirandaPlugin/Templates/1033/options.cpp b/MirandaPlugin/Templates/1033/options.cpp index b94992f..8534af3 100644 --- a/MirandaPlugin/Templates/1033/options.cpp +++ b/MirandaPlugin/Templates/1033/options.cpp @@ -18,8 +18,11 @@ BOOL CALLBACK DlgProcOpts(HWND hwndDlg, UINT msg, WPARAM wParam, LPARAM lParam) switch ( msg ) {
case WM_INITDIALOG:
TranslateDialogDefault( hwndDlg );
+ // TODO: read options variable into control states
return FALSE;
case WM_COMMAND:
+ // enable the 'apply' button
+ SendMessage(GetParent(hwndDlg), PSM_CHANGED, 0, 0);
break;
case WM_NOTIFY:
switch(((LPNMHDR)lParam)->idFrom) {
@@ -27,6 +30,7 @@ BOOL CALLBACK DlgProcOpts(HWND hwndDlg, UINT msg, WPARAM wParam, LPARAM lParam) switch (((LPNMHDR)lParam)->code)
{
case PSN_APPLY:
+ // TODO: read control states into options variable
SaveOptions();
}
break;
|