![]() |
|
![]() |
|
|
Thread Tools | Display Modes |
|
|
#1 |
|
Programming Guru
![]() ![]() |
Changing Windows Appearance Settings
Is it possible to simulate the following manual procedure, automatically using the win32api?
right click on desktop > properties > appearance > effects > untick the 'use the following methods to smooth edges of screen fonts'. Is there any data file or windows DLL command or win32api command I could use to simulate this procedure automatically? (And I definitely do not mean synthesis the appropriate keystrokes) |
|
|
|
|
|
#2 |
|
I eat cake for breakfast.
![]() ![]() ![]() ![]() Join Date: Jul 2004
Location: In my box.
Posts: 4,434
Rep Power: 9
![]() |
I Googled, but I found nothing. Well, nothing for C++... there's a Delphi feature that'll do it:
http://www.daniweb.com/code/snippet472.html Can I suggest posting in the proper forum next time? :p |
|
|
|
|
|
#3 |
|
Professional Programmer
|
there could be something in the registry for it
|
|
|
|
|
|
#4 |
|
Professional Programmer
Join Date: Jan 2006
Location: Ontario, Canada
Posts: 380
Rep Power: 3
![]() |
Why do you need to code this, it's already done for you?
__________________
I am Addicted to Linux! |
|
|
|
|
|
#5 |
|
Resident Grouch
![]() ![]() ![]() ![]() ![]() ![]() Join Date: Jun 2005
Posts: 6,453
Rep Power: 10
![]() |
HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\VisualEffects\FontSmoothing has a number of associated values. It's been a while since I messed with this one, and that was with the Windows shell scripting thangy. Some of these things don't take effect until you log off, or in some cases, reboot. Don't know about this one.
__________________
Abstraction doesn't make it impossible to write bad code; it makes it possible to write superior code. Contributor's Corner: Grumpy on C++ Exceptions DaWei on Pointers |
|
|
|
|
|
#6 | ||
|
Programming Guru
![]() ![]() |
Quote:
Quote:
Helps a lot. ![]() |
||
|
|
|
|
|
#7 |
|
Programming Guru
![]() ![]() |
I'm having some troubles. When I make changes to the checkbox, I see them take effect on the screen, but I don't see them change in that location of the registry. I've tried refreshing and reopening the registry but no values in there are changing.
|
|
|
|
|
|
#8 |
|
Resident Grouch
![]() ![]() ![]() ![]() ![]() ![]() Join Date: Jun 2005
Posts: 6,453
Rep Power: 10
![]() |
Are you going to make me go off and scratch and spit and surf, and here it is Sattidy, bath day?
Incidentallly, here is a tip, but I've deep-sixed my copy. As you know, there are a number of "tune-up" and "tweak" utilities that let you set things like this from one place, instead of hunting all over your system. There is one (not X-Teq, but similar) that not only makes the changes, but tells you the registry keys. I used it a lot while piddling around with that wsh thing. My memory, sadly, doesn't recall the name.
__________________
Abstraction doesn't make it impossible to write bad code; it makes it possible to write superior code. Contributor's Corner: Grumpy on C++ Exceptions DaWei on Pointers |
|
|
|
|
|
#9 | ||
|
SEXY SHOELESS GOD OF WAR!
![]() Join Date: Jun 2005
Location: Wet west coast of Canada
Posts: 1,194
Rep Power: 5
![]() |
Quote:
Quote:
__________________
And once again, Probability proves itself willing to sneak into a back alley and service Drama as would a copper-piece harlot. - Vaarsuvius, Order of the Stick |
||
|
|
|
|
|
#10 |
|
Resident Grouch
![]() ![]() ![]() ![]() ![]() ![]() Join Date: Jun 2005
Posts: 6,453
Rep Power: 10
![]() |
LOL, lectric, synthesize this, buddy!
![]()
__________________
Abstraction doesn't make it impossible to write bad code; it makes it possible to write superior code. Contributor's Corner: Grumpy on C++ Exceptions DaWei on Pointers |
|
|
|
![]() |
| Bookmarks |
| Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
| Thread Tools | |
| Display Modes | |
|
|