Skip to content

Very simple program to toggle if a window is topmost on Windows

License

Notifications You must be signed in to change notification settings

tris790/Topmost

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Topmost

Very simple program to toggle if a window is topmost on Windows

Compiling

You can use MSVC or MINGW (g++ main.cpp -mwindows -o topmost with MINGW)

How to use

  1. Focus the desired window
  2. Pressed Ctrl + Enter
  3. To remove the topmost, pressed Ctrl + Enter again

What I learned

Win32 Api

  • Running a programming without a console window.
  • Registering keyboard hotkeys (RegisterHotKey)
  • Getting the current focused window (GetForegroundWindow)
  • Changing if a window is topmost (SetWindowPos)

About

Very simple program to toggle if a window is topmost on Windows

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages