Formating
This commit is contained in:
1 parent
3a9db68e74
commit
c214d473e2
7 files changed
+206
-84
No files matched your search
+4
-1
@@ -146,7 +146,7 @@ WINBOOL addNotifyIcon(HWND hWnd)
|
||||
GetSystemMetrics(SM_CYSMICON),
|
||||
LR_SHARED);
|
||||
if (icon == NULL) {
|
||||
toLog("error icon " + std::to_string(GetLastError()));
|
||||
toLog("Error icon " + std::to_string(GetLastError()));
|
||||
}
|
||||
niData.cbSize = sizeof(NOTIFYICONDATA);
|
||||
niData.uVersion = NOTIFYICON_VERSION_4;
|
||||
@@ -187,6 +187,9 @@ WINBOOL createMenu(HWND hWnd)
|
||||
version.append(SimConnect::resolveVersion(simConnect->getVersion()));
|
||||
AppendMenu(hMenu, MF_STRING | MF_GRAYED, NULL, version.c_str());
|
||||
}
|
||||
if (!recorder->getSupportedState()) {
|
||||
AppendMenu(hMenu, MF_STRING | MF_GRAYED, NULL, "Sim unsupported");
|
||||
}
|
||||
AppendMenu(hMenu, MF_SEPARATOR, NULL, NULL);
|
||||
AppendMenu(hMenu, MF_STRING, IDM_EXIT, "Exit");
|
||||
|
||||
|
||||
Reference in new issue
Block a user