Jump to content

  • Log In with Google      Sign In   
  • Create Account

We're offering banner ads on our site from just $5!

1. Details HERE. 2. GDNet+ Subscriptions HERE. 3. Ad upload HERE.


#Actuallonewolff

Posted 03 June 2014 - 11:43 PM

Actually I forgot to mention that I have this in the Callback
 
case WM_SYSCOMMAND:
{
	if(wParam==SC_KEYMENU && (lParam>>16)<=0)
		return 0;
}
break;
The above code stops the 'Restore,Move,Size,etc..' box from popping up but doesn't stop the behavior as mentioned.

[edit]
I just changed the key polling to...

if(GetAsyncKeyState(VK_MENU)&0x8000)&&(GetAsyncKeyState(VK_ENTER)&0x8000))

and it worked smile.png

I have no idea what the 0x8000 does though.

#1lonewolff

Posted 03 June 2014 - 11:38 PM

Actually I forgot to mention that I have this in the Callback

case WM_SYSCOMMAND:
{
	if(wParam==SC_KEYMENU && (lParam>>16)<=0)
		return 0;
}
break;
The above code stops the 'Restore,Move,Size,etc..' box from popping up but doesn't stop the behavior as mentioned.

PARTNERS