Programming the Windows 95 User Interface
Part 1
- Common
Control Basics
- Common
Control Window Styles
- Common
Control Notifications
- Status
Bars
- Creating
a Multiple-Part Status Bar
- Using
Owner Drawing in a Status Bar
- Creating
a Simple-Mode Status Bar
- Status
Bar Messages and Member Functions
- Toolbars
- Creating
a Toolbar
- Creating
a Toolbar Bitmap
- Supporting
ToolTips
- Adding
a ToolTip to a Nonbutton Control
- Customizing
a Toolbar
- Toolbar
Messages and Member Functions
- Trackbars
- Creating
a Trackbar
- Working
with a Trackbar
- Trackbar
Messages and Member Functions
- Progress
Bars
- Creating
a Progress Bar
- Progress
Bar Messages and Member Functions
- Up-Down
Controls
- Creating
an Up-Down Control
- Up-Down
Control Messages and Member Functions
- Creating
an Animation Control
- Image
Lists
- Creating
an Image List
- Image
List Functions and Member Functions
- List
View Controls and Column Headers
- Creating
a List View Control
- Changing
Views
- Handling
Notifications
- Sorting
Items in Response to a Column Header Click
- Editing
Labels
- List
View Control Messages and Member Functions
- Tree
View Controls
- Creating
a Tree View Control
- Adding
Items to a Tree View Control
- Implementing
Drag and Drop for a Tree View Item
- Tree
View Control Macros and Member Functions
- Tabs
- Property
Sheets
- Creating
a Property Sheet
- A
Word About Property Sheet Notifications
- Property
Sheet Messages
- Wizards
- Creating
a Wizard
- Processing
Wizard Notifications
- Opening
and Saving Files with Common Dialog Boxes
- Using
the Open and Save As Common Dialog Boxes
- Monitoring
Input
- Using
the OFN_EXPLORER Flag
- Learning
New IDs
- The
Font Common Dialog Box
- The
Color Common Dialog Box
- The
Find and Replace Common Dialog Boxes
- The
Printing Common Dialog Boxes
- Using
the Page Setup Common Dialog Box
- Error
Detection
- Supporting
Help
Part 2
- STK4Q94.XLS?
- Is
Your System FAT?
- The
FAT File System
- The
Protected-Mode FAT File System (VFAT)
- The
High-Performance File System (HPFS)
- The
Windows NT File System (NTFS)
- Determining
Which File System Is in Use
- General
Guidelines for Supporting Long Filenames
- Outdated
Assumptions
- Assumption:
The filename extension contains no more
than 3 characters.
- Assumption:
The filename contains no more than 12
characters.
- Assumption:
A filename contains only one period.
- Assumption:
Filenames do not contain spaces.
- Assumption:
The plus sign (+) character is invalid in
a filename.
- User
Interface Considerations
- Hiding
File Extensions
- Adjusting
the Width of Edit Fields
- How
Shortcuts Are Implemented
- The
Component Object Model
- SHORTCUT:
A SampleThat Manipulates Shortcuts
- Creating
a Shortcut to an Object Other Than a File
- IShellLink
Details
- IShellLink::QueryInterface
- IShellLink::AddRef
- IShellLink::Release
- IShellLink::GetPath
- IShellLink::SetPath
- IShellLink::GetIDList
- IShellLink::SetIDList
- IShellLink::GetDescription
- IShellLink::SetDescription
- IShellLink::GetWorkingDirectory
- IShellLink::SetWorkingDirectory
- IShellLink::GetArguments
- IShellLink::SetArguments
- IShellLink::GetHotkey
- IShellLink::SetHotkey
- IShellLink::GetShowCmd
- IShellLink::SetShowCmd
- IShellLink::GetIconLocation
- IShellLink::SetIconLocation
- IShellLink::Resolve
- Preserving
Shortcuts
- What
Is the Registry?
- The
Structure of the Registry
- Predefined
Keys
- HKEY_CLASSES_ROOT
- HKEY_CURRENT_USER
- HKEY_LOCAL_MACHINE
- HKEY_USERS
- HKEY_CURRENT_CONFIG
- HKEY_DYN_DATA
- Updating
the Registry
- Using
Built-In Tools
- Using
the Win32 API
- Using
Registration Files
- Differences
Between the Windows 95 and Windows NT Registries
- Registry
Functions in Windows 95
- Drag
and Drop
- Retrieving
File Information
- Shh!
Be Very, Very Quiet; We're Hunting New Functions
- Taskbar
Notifications
- Access
Bars
- Creating
an Access Bar
- Using
the Access Bar Callback Message
- Changing
an Access Bar's Size or Position
- Getting
Information About the Taskbar
- How
File Viewers Work
- How
File Viewers Are Instantiated
- Registering
File Viewers with the System
- The
Structure of Registry Entries
- An
Example of Registering a File Viewer
- Basic
Steps in Creating a File Viewer
- Step
One: Create the Project
- Step
Two: Generate GUIDs
- Step
Three: Create the Object Class
- Step
Four: Implement the Basic Object
- Step
Five: Implement the IUnknown Interface
- Step
Six: Implement the IFileViewer Interface
- Step
Seven: Implement the IPersistFile Interface
- Step
Eight: Let MFC Initialize the Class Factories for
You
- Step
Nine: Create the Class to Show the File Contents
- Step
Ten: Build, Register, and Run the File Viewer
Part 3
- Registering
User Interface Extensions
- Implementing
IShellExtInit
- Initializing
with IPersistFile
- Context
Menu Handlers
- Registering
Context Menu Handlers
- Drag-and-Drop
Handlers
- Icon
Handlers
- Property
Sheet Handlers
- Copy
Hook Handlers
- Drop
Target Handlers
- Data
Object Handlers
- Debugging
User Interface Extensions
- User
Interface Extensions and Windows NT
- Definitions
- Enumerating
Items in the Shell
- Getting
Friendly Names and Icons
- Getting
Object Attributes
- Filling
the List View Control
- Displaying
an Item's Context Menu
- Supporting
Drag and Drop
Part 4