| Desktop | Multimedia | Database | Net and Internet |
| Security | System | Free books |
Rubber band rectangle - (Michael Flenov) Many kind of software has to use a rubber band rectangle. The rubber band is a rectangle that tracks with mouse cursor while user hold the mouse button and move it to select something or to move/resize controls. To draw the rubber band rectangle we used to draw rectangle using raster operations (XOR) drawing in GDI. To draw rubber band you had to draw a rectangle using ROP2_XORPEN. To erase the rectangle you had to draw the same rectangle and all lines would be disappeared.
Get rid of MFC for the smaller file size - (Security Software for Administrator) The most effective method for decreasing the program size in hidden in the answer to the question, "Why are Visual C++ programs so large?" This is because C++ is an object-oriented language. In this language, each program component is an object with its own properties, methods, and events. Each object is self-sufficient and can do much without your instructions.
Introduction to DirectX - (.NET File Explorer Control ) Since the times when Microsoft was not yet a full-fledged operation system but just a shell to MS-DOS, the GDI had been the programming basis for graphics operations. It was initially a successful technology that made it possible to work with any type of video card. The PC platform employed a variety of video chips, each with different capabilities, and GDI offered a universal way to access their video functions. Even though the technology greatly improved, is still used in Windows.
Demoscene - (Automatic tester for WEB vulnerabilities) A demo is a short graphic program or a bench of code in a program that displays graphical effects, possibly accompanied by music or/and sound effects. A demoscene is a whole culture of creating demos that sets certain rules and laws for their development. Demo developer teams gather at demo parties, where they show their creations to the viewers' judgment.
Installing and Configuring DirectX - (Heapar Essential Library .NET) Before you can start developing graphics application using Visual Studio, you have toinstall the DirectX Software Development Kit (DirectX SDK). The standard Visual Studio development environment has no idea about DirectX functions, thus, it must be told about them. This is done with the help of the .h header and .lib library files, which must be installed with the SDK.
Compressing Executable Files - (Michael Flenov) The simplest way to decrease the size of a program is to use a file compressing utility. As for me, I like ASPack very much. You can download it from http://www.aspack.com or copy from the accompanying CD-ROM from the Programs folder (the installation file name is ASPack.exe). The program compresses EXE and DLL files very well.
Optimization - (Hackers programming) A programmer's life is a continual struggle with slow-downs and lack of time. Every day he or she spends several hours on optimization. Each programmer tries to optimize everything that happens to be close at hand. Are you sure you do this properly? Maybe you can do something better.
Linq - (Michael Flenov) What is it? It is a new extension to the .NET Framework that encompasses language-integrated database operations like queries, sets and operations. The LINQ extends C# native language with new capabilities for queries. The LINQ can work with not only databases but XML and user defined structures. You can write queries to your data collection!
How to get a files list from a folder? - (Network Monitor) It is an excellent question. I recommend using system functions. It is a slightly difficult because you have to declare interfaces and Windows Shell structures. There are a lot of functions and structures. I'll help you to declare and to use all needed objects.
System tray is under control - (Michael Flenov) I want to tell you how to get access to the Windows Start button and the Windows tray bar. The tray bar is a special window in the system with a Shell_TrayWnd class name. What does it mean? It means that you can find this windows using FindWindow API function.