mirror of
https://github.com/chibicitiberiu/rainmeter-studio.git
synced 2024-02-24 04:33:31 +00:00
Additional change to 34b59f9
This commit is contained in:
parent
8e6c1fb856
commit
482ab59bc2
@ -1008,7 +1008,12 @@ INT_PTR CDialogPackage::CTabInfo::OnNotify(WPARAM wParam, LPARAM lParam)
|
|||||||
break;
|
break;
|
||||||
|
|
||||||
case NM_CLICK:
|
case NM_CLICK:
|
||||||
c_Dialog->ShowHelp();
|
{
|
||||||
|
if (nm->idFrom == IDC_PACKAGEINFO_WHATIS_LINK)
|
||||||
|
{
|
||||||
|
c_Dialog->ShowHelp();
|
||||||
|
}
|
||||||
|
}
|
||||||
break;
|
break;
|
||||||
|
|
||||||
default:
|
default:
|
||||||
@ -1281,7 +1286,7 @@ INT_PTR CALLBACK CDialogPackage::CTabAdvanced::DlgProc(HWND hWnd, UINT uMsg, WPA
|
|||||||
return c_Dialog->m_TabAdvanced.OnCommand(wParam, lParam);
|
return c_Dialog->m_TabAdvanced.OnCommand(wParam, lParam);
|
||||||
|
|
||||||
case WM_NOTIFY:
|
case WM_NOTIFY:
|
||||||
return c_Dialog->m_TabInfo.OnNotify(wParam, lParam); // Redirect to m_TabInfo
|
return c_Dialog->m_TabAdvanced.OnNotify(wParam, lParam);
|
||||||
}
|
}
|
||||||
|
|
||||||
return FALSE;
|
return FALSE;
|
||||||
@ -1333,3 +1338,24 @@ INT_PTR CDialogPackage::CTabAdvanced::OnCommand(WPARAM wParam, LPARAM lParam)
|
|||||||
|
|
||||||
return TRUE;
|
return TRUE;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
INT_PTR CDialogPackage::CTabAdvanced::OnNotify(WPARAM wParam, LPARAM lParam)
|
||||||
|
{
|
||||||
|
LPNMHDR nm = (LPNMHDR)lParam;
|
||||||
|
switch (nm->code)
|
||||||
|
{
|
||||||
|
case NM_CLICK:
|
||||||
|
{
|
||||||
|
if (nm->idFrom == IDC_PACKAGEADVANCED_HELP_LINK)
|
||||||
|
{
|
||||||
|
c_Dialog->ShowHelp();
|
||||||
|
}
|
||||||
|
}
|
||||||
|
break;
|
||||||
|
|
||||||
|
default:
|
||||||
|
return FALSE;
|
||||||
|
}
|
||||||
|
|
||||||
|
return TRUE;
|
||||||
|
}
|
@ -71,6 +71,7 @@ private:
|
|||||||
|
|
||||||
static INT_PTR CALLBACK DlgProc(HWND hWnd, UINT uMsg, WPARAM wParam, LPARAM lParam);
|
static INT_PTR CALLBACK DlgProc(HWND hWnd, UINT uMsg, WPARAM wParam, LPARAM lParam);
|
||||||
INT_PTR OnCommand(WPARAM wParam, LPARAM lParam);
|
INT_PTR OnCommand(WPARAM wParam, LPARAM lParam);
|
||||||
|
INT_PTR OnNotify(WPARAM wParam, LPARAM lParam);
|
||||||
};
|
};
|
||||||
|
|
||||||
CDialogPackage(HWND wnd);
|
CDialogPackage(HWND wnd);
|
||||||
|
@ -97,7 +97,7 @@ FONT 8, "MS Shell Dlg 2"
|
|||||||
PUSHBUTTON "Add theme...", IDC_PACKAGEINFO_ADDTHEME_BUTTON, 194, 144, 70, 14
|
PUSHBUTTON "Add theme...", IDC_PACKAGEINFO_ADDTHEME_BUTTON, 194, 144, 70, 14
|
||||||
PUSHBUTTON "Add plugin...", IDC_PACKAGEINFO_ADDPLUGIN_BUTTON, 194, 162, 70, 14
|
PUSHBUTTON "Add plugin...", IDC_PACKAGEINFO_ADDPLUGIN_BUTTON, 194, 162, 70, 14
|
||||||
PUSHBUTTON "Remove", IDC_PACKAGEINFO_REMOVE_BUTTON, 194, 197, 70, 14, WS_DISABLED
|
PUSHBUTTON "Remove", IDC_PACKAGEINFO_REMOVE_BUTTON, 194, 197, 70, 14, WS_DISABLED
|
||||||
CONTROL "<A>What is a .rmskin package?</A>", IDC_STATIC, "SysLink", 0x0, 0, 225, 264, 9
|
CONTROL "<A>What is a .rmskin package?</A>", IDC_PACKAGEINFO_WHATIS_LINK, "SysLink", 0x0, 0, 225, 264, 9
|
||||||
}
|
}
|
||||||
|
|
||||||
IDD_PACKAGEOPTIONS_TAB DIALOGEX 15, 30, 270, 220
|
IDD_PACKAGEOPTIONS_TAB DIALOGEX 15, 30, 270, 220
|
||||||
@ -137,7 +137,7 @@ FONT 8, "MS Shell Dlg 2"
|
|||||||
LTEXT "Variables files:", IDC_STATIC, 0, 24, 85, 9
|
LTEXT "Variables files:", IDC_STATIC, 0, 24, 85, 9
|
||||||
EDITTEXT IDC_PACKAGEADVANCED_VARIABLEFILES_EDIT, 90, 21, 180, 14, ES_AUTOHSCROLL | WS_TABSTOP
|
EDITTEXT IDC_PACKAGEADVANCED_VARIABLEFILES_EDIT, 90, 21, 180, 14, ES_AUTOHSCROLL | WS_TABSTOP
|
||||||
AUTOCHECKBOX "Merge skins", IDC_PACKAGEADVANCED_MERGESKINS_CHECK, 0, 42, 85, 9, WS_TABSTOP
|
AUTOCHECKBOX "Merge skins", IDC_PACKAGEADVANCED_MERGESKINS_CHECK, 0, 42, 85, 9, WS_TABSTOP
|
||||||
CONTROL "<A>Help</A>", IDC_STATIC, "SysLink", 0x0, 0, 210, 264, 9
|
CONTROL "<A>Help</A>", IDC_PACKAGEADVANCED_HELP_LINK, "SysLink", 0x0, 0, 210, 264, 9
|
||||||
}
|
}
|
||||||
|
|
||||||
IDD_PACKAGESELECTFOLDER_DIALOG DIALOGEX 0, 0, 200, 100
|
IDD_PACKAGESELECTFOLDER_DIALOG DIALOGEX 0, 0, 200, 100
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
#define IDC_STATIC -1
|
#define IDC_STATIC -1
|
||||||
#define IDI_SKININSTALLER 100
|
#define IDI_SKININSTALLER 100
|
||||||
#define IDB_INSTALLHEADER 101
|
#define IDB_INSTALLHEADER 101
|
||||||
#define IDD_INSTALL_DIALOG 102
|
#define IDD_INSTALL_DIALOG 102
|
||||||
@ -36,6 +36,7 @@
|
|||||||
#define IDC_PACKAGEINFO_ADDTHEME_BUTTON 1005
|
#define IDC_PACKAGEINFO_ADDTHEME_BUTTON 1005
|
||||||
#define IDC_PACKAGEINFO_ADDPLUGIN_BUTTON 1006
|
#define IDC_PACKAGEINFO_ADDPLUGIN_BUTTON 1006
|
||||||
#define IDC_PACKAGEINFO_REMOVE_BUTTON 1007
|
#define IDC_PACKAGEINFO_REMOVE_BUTTON 1007
|
||||||
|
#define IDC_PACKAGEINFO_WHATIS_LINK 1008
|
||||||
|
|
||||||
#define IDC_PACKAGEOPTIONS_FILE_EDIT 1000
|
#define IDC_PACKAGEOPTIONS_FILE_EDIT 1000
|
||||||
#define IDC_PACKAGEOPTIONS_FILEBROWSE_BUTTON 1001
|
#define IDC_PACKAGEOPTIONS_FILEBROWSE_BUTTON 1001
|
||||||
@ -54,6 +55,7 @@
|
|||||||
#define IDC_PACKAGEADVANCED_HEADERROWSE_BUTTON 1001
|
#define IDC_PACKAGEADVANCED_HEADERROWSE_BUTTON 1001
|
||||||
#define IDC_PACKAGEADVANCED_VARIABLEFILES_EDIT 1002
|
#define IDC_PACKAGEADVANCED_VARIABLEFILES_EDIT 1002
|
||||||
#define IDC_PACKAGEADVANCED_MERGESKINS_CHECK 1003
|
#define IDC_PACKAGEADVANCED_MERGESKINS_CHECK 1003
|
||||||
|
#define IDC_PACKAGEADVANCED_HELP_LINK 1004
|
||||||
|
|
||||||
#define IDC_PACKAGESELECTFOLDER_EXISTING_RADIO 1000
|
#define IDC_PACKAGESELECTFOLDER_EXISTING_RADIO 1000
|
||||||
#define IDC_PACKAGESELECTFOLDER_EXISTING_COMBO 1001
|
#define IDC_PACKAGESELECTFOLDER_EXISTING_COMBO 1001
|
||||||
|
Loading…
Reference in New Issue
Block a user