mirror of
https://github.com/chibicitiberiu/rainmeter-studio.git
synced 2024-02-24 04:33:31 +00:00
- Manage/About dialogs: Fixed that keyboard commands didn't work
- Window message API: Partly broken since r1157, fixed - Moved all functionality from Rainmeter.exe into Rainmeter.dll
This commit is contained in:
@ -476,7 +476,6 @@ LRESULT CALLBACK CTrayWindow::WndProc(HWND hWnd, UINT uMsg, WPARAM wParam, LPARA
|
||||
else if (wParam == ID_CONTEXT_QUIT)
|
||||
{
|
||||
PostQuitMessage(0);
|
||||
Quit();
|
||||
}
|
||||
else if (wParam == ID_CONTEXT_OPENSKINSFOLDER)
|
||||
{
|
||||
@ -583,7 +582,7 @@ LRESULT CALLBACK CTrayWindow::WndProc(HWND hWnd, UINT uMsg, WPARAM wParam, LPARA
|
||||
{
|
||||
COPYDATASTRUCT cds;
|
||||
cds.dwData = wParam;
|
||||
cds.cbData = (DWORD)((data.length() + 1) + sizeof(WCHAR));
|
||||
cds.cbData = (DWORD)((data.length() + 1) * sizeof(WCHAR));
|
||||
cds.lpData = (PVOID)data.c_str();
|
||||
SendMessage((HWND)lParam, WM_COPYDATA, (WPARAM)hWnd, (LPARAM)&cds);
|
||||
};
|
||||
|
Reference in New Issue
Block a user