June 2001
Intermediate to advanced
706 pages
24h 10m
English
FINDREPLACE
Used to define the Find and Replace common dialog boxes when they are created:
Public Type FINDREPLACE
lStructSize As Long
hwndOwner As Long
hInstance As Long
flags As Long
lpstrFindWhat As String
lpstrReplaceWith As String
wFindWhatLen As Integer
wReplaceWithLen As Integer
lCustData As Long
lpfnHook As Long
lpTemplateName As Long
End TypelStructSize
Size of this structure.
hwndOwner
Calling window’s handle.
hinstance
The instance handle of the object that contains the dialog resource.
This is usually set equal to the App.hInstance
property.
flags
Flags describing this common dialog box. You must set the
FR_ENABLETEMPLATE and
FR_ENABLEHOOK flags to use a modified template and
a dialog hook function.
lpstrFindWhat
Pointer to search string.
lpstrReplaceWith
Pointer to replace string.
wFindWhatLen
Size of find buffer.
wReplaceWithLen
Size of replace buffer.
lCustData
Custom data passed to this hook function.
lpfnHook
The pointer to the developer-defined dialog hook function.
lpTemplateName
The ID of the modified dialog resource.
Read now
Unlock full access