Cosmetic changes here and there.

This commit is contained in:
Birunthan Mohanathas
2010-09-21 11:09:36 +00:00
parent e812e079ec
commit e618ad1777
13 changed files with 37 additions and 36 deletions

View File

@ -209,7 +209,7 @@ UINT Initialize(HMODULE instance, LPCTSTR iniFile, LPCTSTR section, UINT id)
{
std::wstring error = L"No such SysInfoType: ";
error += type;
MessageBox(NULL, error.c_str(), L"Rainmeter", MB_OK);
MessageBox(NULL, error.c_str(), L"Rainmeter", MB_OK | MB_TOPMOST | MB_ICONEXCLAMATION);
}
}
@ -435,8 +435,8 @@ double Update2(UINT id)
{
if(GetSystemMetrics(SM_CMONITORS)>32)
{
std::wstring error = L"That's alot of monitors! 32 is the max. ";
MessageBox(NULL, error.c_str(), L"Rainmeter", MB_OK);
std::wstring error = L"That's alot of monitors! 32 is the max.";
MessageBox(NULL, error.c_str(), L"Rainmeter", MB_OK | MB_TOPMOST | MB_ICONERROR);
exit(-1);
}
m_Monitors.count = 0;