Skip to content

Commit

Permalink
fixed toggle issues.
Browse files Browse the repository at this point in the history
  • Loading branch information
plkumar committed Jun 6, 2021
1 parent 539dee0 commit ba244d0
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions GlobalMicControl/GlobalMicControlDlg.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -300,7 +300,7 @@ void CGlobalMicControlDlg::CloseOverlayWindow()
e->GetErrorMessage(errorMessage, maxSize);
TRACE(errorMessage);
END_CATCH_ALL
isOverLayVisible = FALSE;
//isOverLayVisible = FALSE;
}

void CGlobalMicControlDlg::OnSysCommand(UINT nID, LPARAM lParam)
Expand Down Expand Up @@ -333,7 +333,7 @@ void CGlobalMicControlDlg::OnTrayMenuSettings()

LRESULT CGlobalMicControlDlg::OnOverlayClosing(WPARAM wparam, LPARAM lparam)
{
isOverLayVisible = FALSE;
//isOverLayVisible = FALSE;
TraySetMenuItemChecked(ID_TRAYMENU_SHOWOVERLAY, FALSE);
return S_OK;
}
Expand Down
2 changes: 1 addition & 1 deletion GlobalMicControl/MicStatusForm.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -155,7 +155,7 @@ int CMicStatusForm::OnCreate(LPCREATESTRUCT lpCreateStruct)

SetIcon(m_hIcon, TRUE); // Set big icon
SetIcon(m_hIcon, FALSE); // Set small icon
//SetWindowText(L"Mic Status");

if (AfxGetApp()->GetProfileIntW(L"", REG_SHOWIN_TASKBAR, 1) == 1)
{
ModifyStyleEx(WS_EX_TOOLWINDOW, WS_EX_APPWINDOW);
Expand Down

0 comments on commit ba244d0

Please sign in to comment.