Dynamic Link Libraries (DLLs) Since the dawn of time (or thereabouts), Windows operating systems have used dynamic link libraries (DLLs) to support commonly used functions. Descendants of Windows, including Windows NT and Windows 95 as wel Citeste tot ...
Dimensiune
Visual C++ Environment
Visual C++ Environment Although Visual C++ is first and foremost a C++ compiler, it also offers a complete development environment made up of many components that work together to simplify the development process. Many of the featur Citeste tot ...
Dimensiune
Overview of ActiveX
Overview of ActiveX Welcome to the exciting new world of ActiveX programming! But is ActiveX really new? Well, yes and no. You have probably heard a lot of media hype about ActiveX controls, VBScript, ActiveX documents, and other Active Citeste tot ...
Dimensiune
Frames, Documents, and Views
Frames, Documents, and Views At some point, you have undoubtedly used a Windows application that works with documents and views, whether you called them by these names or not. The most common example of this would be almost any Windows-bas Citeste tot ...
Dimensiune
ActiveX Documents
ActiveX Documents ActiveX documents are COM software components that present data and information to the user. ActiveX documents allow the user to view data in a variety of ways, perhaps as a graph, a spreadsheet, or text, depending on the Citeste tot ...
Dimensiune
ActiveX Servers
ActiveX Servers In this chapter, you'll get an in-depth look at the different types of ActiveX servers, including embeddable servers and automation servers. Included are three distinct examples, which I spent quite a bit of time working on Citeste tot ...
Dimensiune
MFC Overview
MFC Overview In Chapter 1, 'Visual C++ Environment,' you looked at the Developer Studio and the tools that it provides to help you develop C++ applications for Windows. Now you will get down to business and look at real applicati Citeste tot ...
Dimensiune
General-Purpose Classes
General-Purpose Classes MFC provides a very wide range of functionality, much of which you have already seen in the previous chapters. In this chapter, you will explore a hodgepodge of things that don't quite fit in the previous chapters, Citeste tot ...
Dimensiune
Drawing and Printing with MFC
Drawing and Printing with MFC Although it is possible to avoid having to deal with your own drawing in an application, there are many situations in which you will want to have your application handle its own rendering for controls or views Citeste tot ...
Dimensiune
ActiveX Containers
ActiveX Containers ActiveX containers are the environment through which the end user controls and manipulates the appearance of data. Containers, through their menus, provide a means for the user to view data differently, change data forma Citeste tot ...
Dimensiune
Dialogs and Controls
Dialogs and Controls For most Windows applications, dialogs will provide the user interface for many of your application's functionalities. Dialogs can be as simple as a single text message displayed to the user with AfxMessageBox(), or mo Citeste tot ...
Dimensiune
Dynamically linked libraries (DLLs)
Dynamically linked libraries (DLLs) A dynamically linked library is just like a static library: it contains a set of useful functions that can be called from other software. As with normal .lib libraries, there is no main function. Unl Citeste tot ...
Dimensiune
Methods
Methods This lesson introduces you to C# Methods. Our objectives are as follows: Understand the structure of a method. Know the difference between static and instance methods. Learn to instantiate objects. Citeste tot ...
Dimensiune
Properties
Properties This lesson teaches C# Properties. Our objectives are as follows: Understand What Properties Are For. Implement a Property. Create a Read-Only Property. Create a Write-Only Property. P Citeste tot ...
Dimensiune
Numerical calculations in C
Numerical calculations in C. Well, we have a beautiful window with nothing in it. Blank. It would look better if we would draw something in it isn’t it? By the way, this is an introduction to C, not to windows . What can we draw? Le Citeste tot ...
Dimensiune
Traditional string representation in C
Traditional string representation in C In C character strings are represented by a sequence of bytes finished by a trailing zero byte. For example, if you got: char *Name = “lcc-win32”; You will have in memory something like thi Citeste tot ...
Dimensiune
Using Attributes
Using Attributes This lesson explains how to use C# attributes. Our objectives are as follows: Understand what attributes are and why they're used Apply various attributes with multiple or no parameters Use as Citeste tot ...
Dimensiune
Resources
Resources We mentioned before, that there is a compiler for a small resource language that describes our dialog boxes. Let’s look at that with a little bit more detail before we go to our dialog procedure. Open that file that should Citeste tot ...
Dimensiune
Expressions
Expressions An expression is a sequence of operators and operands. This chapter defines the syntax, order of evaluation of operands and operators, and meaning of expressions. 1.1 Expression classifications An expression is classified as Citeste tot ...
Dimensiune
Using Lambda Expressions to Create Expression Trees
Using Lambda Expressions to Create Expression Trees In addition to treating data as objects, LINQ provides the ability to treat expressions as data at runtime. LINQ defines a new type, Expression<T>, which represents an expression tree, Citeste tot ...