UserControl OLE Extensions Index


Click for Using IOLEControl to intercept Alt-keys and Determine when events are frozen

Using IOLEControl to intercept Alt-keys and Determine when events are frozen

This article demonstrates how to replace VB's rather useless implementation of the IOLEControl interface with something you can actually use to get an event when an Alt-key is pressed. It also demonstrates how to use the code to receive EventsFrozen notifications which can be useful if you want to change a controls behaviour when the user has pressed pause in the IDE.

  more...


Last Updated: 7 June 2003


Click for vbAccelerator UserControl COM Support Library

vbAccelerator UserControl COM Support Library

The vbACOM library is a DLL designed to allow Visual Basic control developers the same flexibility available to control developers using "lower level" languages. The way that the library provides this flexibilty is through exposing the COM interfaces that are supported by all ActiveX controls, but are kept hidden from the VB developer.

Although this "behind the scenes" automatic handling of some of the more tricky aspects of COM programming is one of the greatest strengths of VB, it can also hamper the developer who needs to get down to the bare bones and do some really hardcore stuff.

  more...


Last Updated: 30 May 1999


Click for Using IPerPropertyBrowse to Customise the Design Time Properties for a Control

Using IPerPropertyBrowse to Customise the Design Time Properties for a Control

The Properties Window in VB for a UserControl is fairly flexible under VB: you automatically get drop-down lists for enumerations, and Fonts and Color properties are hooked up nicely as well. However, if you want to provide a more customised list for a property then VB doesn't allow you to do it. This article demonstrates how to implement the IPerPropertyBrowse interface to get more control.

  more...


Last Updated: 23 November 1998