Skip to content

Instantly share code, notes, and snippets.

@neokril
neokril / dragfullwindow.cpp
Created December 19, 2013 08:15
Little application for enabling Windows option "Show window contents while dragging". This app can be used as a fix for Citrix client incorrect behavior - it switches off this option from time to time. I tried this solution: http://aaronwalrath.wordpress.com/2010/12/05/fix-for-citrix-xenapp-published-apps-disabling-windows-visual-effects/ but it…
#include <windows.h>
#include <tchar.h>
#include <cstdio>
#pragma comment(lib, "user32.lib")
int _tmain(int argc, _TCHAR* argv[])
{
BOOL enabled;