I’ve fixed some memory leaks that occurred with certain events. ExplorerListView, ExplorerTreeView and the Pager control have been fixed first. Expect more updates to come.
I’ve updated the Pager and StatusBar controls to fix the drag’n’drop crashes.
I’ve released updates to a couple of controls. They add a new method called FinishOLEDragDrop.
If you display a message box from within the OLEDragDrop event, you’ll have noticed that the OLE drag image is still displayed while the message box is shown. This is because Microsoft suggests hiding the drag image only after starting the drop operation. Usually this isn’t a problem, because usually the drop operation is done asynchronously, so that it does not block the UI thread.
But as we all know asynchronous operations are difficult to implement with VB6. Therefore I’ve implemented FinishOLEDragDrop. It can be called from within the OLEDragDrop event (and only from there!) and will hide the OLE drag image. Of course this breaks the suggested order, and that’s why it is a separate, optional method and not executed by default.
I’ll update all controls, so expect more updates within the next days.
I’ve released a new version of the Pager control. It now has events for extended mouse button clicks. Additionally I’ve activated the data-binding capabilities.
Be aware that the events for the extended mouse buttons depend on the mouse driver configuration. So if they are not raised at all, this is more likely because of the mouse driver than because of potential bugs in the control library.
A new control has been born: Pager. It wraps the native SysPager control of Windows and can be used to make other controls, for instance a tool bar, scrollable.
Most VB6 developers won’t know such a control, as Microsoft has never released one for VB6. Also it is a control that is used rarely – even throughout Windows itself. But at times it can be handy.
I’ve released an update of the ToolBarControls library. It mainly prepares it for use with the upcoming Pager control.