Visual Basic 6 Win32 API Tutorial
With just a bit of effort, Visual Basic developers can make use of Win32 C API function calls to extend the functionality of their programs. Jason Bock'sVisual Basic 6 Win32 API Tutorialshows you how to write faster, richer Visual Basic applications using Win32.The book begins with the basics of the Win32 API, including system dynamic-link libraries (DLLs). The author covers Win32 API declarations and the often tricky mappings between Visual Basic and Win32 C data types. (His tips on using Strings will be indispensable for anyone who has ever struggled with Unicode Strings within Visual Basic.) The author uses a simple file encryption program to illustrate basic Win32 calls for better file input/output (I/O), including reading and writing files.Bock also offers tips for extending user interfaces, including how to customize the TreeView control. Next come GDI graphics calls, including customizing a form's background and using bitmaps for menu items. Tips on setting hooks for your windows and using callback functions round out the tour. Final chapters introduce material on COM that shows you how to package modules using Win32 calls into reusable objects.Throughout theVisual Basic 6 Win32 API Tutorial, the author's exceptionally clear prose style--and distinctively personal touch--helps bring the reader along. This excellent book assumes only a basic knowledge of Visual Basic and absolutely no C/C++ experience. It puts the benefits of Win32 C API programming into the hands of almost every Visual Basic developer.--Richard Dragan