Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Chris Miller on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Disable Aero Theme FoxPro

Status
Not open for further replies.

edsonfast

Programmer
Jun 20, 2012
2
BR
Code:
PROCEDURE AeroSetEnable (llEnable)

	#DEFINE DWM_EC_DISABLECOMPOSITION 0
	#DEFINE DWM_EC_ENABLECOMPOSITION 1

	DECLARE integer DwmEnableComposition IN dwmapi integer

	IF llEnable
		DwmEnableComposition(DWM_EC_ENABLECOMPOSITION)
	ELSE
		DwmEnableComposition(DWM_EC_DISABLECOMPOSITION)
	ENDIF
ENDPROC

Att.
Edson Tessaro
 
One note about this: it isn't a good thing to do.

Aero is a user setting. Any application on MY computer that changes MY setting will immediately be uninstalled. I don't see any reason the users of my software would feel any differently.
 
Hi, ok

Samples:
- My app not for final user/home user.

- My app for industri...

- My app is a suport for ERP using VNC to remote connection.

- Finishi remote suport restore Aero Theme

;)

 
While I share dan's thoughts, thank you for sharing that anyway. In situations you describe this can become handy.

One more tip: To find out, if windows is controlled remotely, check if GETENV("CLIENTNAME") is not empty. Also see OS(10)

Besides, with more modern REMOTE DESKTOP windows does not forward the pure desktop graphic, but gdiplus or directx2 commands, so if the server is win7 or win2008r2 and the client also, it draws aero style on it's own and this doesn't use up higher bandwidth. Therefore it isn't neccessary to turn it off, only if you're behind with your versions.

Rather look at SYS(602).

You also find some tips on citrix in the fox wiki.

Bye, Olaf.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top