|
|
|
|
How to Retrieve the Viewable Area of a W |
   |
简 介:
The ClientRectangle Property doesn’t always give you a true viewable area of a window. For example, this occurs when the window is an MDI child window or child window of an MDI child window because the MDI parent may not be large enough to display all of the MDI child.
To get the viewable area, you need to call a Win32 function named GetClipBox(). Following is a function that calls GetClipBox() and converts the results to something that .NET can use.
ClientRectangle 属性不总是返回真正的窗口区域。例如,当窗口是一个MDI子窗口或一个MDI子窗口的子窗口时,就是这样,因为MDI父窗口不可能足够大以显示所有的MDI子窗口。
为了得到可以查看的区域,你需要调用一个Win32函数(GetClipBox())。这个项目的一个函数调用了GetClipBox() ,并将其转换为 .NET 可以使用的数值。
来源: https://www.codeguru.com/cs_misc/ViewableControlArea.html |
分 类:
|
许可证:
GNU General Public License (GPL) |
|
Mike Hardy's ScreenSaver Generator |
   |
简 介:
Have you ever wanted to make your own Flying Windows ScreenSaver? Well thats what Mike Hardy's ScreenSaver Generator does. You can choose from 50 objects and turn them into a Flying Windows ScreenSaver. Written in Visual Basic 4.0 By Michael J. Hardy
你想开发自己的飞动Windows屏幕保护程序吗?这正在 Mike Hardy的屏幕保护生成器要完成的功能。你可以选择50个对象,将它们放入一个飞行的Windows屏幕保护程序中。由 Michael J. Hardy用Visual Basic 4.0 开发。
来源: https://visualbasic.ittoolbox.com/code/d.asp?d=2352&a=s |
分 类:
|
许可证:
GNU General Public License (GPL) |
|
Limiting a dialog-based application to a |
   |
简 介:
Limiting a dialog-based application to a single instance
限制一个基于对话框的应用程序只有一个实例。
来源: https://www.codeguru.com/dialog/Instance.shtml |
分 类:
|
许可证:
GNU General Public License (GPL) |
|
Fast and efficient CString replacement |
   |
简 介:
This article describes a class named CStr, which in many respects is similar to CString -- and in most cases can be used interchangeably. However, the class improves much in the following areas:
这个项目使用了一个名为 CStr的类,在许多方面类似于 CString -- 在大多数情况下可以交换使用。但这个类在一些方面作了改进。
来源: https://www.codeguru.com/string/faststring.shtml |
分 类:
|
许可证:
GNU General Public License (GPL) |
|
Generated Access to .NET Resource String |
   |
简 介:
Recently I was given the task of moving string literals from the many files of a C# service project into a single resource file to allow for localization in the future. After describing what needed to be done, my manager handed me a book on .NET resources and said it would help.
最近我被分配了一项任务,将字符串从许多C#服务项目的文件中移动到一个单独的资源文件,以便进行未来的本地化工作。在描述完需要完成的任务之后,我的主管交给我一本关于.NET资源的书,说它会有帮助的。
来源: https://www.codeguru.com/cs_misc/GenResourceKeys.html |
分 类:
|
许可证:
GNU General Public License (GPL) |
|
Movie Club Project |
   |
简 介:
We developed this program for a small local movie club in our country. This program is very simple and might contain some bugs. However, the source is open and you can freely modify.
我们为这个国家的一个小电影俱乐部开发了这个程序。这个程序非常简单,可能包含一些错误。然而,源代码是开放的,可以自由修改。
来源: https://visualbasic.ittoolbox.com/code/d.asp?d=2393&a=s |
分 类:
|
许可证:
GNU General Public License (GPL) |
|
Disable close button for Dialog box |
   |
简 介:
There are occasions when we would like to disable the close button on a dialog or any other window.
有时我们需要禁用对话框或其它任何窗口的关闭按钮。
来源: https://www.codeguru.com/dialog/disable_close.shtml |
分 类:
|
许可证:
GNU General Public License (GPL) |
|
vsscanf - An Implementation for Windows |
   |
简 介:
VC++ provides the vsprintf() function but for some strange reason does not provide the complementary vsscanf() function which is available on most Unix systems. The VC++ library defines a static function called input() which is not exposed to end users. This function is exactly what vsscanf() does.
VC++ 提供了 vsprintf() 函数,但由于一些原因,没有提供相应的 vsscanf() 函数,这个函数在大多数Unix系统中可以使用。 VC++ 库定义了一个称为 input() 的静态函数,它不有提供给最终用户。这个函数正是完成 vsscanf() 的功能。
来源: https://www.codeguru.com/string/vsscanf.html |
分 类:
|
许可证:
GNU General Public License (GPL) |
|
TraceView—A Debug View Utility |
   |
简 介:
TraceView—A Debug View Utility
TraceView—这是一个调试视图工具
来源: https://www.codeguru.com/cs_misc/TraceView.html |
分 类:
|
许可证:
GNU General Public License (GPL) |
|
Word Puzzle Maker 2003 |
   |
简 介:
Word Puzzle Maker is a Cool Word Search Puzzle Maker. It was Written by Michael J. Hardy using Visual Basic 4.0 (32-BIT) If you don't have VB 4 then download it from https://www.geocities.com/wpmaker2003 I got the idea from my Wife (Kara)
Word Puzzle Maker 2003是一个很酷的 Word Search Puzzle Maker。它由 Michael J. Hardy 使用 Visual Basic 4.0 (32-BIT) 开发,如果你没有 VB 4 ,可以从https://www.geocities.com/wpmaker2003下载它。
来源: https://visualbasic.ittoolbox.com/code/d.asp?d=2513&a=s |
分 类:
|
许可证:
GNU General Public License (GPL) |
|
|
|
|
|