Skip to content

Instantly share code, notes, and snippets.

@brunosaboia
Created October 17, 2013 18:50
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
Star You must be signed in to star a gist
Save brunosaboia/7030209 to your computer and use it in GitHub Desktop.
protected override void WndProc(ref Message m)
{
switch (m.Msg)
{
case 0x84:
base.WndProc(ref m);
if ((int)m.Result == 0x1)
m.Result = (IntPtr)0x2;
return;
}
base.WndProc(ref m);
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment