Added DisableDrag=1/0 to lock skins into position.

Added DisableRDP=1/0 to disable redraw during RDP session (thanks to FUR10N for the code).
Minor changes to the installer and Rainstaller.
This commit is contained in:
Birunthan Mohanathas
2010-11-24 15:34:07 +00:00
parent 72da30c565
commit 1f3a04e54e
5 changed files with 46 additions and 6 deletions

View File

@ -449,6 +449,10 @@ LRESULT CALLBACK CTrayWindow::WndProc(HWND hWnd, UINT uMsg, WPARAM wParam, LPARA
{
Rainmeter->SetDebug(!CRainmeter::GetDebug());
}
else if(wParam == ID_CONTEXT_DISABLEDRAG)
{
Rainmeter->SetDisableDrag(!Rainmeter->GetDisableDrag());
}
else if(wParam == ID_CONTEXT_EDITCONFIG)
{
std::wstring command = Rainmeter->GetConfigEditor();