Last active
August 29, 2015 13:57
-
-
Save mudream4869/9895588 to your computer and use it in GitHub Desktop.
fixed-win
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
glutInitDisplayMode(GLUT_DOUBLE | GLUT_RGB); | |
glutInitWindowSize(600,600); | |
glutInitWindowPosition(80,80); | |
int gMainHandle; | |
gMainHandle = glutCreateWindow("QAQ"); | |
glutSetWindow(gMainHandle); | |
HWND hwnd = FindWindow(NULL,"QAQ"); | |
if( hwnd ) | |
{ | |
LONG style; | |
style = GetWindowLong(hwnd,GWL_STYLE); | |
style &= ~WS_THICKFRAME; | |
SetWindowLong(hwnd,GWL_STYLE,style); | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment