Description: 1、很多朋友都问过怎样防止 MDI 子窗口在最大化(或最小化)过程中如何避免闪烁,就是像 Excel 一样,子窗口不产生动画效果,不过一直都没有很好的解决办法,如果您喜欢用 LockWindowUpdate 之类的就别往下看了。
2、原理极其简单,就是用 SystemParametersInfo 函数实现开、关系统的动画效果。
3、我把这种 MDI 子窗口写成了一个类,大家用的时候只要把 class(TForm) 中的 “TForm” 换成 “TQuietMDIChildForm”就行了,其他什么都跟平常一样。非 MDI 子窗口也可以这样继承,不过 Delphi 中万恶的 Application 会在里面捣乱。-1, many friends have asked how to prevent the MDI window son maximize (or minimize) the process of how to avoid flicker, Excel is the same as the son does not have a window animation effects, but have not been very good solution, If you like to use LockWindowUpdate like reading down on the other. 2, the principle is very simple and that is SystemParametersInfo Function set, The system of animation. 3, I call this an MDI window-written by a class, we will take as long as the class (TForm) "TForm" into the "TQuietM DIChildForm "OK, what other told usual. For non - MDI window can also be inherited, But Delphi heinous Application will make trouble inside. Platform: |
Size: 173854 |
Author:vvyang |
Hits:
Description: 通过SystemParametersInfo进行锁定鼠标。十分好用的C++实例-through SystemParametersInfo lock for the mouse. Very handy examples C Platform: |
Size: 345547 |
Author:邢鹏翔 |
Hits:
Description: 隐藏系统状态条,SystemParametersInfo() API来实现隐藏和显示。-hidden system of the state, SystemParametersInfo () API to achieve concealment and display. Platform: |
Size: 1715 |
Author:汪大 |
Hits:
Description: 通过使用SystemParametersInfo函数,你可以骗过Windows,使之误以为屏幕保护程序正在运行,从而关闭一些系统组合健- Through uses the SystemParametersInfo function, you may deceive
Windows, causes it 璇 Platform: |
Size: 2048 |
Author:站长 |
Hits:
Description: 隐藏系统状态条,SystemParametersInfo() API来实现隐藏和显示。-hidden system of the state, SystemParametersInfo () API to achieve concealment and display. Platform: |
Size: 1024 |
Author:汪大 |
Hits:
Description: 1、很多朋友都问过怎样防止 MDI 子窗口在最大化(或最小化)过程中如何避免闪烁,就是像 Excel 一样,子窗口不产生动画效果,不过一直都没有很好的解决办法,如果您喜欢用 LockWindowUpdate 之类的就别往下看了。
2、原理极其简单,就是用 SystemParametersInfo 函数实现开、关系统的动画效果。
3、我把这种 MDI 子窗口写成了一个类,大家用的时候只要把 class(TForm) 中的 “TForm” 换成 “TQuietMDIChildForm”就行了,其他什么都跟平常一样。非 MDI 子窗口也可以这样继承,不过 Delphi 中万恶的 Application 会在里面捣乱。-1, many friends have asked how to prevent the MDI window son maximize (or minimize) the process of how to avoid flicker, Excel is the same as the son does not have a window animation effects, but have not been very good solution, If you like to use LockWindowUpdate like reading down on the other. 2, the principle is very simple and that is SystemParametersInfo Function set, The system of animation. 3, I call this an MDI window-written by a class, we will take as long as the class (TForm) "TForm" into the "TQuietM DIChildForm "OK, what other told usual. For non- MDI window can also be inherited, But Delphi heinous Application will make trouble inside. Platform: |
Size: 174080 |
Author:vvyang |
Hits:
Description: 通过SystemParametersInfo进行锁定鼠标。十分好用的C++实例-through SystemParametersInfo lock for the mouse. Very handy examples C Platform: |
Size: 345088 |
Author:邢鹏翔 |
Hits:
Description: 硬件信息查看器,查看当前PC常规硬件信息-This is another of utility applications which can be used as an tool to get and report information about your system CPU, memory page size, mouse installation, etc.
GetProcessorInfo function in ChardwareInfoDlg makes use of GetProcessorInfo API call to get al the information about the type of CPU installed on your machine. The information is returned in SYSTEM_INFO data structure. It contains the data about chip architecture, number of processors installed, page size, minimum and maximum memory address available on your machine, etc. This information is converted into string format and displayed in the dialog box.
The information about mouse, if any, installed on your system can be obtained by using GetSystemMetrics API call. The information specific to mouse speed can be obtained by using SystemParametersInfo API call. The information obtained by these API calls is converted in string format to show in dialog box.
The sample application has been compiled and tested using VC++5.0/ Platform: |
Size: 32768 |
Author:陈忠厚 |
Hits:
Description: Project to demonstrate SystemParametersInfo API.
SystemParametersInfo function can query or set a system-wide parameter, such as mouse trails or desktop wallpaper. Most of these parameters are available from various applets under the Control Panel. Platform: |
Size: 228352 |
Author:jelisaveta |
Hits:
Description: 通过使用SystemParametersInfo函数,你可以骗过Windows,使之误以为屏幕保护程序正在运行-By using the SystemParametersInfo function, you can deceive the Windows, mistook the screen saver is running Platform: |
Size: 2048 |
Author:getecith |
Hits:
Description: 通过使用SystemParametersInfo函数,你可以骗过Windows,使之误以为屏幕保护程序正在运行(By using the SystemParametersInfo function, you can deceive the Windows, mistook the screen saver is running) Platform: |
Size: 2048 |
Author:ublrvyge
|
Hits:
Description: 通过使用SystemParametersInfo函数,你可以骗过Windows,使之误以为屏幕保护程序正在运行(By using the SystemParametersInfo function, you can deceive the Windows, mistook the screen saver is running) Platform: |
Size: 1024 |
Author:GKAO@90559
|
Hits: