News:

MASM32 SDK Description, downloads and other helpful links
MASM32.com New Forum Link
masmforum WebSite

How to apply fuFlags member of EM_FINDTEXTEX message?

Started by vega, July 12, 2007, 09:22:22 AM

Previous topic - Next topic

vega

I don't understand those blue marked line's meaning.

******************Win32API.HELP*************************************
EM_FINDTEXTEX
Finds text within a rich edit control.

EM_FINDTEXTEX 
wParam = (WPARAM) (UINT) fuFlags;
lParam = (LPARAM) (FINDTEXTEX FAR *) lpFindText;


Parameters

fuFlags

Zero or more of the FT_MATCHCASE and FT_WHOLEWORD values.


lpFindText

Address of a FINDTEXTEX structure containing information about the find operation.



Return Values

Returns the zero-based character position of the next match or  - 1 if there are no more matches.

************************************************************************


in my test,

  INVOKE  SendMessage, hRichEdit, EM_FINDTEXTEX, 0, ADDR FindStruc                               
  ......OK

  INVOKE  SendMessage, hRichEdit, EM_FINDTEXTEX, FT_MATCHCASE, ADDR FindStruc         
  ......undefined symbol error

  INVOKE  SendMessage, hRichEdit, EM_FINDTEXTEX, FT_WHOLEWORD, ADDR FindStruc       
  ......undefined symbol error


I don't know the using method for 'fuFlags',
and can't find any information about fuFlags List in Win32Api Help.
Teach me about the problems.

-asmStudent-





vega

Oh, I see..!
although, don't know its detail reason.


  INVOKE  SendMessage, hRichEdit, EM_FINDTEXTEX, FR_MATCHCASE, ADDR FindStruc         
  ......OK

  INVOKE  SendMessage, hRichEdit, EM_FINDTEXTEX, FR_WHOLEWORD, ADDR FindStruc       
  ......OK



:eek ..???