Buy New

or
Sign in to turn on 1-Click ordering.
or
Amazon Prime free trial required. Sign up when you check out. Learn more
Buy Used
Used - Good See details
Price: £4.85

or
Sign in to turn on 1-Click ordering.
 
   
More Buying Choices
Have one to sell? Sell yours here
or
Get a £0.25 Amazon.co.uk Gift Card
Subclassing and Hooking with Visual Basic
 
See larger image
 
Tell the Publisher!
I’d like to read this book on Kindle

Don't have a Kindle? Get your Kindle here, or download a FREE Kindle Reading App.

Subclassing and Hooking with Visual Basic [Paperback]

Stephen Teilhet

RRP: £38.50
Price: £32.73 & this item Delivered FREE in the UK with Super Saver Delivery. See details and conditions
You Save: £5.77 (15%)
o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o
In stock.
Dispatched from and sold by Amazon.co.uk. Gift-wrap available.
Only 1 left in stock--order soon (more on the way).
Want guaranteed delivery by Thursday, June 7? Choose Express delivery at checkout. See Details
Trade In this Item for up to £0.25
Get an extra £5 when you trade in books worth £10 or more until June 30, 2012. Trade in Subclassing and Hooking with Visual Basic for an Amazon.co.uk gift card of up to £0.25, which you can then spend on millions of items across the site. Trade-in values may vary (terms apply). Find more products eligible for trade-in.

Product details


More About the Author

Stephen Teilhet
Discover books, learn about writers, and more.

Visit Amazon's Stephen Teilhet Page

Product Description

Product Description

Subclassing & Hooking with Visual Basic offers developers a unique way to customize Windows behavior.

Windows is a message-based system. Every action you request creates one or more messages to carry out the action. These messages are passed between objects and carry with them information that gives the recipient more detail on how to interpret and act upon the message.

With Subclassing and the Windows hooking mechanism ("hooks"), you can manipulate, modify, or even discard messages bound for other objects within the operating system, in the process changing the way the system behaves. What kinds of results can you achieve using the power of subclassing and hooking? Here are just a few of the possibilities:

  • Determine when a window is being activated or deactivated and respond to this change.
  • Display descriptions of menu items as the mouse moves across them.
  • Disallow a user to move or resize a window.
  • Determine where the mouse cursor is and respond accordingly.
  • Determine when the display resolution has been changed.
  • Monitor the system for a low system resource condition.
  • Modify or disallow keystrokes sent to a window or a control.
  • Create an automated testing application.
  • Determine when an application is idle.

Along with this power comes responsibility; Windows is very unforgiving if subclassing and hooking are used incorrectly. Subclassing & Hooking with Visual Basic demonstrates the various techniques for intercepting messages bound for one or more windows or controls: the intercepted message can be left in its original state or modified; afterwards, the message can be sent to its original destination or discarded.

For both VB 6 and VB.NET developers, Subclassing & Hooking with Visual Basic opens up a wealth of possibilities that ordinarily would be completely unavailable, or at least not easy to implement.

About the Author

Stephen Teilhet earned a degree in electrical engineering but soon afterwards began writing software for the Windows platform. For the last eight years, he has worked for several consulting firms on a wide range of projects, specializing in Visual Basic, Visual C++, MTS, COM, MSMQ, and SQL Server. Stephen currently works for Compuware Numega Labs in Nashua, New Hampshire, where he is immersed in the Microsoft .NET technologies.


Tag this product

 (What's this?)
Think of a tag as a keyword or label you consider is strongly related to this product.
Tags will help all customers organise and find favourite items.
Your tags: Add your first tag
 

Sell a Digital Version of This Book in the Kindle Store

If you are a publisher or author and hold the digital rights to a book, you can sell a digital version of it in our Kindle Store. Learn more

Customer Reviews

There are no customer reviews yet on Amazon.co.uk.
5 star
4 star
3 star
2 star
1 star
Most Helpful Customer Reviews on Amazon.com (beta)
Amazon.com:  4 reviews
5 of 5 people found the following review helpful
All of the basic techniques are revealed and a lot more 11 Aug 2001
By Midwest Book Review - Published on Amazon.com
Format:Paperback
In Subclassing & Hooking With Visual Basic, computer expert Stephen Teilhet explains that Windows is essentially a messaging system and that every user action creates one or more messages to carry out a communication. In addition to generating the message for the mouse button click, the action produces a wide array of other messages, including messages to repaint the button in its depressed state, determine the state of the mouse cursor, and others. Subclassing and the Windows hooking mechanisms are very powerful techniques that operate on messages within the Windows messaging system and Teilhet succinctly explains and illustrates the power that subclassing and hooking give developers in controlling or manipulating messages to achieve a desired result. All of the basic techniques are revealed and a lot more besides. Subclassing & Hooking With Visual Basic is especially recommended for VB and VB.NET developers, but will also prove invaluable for C/C++, Managed C++, C#, and Delphi users.
2 of 2 people found the following review helpful
Finally... 26 July 2001
By Vasilis Ioannidis - Published on Amazon.com
Format:Paperback
a great book about subclassing and the actions you can achieve using vb and not c++. Helped me built customized apps for certain strict environments in no-time. Good work!
Lot's of info in this book 6 Nov 2004
By William Moeur - Published on Amazon.com
Format:Paperback
This book is a very comprehensive explanation of what you can do from Visual Basic with regards to subclassing and hooking. My only complaints are that it's a little wordy and redundant in points and that it doesn't venture into areas that cannot be handled with VB alone.

Customer Discussions

This product's forum
Discussion Replies Latest Post
No discussions yet

Ask questions, Share opinions, Gain insight
Start a new discussion
Topic:
First post:
Prompts for sign-in
 

Search Customer Discussions
Search all Amazon discussions
   


Listmania!

Create a Listmania! list

Look for similar items by category


Look for similar items by subject


Feedback


Amazon.co.uk Privacy Statement Amazon.co.uk Delivery Information Amazon.co.uk Returns & Exchanges