ENG   RUS  
Current filter: All   C#   C++   C  

Log in:

Name
Pass

Register









News   Articles   Sources   Forum    RSS




Article categories

DesktopMultimediaDatabaseNet and Internet
SecuritySystemFree books



Latest 10 articles


Designing Windows Correctly - (.NET Essential Library Developer) When you write your own program you're going to sell, it is very important to think over its interface. Like with people, first impressions on a program are most lasting. If its windows are disgusting, nobody will pay a dollar for the program. How can you create something attractive so that a user spends more than five minutes on getting acquainted with you program? This isn't that difficult. Correct design is a sort of art.


Avalon or Windows Presentation Foundation (WPF) - (Michael Flenov) GDI is an old Windows graphic system based on simple functions and implement basic functionality. The GDI system uses hardware capability inefficiently. Most of time user interfaces based on GDI are tedious. There is a new Microsoft graphic system Avalon or Windows Presentation Foundation that ready to break bottleneck.


Introduction to C and Win32 - (Introduction to C and Win32) Lests take a deeper look at Win32 Application. A more comprehensive description can be found in specialized books on Visual C++, but now I'll give you only the necessary information about Win 32 programming. In this article we consider how to create a Win32 application with the small executable file size.


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 - (Michael Flenov) 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 - (Michael Flenov) 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 - (Michael Flenov) 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 - (Michael Flenov) 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 - (Michael Flenov) 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.







Submit an article   Submit a file

Copyright © HackishCode.com 2008. All rights reserved
www.hackishcode.com