Last active
December 15, 2017 05:21
-
-
Save Akira-Hayasaka/e814d72bf6fe5e8f1c82 to your computer and use it in GitHub Desktop.
win always on top window
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
void ofApp::update() | |
{ | |
// window always on top | |
HWND AppWindow = GetActiveWindow(); | |
SetFocus(AppWindow); | |
SetForegroundWindow(AppWindow); | |
SetActiveWindow(AppWindow); | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment