The BMP file format, sometimes called bitmap or DIB file format (for device-independent bitmap), is an image file format used to store bitmap digital images, especially on Microsoft Windows and OS/2 operating systems. Many graphical user interfaces use bitmaps in their built-in graphics subsystems, for example, the Microsoft Windows and OS/2 platforms' GDI subsystem, where the specific format used is the Windows and OS/2 bitmap file format, usually named with the file extension of .BMP or .DIB.
A fast-paced example-driven tutorial to building custom controls using Visual C# 2005 Express Edition and .NET 2.0. If you want to build custom controls with C# but you don't know where to start, or you are intimidated by the huge amount of information that needs to be absorbed, then this book is for you. This friendly tutorial is based on numerous examples with real-world applicability, and includes a case study featuring the development of a fully functional PieChart control. Showing you how to use the free Visual C# 2005 Express Edition environment to develop your controls, Building Custom Controls with Visual C# 2005 will teach you how to create professional, reusable custom controls for your desktop applications in no time. This book has been written with the intermediate C# developer in mind. Assuming a working knowledge of C#, the book teaches you how to implement custom controls using Visual C# 2005 Express Edition and all other versions of Visual C#, and GDI+ with .NET 2.0 The book covers: . Understand the basics of custom controls . Use GDI+ to draw your own controls . Implement double buffering to speed up your forms . Add printing functionality to your custom controls . Handle the mouse events to improve the user experience . Offer design-time support for programmers using your control . Design intuitive interfaces for your users
IN THE PAST FEW MONTHS, a deluge of .NET books has hit store shelves, each one eager to explain the new programming philosophy of the .NET world. In the excitement, many of these books have left out the tricks and insights needed to really master .NET programming. Part of the problem is that no single work can cover the entire .NET platform-a sprawling, ambitious framework that revolutionizes everything from Internet applications to data access technology. Many .NET books provide a good overview of essential concepts, but they can't deal with the subtleties needed for all types of development. This book represents the start of the second wave of .NET books: closely focused works that give you the insight of experienced developers about a single aspect of .NET programming. User Interfaces in VB .NET: Windows Forms and Custom Controls takes a close look at all the ingredients you can use to design state-of-the-art application interfaces. It also delves into entirely new topics like custom-control design and GDI+, the next -generation painting framework for Wmdows. You won't just learn about anchoring and docking, you'll work with examples that show document view architecture, custom -control layout engines, dockable windows, and hit testing with owner-drawn controls. You also learn how to design irregularly shaped forms, unshackle data binding, and build an integrated help system.
Windows developers: a thorough understanding of the Windows API will enable you to create applications that are elegant, efficient, and powerful. Comprehensive and detailed-with over 140,000 lines of code included on the accompanying CD-ROM- Win32 Programming is your ultimate resource. Concentrating exclusively on 32-bit programming, it offers an in-depth look at the user interface and graphics aspects of the Windows API and demonstrates how to use the API effectively. In addition, many low-level operating system functions and facilities are covered. You will find comprehensive information on all aspects of Windows GUI programming, such as: Windows Controls, including the common control GDI, including new features like transformations and geometric pen Printing, including a reusable print engin Common dialogs, including customizatio Background processing, including synchronization In addition, the book covers such important advanced topics as creation of Dynamic Link Libraries, storage management, windows subclassing, the Multiple Document Interface (MDI), and threads and their synchronization. The CD-ROM is a gold mine of useful programs, with a C template you can copy to create your own Windows applications and dozens of programs called 'Explorers' written in C++/MFC that demonstrate the Windows API in action. The 'Explorers' let you tweak individual parameters of the API functions and immediately see the effects. More than just an introductory book, Win32 Programming is a reference to many of the more obscure and sometimes incomprehensible advanced features of the user interface and graphics subsystems. It is useful not only for C programmers but also for C++/MFC programmers because the API forms the basis for most MFC methods. The book's extensive and comprehensive index means you will never again have to search through pages of examples to find the example of the API function you want to see. This book is designed both to teach basic Windows programming and to be a useful companion for years to come.
This Wrox Blox presents WPF along with the Extensible Application Markup Language (XAML), showing developers how to customize existing user interface controls such as the Button, Progress Bar, CheckBox, Radio Button, and Label along with creating two new custom controls. The Windows Presentation Foundation (WPF) released with the .NET 3.0 SDK provides a rich foundation for developing and customizing user interfaces. Unlike existing user interface development tools like GDI and GDI+, WPF is entirely vector-based, offering the developer enhanced two-dimensional and even three-dimensional rendering in the presentation layer. The author customizes these existing controls using XAML to:* Create control templates to define their appearance and behaviors.* Create two new custom controls, one derived from System.Windows.UserControl and the second from System.Windows.Control.* Illustrate the interoperability of WPF content in Windows Forms and Win32 applications.* Create the code samples using Microsoft Visual Studio 2005 with extensions for .NET 3.0 and the .NET 3.0 SDK. These code samples contain four projects: A C# WPF control library that contains the control templates and a User Control containing the customized Windows controls and the two new custom controls; a C# WPF application to host the WPF User Control; a C# Windows Forms application to host the WPF User Control; and a C++ Win32 application to host the WPF User Control.
By using C# and the final beta of NET 2.0, this book covers Windows Forms and GDI+ namespaces thoroughly for the .NET programmer in 2005. Experienced author Matthew MacDonald achieves this by combining careful treatment of the API with detailed discussion of solid user-interface design principles. This is an update for .NET 2.0 of MacDonalds previous edition (1590590457) which gained wide community recognition. Upon reading this edition, you will be equipped to design state-of-the-art Windows interfaces and program graphics, and know how to create your own controls. As a developer, you must know more than simply adding a control to a window. You must be able to create an entire user interface framework that's scalable, flexible, and reusable. Although this book is not a reference manual, it contains detailed discussions about user interface elements youll use on a regular basis. You will learn to use .NET controls, as well as extend them with your own custom controls. TOC:Introduction Chapter 1. Control Class Basics Chapter 2. The Classic Controls Chapter 3. Forms Chapter 4. The Modern Controls Chapter 5. Sound and Media Chapter 6. Custom Controls Chapter 7. Design-Time Support for Custom Controls Chapter 8. The WinBar Chapter 9. Data Controls Chapter 10. The GridView Chapter 11. MDI Interfaces and Workspaces Chapter 12. Dynamic User Interface Chapter 13. GDI+ Basics Chapter 14. Custom Controls with GDI+ Chapter 15. Help and Application-Embedded Support Appendix A. Creating Usable Interfaces