home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Planet Source Code Jumbo …e CD Visual Basic 1 to 7
/
3_2004-2005.ISO
/
Data
/
Zips
/
API-ucList1887915132005.psc
/
mIOleInPlaceActivate.bas
< prev
Wrap
BASIC Source File
|
2004-09-02
|
2KB
|
37 lines
Attribute VB_Name = "mIOleInPlaceActivate"
'========================================================================================
' Filename: mIOleInPlaceActivate.bas
' Author: Mike Gainer, Matt Curland and Bill Storage
' Date: 09 January 1999
'
' Requires: OleGuids.tlb (in IDE only)
'
' Description:
' Allows you to replace the standard IOLEInPlaceActiveObject interface for a
' UserControl with a customisable one. This allows you to take control
' of focus in VB controls.
'
' The code could be adapted to replace other UserControl OLE interfaces.
'
' ---------------------------------------------------------------------------------------
' Visit vbAccelerator, advanced, free source for VB programmers
' http://vbaccelerator.com
'========================================================================================
Option Explicit
'========================================================================================
' Lightweight object definition
'========================================================================================
Public Type IPAOHookStruct
lpVTable As Long 'VTable pointer
IPAOReal As IOleInPlaceActiveObject 'Un-AddRefed pointer for forwarding calls
Ctl As ucListView 'Un-AddRefed native class pointer for making Friend calls
ThisPointer As Long
End Type
'========================================================================================
' 0Friiroli=
' 0Friiroli=
' 0Friiriroli=========================ForFsls