fu2m8 Posted August 15, 2006 Share Posted August 15, 2006 Hey Guys,I was hoping someone might be able point me in the right direction on how to use DLLCall properly. Basically at work we are rolling out a new SOE and they want a script that will set 3 particualr values in the 'Performance Options' section from the System Properities > Advanced tab.These settings are all under the Custom section: - Smooth Edges of screen fonts - Use drop shadows for icons labels on the desktop - Use visual styles on Windows and buttonsThe rest of them won't be selected.I figured i would be able to use a DLLCall of somekind to the User32.dll but this is the first time ive used DllCall and it's over my head.http://msdn.microsoft.com/library/default....ametersinfo.aspThe page above seems to have reference to certain values that seem to be what im after (SPI_GETDROPSHADOW/SPI_SETDROPSHADOW, SPI_GETFONTSMOOTHING/SPI_SETFONTSMOOTHING) but the trouble im having is i have no idea how to retrieve or return these values so i can check wether they are turned on and if not how to enable them.If anyone could point me in the right direction or knows of a better way to set these settings i would much appreciate it.Thanks Heaps!! Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now