foxX
07-03-2011, 09:58 AM
Hi,
I coded this app to create a seamless windowed mode for the game - no borders, no titlebar.
The application works with any program by inserting 2 items in the system menu (available through the small icon in the top left corner of the window or by pressing right click / shift+right click on the Windows Taskbar).
My program requires Admin permissions to change the style of others' windows and to modify the logic of GetWindowRect(). Run it first and it will affect all the programs started after.
To read more details, including the source code, refer to http://elf.cs.pub.ro/so/wiki/laboratoare/resurse/injections.
Changelog:
v5:
-added a list of registered windows through which to set, by use of a checkbox, applications that should be deframed by default
-saves to ini file
-won't provide a static build anymore, remember to get the MFC runtime http://www.microsoft.com/download/en/details.aspx?id=5555
v4:
-protected against starting multiple instances
-runs properly under 32 bit operating systems
-added icon (though a bit rough)
-updated version string in the "about" box
-added a smaller footprint executable for the main app, the no-MFC version (requires the runtime from Microsoft)
-added text to the main window
v3:
-supports 64-bit programs
-performs proper cleanup in the various circumstances i could think of (remove frame of window -> close deframe; remove frame of window -> re-add the frame -> close deframe)
v2:
-supports Starcraft 2
-doesn't cause a crash anymore when quitting while the game is without borders
-doesn't add multiple system menu items anymore for applications that minimize to the notification area
v1:
-initial release
http://i.imgur.com/oCCchl.jpg (http://i.imgur.com/oCCch.jpg)
http://i.imgur.com/6yZwvl.jpg (http://i.imgur.com/6yZwv.jpg)
Download link:
http://elf.cs.pub.ro/so/wiki/_media/laboratoare/resurse/deframe-5-no-mfc.7z
http://www.mediafire.com/?5igcf9tlwp47c1d - temporary download link for the binary until I fix my server and the university server is back
Down for now:
http://141.85.0.93/~foxx/mob/Deframe/Deframe5-no-MFC.7z (http://141.85.0.93/%7Efoxx/mob/Deframe/Deframe4.7z) (needs the Visual Studio 2010 Runtime - http://www.microsoft.com/download/en/details.aspx?id=5555)
Older versions:
http://141.85.0.93/~foxx/mob/Deframe/Deframe4.7z (http://141.85.0.93/%7Efoxx/mob/Deframe/Deframe4.7z)
http://141.85.0.93/~foxx/mob/Deframe/Deframe4-no-MFC.7z (http://141.85.0.93/%7Efoxx/mob/Deframe/Deframe4-no-MFC.7z) (linked dynamically against MFC, way smaller but needs the Visual Studio 2010 Runtime - http://www.microsoft.com/download/en/details.aspx?id=5555)
http://141.85.0.93/~foxx/mob/Deframe/Deframe3.7z (http://141.85.0.93/%7Efoxx/mob/Deframe/Deframe3.7z)
http://141.85.0.93/~foxx/mob/Deframe/Deframe2.7z (http://141.85.0.93/%7Efoxx/mob/Deframe/Deframe2.7z)
http://141.85.0.93/~foxx/mob/Deframe/Deframe.7z (http://141.85.0.93/%7Efoxx/mob/Deframe/Deframe.7z)
I coded this app to create a seamless windowed mode for the game - no borders, no titlebar.
The application works with any program by inserting 2 items in the system menu (available through the small icon in the top left corner of the window or by pressing right click / shift+right click on the Windows Taskbar).
My program requires Admin permissions to change the style of others' windows and to modify the logic of GetWindowRect(). Run it first and it will affect all the programs started after.
To read more details, including the source code, refer to http://elf.cs.pub.ro/so/wiki/laboratoare/resurse/injections.
Changelog:
v5:
-added a list of registered windows through which to set, by use of a checkbox, applications that should be deframed by default
-saves to ini file
-won't provide a static build anymore, remember to get the MFC runtime http://www.microsoft.com/download/en/details.aspx?id=5555
v4:
-protected against starting multiple instances
-runs properly under 32 bit operating systems
-added icon (though a bit rough)
-updated version string in the "about" box
-added a smaller footprint executable for the main app, the no-MFC version (requires the runtime from Microsoft)
-added text to the main window
v3:
-supports 64-bit programs
-performs proper cleanup in the various circumstances i could think of (remove frame of window -> close deframe; remove frame of window -> re-add the frame -> close deframe)
v2:
-supports Starcraft 2
-doesn't cause a crash anymore when quitting while the game is without borders
-doesn't add multiple system menu items anymore for applications that minimize to the notification area
v1:
-initial release
http://i.imgur.com/oCCchl.jpg (http://i.imgur.com/oCCch.jpg)
http://i.imgur.com/6yZwvl.jpg (http://i.imgur.com/6yZwv.jpg)
Download link:
http://elf.cs.pub.ro/so/wiki/_media/laboratoare/resurse/deframe-5-no-mfc.7z
http://www.mediafire.com/?5igcf9tlwp47c1d - temporary download link for the binary until I fix my server and the university server is back
Down for now:
http://141.85.0.93/~foxx/mob/Deframe/Deframe5-no-MFC.7z (http://141.85.0.93/%7Efoxx/mob/Deframe/Deframe4.7z) (needs the Visual Studio 2010 Runtime - http://www.microsoft.com/download/en/details.aspx?id=5555)
Older versions:
http://141.85.0.93/~foxx/mob/Deframe/Deframe4.7z (http://141.85.0.93/%7Efoxx/mob/Deframe/Deframe4.7z)
http://141.85.0.93/~foxx/mob/Deframe/Deframe4-no-MFC.7z (http://141.85.0.93/%7Efoxx/mob/Deframe/Deframe4-no-MFC.7z) (linked dynamically against MFC, way smaller but needs the Visual Studio 2010 Runtime - http://www.microsoft.com/download/en/details.aspx?id=5555)
http://141.85.0.93/~foxx/mob/Deframe/Deframe3.7z (http://141.85.0.93/%7Efoxx/mob/Deframe/Deframe3.7z)
http://141.85.0.93/~foxx/mob/Deframe/Deframe2.7z (http://141.85.0.93/%7Efoxx/mob/Deframe/Deframe2.7z)
http://141.85.0.93/~foxx/mob/Deframe/Deframe.7z (http://141.85.0.93/%7Efoxx/mob/Deframe/Deframe.7z)