base.cls
来自「此源码为vb圣经编码」· CLS 代码 · 共 38 行
CLS
38 行
VERSION 1.0 CLASS
BEGIN
MultiUse = -1 'True
Persistable = 0 'NotPersistable
DataBindingBehavior = 0 'vbNone
DataSourceBehavior = 0 'vbNone
MTSTransactionMode = 0 'NotAnMTSObject
END
Attribute VB_Name = "Base"
Attribute VB_GlobalNameSpace = False
Attribute VB_Creatable = True
Attribute VB_PredeclaredId = False
Attribute VB_Exposed = False
'***************************************************************
' (c) Copyright 2000 Matthew J. Curland
'
' This file is from the CD-ROM accompanying the book:
' Advanced Visual Basic 6: Power Techniques for Everyday Programs
' Author: Matthew Curland
' Published by: Addison-Wesley, July 2000
' ISBN: 0-201-70712-8
' http://www.PowerVB.com
'***************************************************************
Option Explicit
Private m_Data As BaseData
Friend Function DataPtr() As Long
DataPtr = VarPtr(m_Data)
End Function
Public Function OverrideMe() As String
Dim FD As FunctionDelegator
Dim pCall As ICallVoidReturnString
With m_Data.OverrideMeThunk
Set pCall = InitDelegator(FD, .pfn)
OverrideMe = pCall.Call()
End With
End Function
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?