1

我环顾四周,发现了这个:http: //msdn.microsoft.com/en-us/library/windows/desktop/ms724947 (v=vs.85).aspx

菜单位于:右键我的电脑,属性,高级系统设置,高级选项卡,性能->设置

这完全符合我的期望。但是,我似乎找不到一些设置。到目前为止,这是我的列表,特别是来自视觉效果菜单中的选项列表。

//SPI_SETCLIENTAREAANIMATION = Animate controls and elements inside windows
//SPI_SETANIMATION = Animate windows when minimizing and maximizing
//SPI_SETMENUANIMATION = Fade or slide menus into view
//SPI_SETCURSORSHADOW = Show shadows under mouse pointer
//SPI_SETDROPSHADOW = Show shadows under windows
//SPI_SETCOMBOBOXANIMATION = Slide open combo boxes
//SPI_SETCLEARTYPE = Smooth edges of screen fonts
//SPI_SETLISTBOXSMOOTHSCROLLING = Smooth-scroll list boxes
//SPI_SETUIEFFECTS = A whole bunch of settings

还是缺这些

//Animations in the taskbar and Start Menu
//Show translucent selection rectangle
//Show window content while dragging
//Use drop shadows for icon labels on the desktop
//Use visual styles on windows and buttons

有没有人设法弄清楚可以从哪里启用/禁用其余设置?也许我错过了一个价值?

顺便说一句:我在 Python 中这样设置它们

windll.user32.SystemParametersInfoA(SPI_SETLISTBOXSMOOTHSCROLLING, 0, cBoolTrue, 0)

谢谢。

4

1 回答 1

1

好吧,这不是我在这里提供的真正好的答案,但这可能会有所帮助。

你想改变的东西可以通过注册表来控制,你需要这些值:

//Animations in the taskbar and Start Menu              | HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer\Advanced::TaskbarAnimations
//Show translucent selection rectangle                  | HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer\Advanced::ListviewAlphaSelect
//Show window cntents while dragging                    | HKEY_CURRENT_USER\Control Panel\Desktop::DragFullWindows
//Use drop shadows for icon labels on the desktop       | HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer\Advanced::ListviewShadow
//Use visual styles on windows and buttons              | HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\ThemeManager::ThemeActive

但是,这不是最好的解决方案,还需要重新启动。


还有什么要说的,你错了,关于一些事情。

  • SPI_SETCLEARTYPE不适用于字体平滑。为此,您必须使用SPI_SETFONTSMOOTHINGand SPI_SETFONTSMOOTHINGTYPE
  • SPI_SETUIEFFECTS- 你说这是一堆设置,你是对的。但是,您应该单独获取/设置所有这些,并SystemParametersInfo允许单独访问所有这些。
于 2014-06-04T14:25:04.937 回答