Skip to content

Volume Mixer Minimize Button#3412

Open
Jevil7452 wants to merge 1 commit intoramensoftware:mainfrom
Jevil7452:main
Open

Volume Mixer Minimize Button#3412
Jevil7452 wants to merge 1 commit intoramensoftware:mainfrom
Jevil7452:main

Conversation

@Jevil7452
Copy link
Copy Markdown
Contributor

Adds a Minimize button to the Volume Mixer

Adds a Minimize button to the Volume Mixer
#include <windows.h>

LRESULT CALLBACK CallWndProc(int nCode, WPARAM wParam, LPARAM lParam) {
CWPSTRUCT* pwp = (CWPSTRUCT*)lParam;
Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Handle nCode < 0 per documentation:

Suggested change
CWPSTRUCT* pwp = (CWPSTRUCT*)lParam;
if (nCode < 0)
return CallNextHookEx(NULL, nCode, wParam, lParam);
CWPSTRUCT* pwp = (CWPSTRUCT*)lParam;

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants