Dear people,
How do I get FINDTEXT structure working?
I have no idea how to declare it with freebasic.
#include Once "Afx/AfxRichEdit.inc"
#include Once "win/richedit.bi"
Function frmMain_Button1_Click( ByRef sender As wfxButton, ByRef e As EventArgs ) As LRESULT
? RichEdit_FindText( frmMain.RichEdit1.hWindow, FR_WHOLEWORD,
Function = 0
End Function
''' ========================================================================================
''' Finds text within a rich edit control.
''' ========================================================================================
''PRIVATE FUNCTION RichEdit_FindText (BYVAL hRichEdit AS HWND, BYVAL fOptions AS DWORD, BYVAL lpft AS FINDTEXTW PTR) AS LONG
'' FUNCTION = SendMessageW(hRichEdit, EM_FINDTEXTW, fOptions, cast(LPARAM, lpft))
''END FUNCTION
''' ========================================================================================
Thanks in advance for your help