VC++ tutorial

Visual C++ Examples

How To Add Menu In VC++

Icon Cursor In VC++
Previous Home Next

Icon

An icon is a small bit map that represent another object in a windows program. Icon are used tp represent minimized. When you're using the Explorer, the icon representing an application associated with each file is displayed next to the file's name. Windows displays the program's icon in the upper-left corner of the main window title bar.

the icon is stored in a separate editable file on the developer's computer but is bound into the .EXE file during the build process.To open the image editor, open the ResourceView in the project workspace and then open the Icon folder. Double-click any icon resource contained in the folder to open the editor.

using Icon in windows Programs:

When creating a new project, AppWizard creates a set of default icons for your project automatically. You can use the Developer Studio image editor to edit or create new icons for your project. open the ResourceView in the project workspace and then open the Icon folder. Double-click any icon resource contained in the folder to open the editor. In an MDI application created by AppWizard, two icon resources will be defined.

Cursor

A cursor is the little bitmap that around the screen providing feedback about the current mouse position. The cursor also provides other types of feedback: The most commonly used cursors are supplied by Windows. The hourglass, I-beam, and arrow cursors are three of the more popular standard cursors. In addition, each program can define cursors that you add to the application just as you do other resources.

using Cursor in windows Programs:

Most window classes have a cursor assigned to the class. In almost all cases, it's the standard arrow cursor. This means that for most default behavior, you don't have to do anything to use a cursor; Windows provides it free of charge. However, there are some situations in which you must take control over the cursor yourself. For the examples in this hour, you create an SDI project named Cursor.

Previous Home Next

Tolal:0 Click:

Show All Comments

Did not find what you were looking for leave your name and message. We will revert within 24 hours
Name:
eMail:
Comment / Feedback: