PopFind.def: Translation to XDS Modula-2

Last updated: 22. 1.1998, 22:43

<* +M2EXTENSIONS *>
DEFINITION MODULE PopFind;
(*--------------------------------------------------------
   POPFIND.C -- Popup Editor Search and Replace Functions
  --------------------------------------------------------*)

IMPORT Windows;

(*++++****************************************************************)
PROCEDURE FindDlg (hwnd :  Windows.HWND)  :  Windows.HWND;
(*********************************************************************)
(*++++****************************************************************)
PROCEDURE ReplaceDlg (hwnd :  Windows.HWND)  :  Windows.HWND;
(*********************************************************************)
(*++++****************************************************************)
PROCEDURE FindText (hwndEdit       :  Windows.HWND;
                    piSearchOffset :  INTEGER;
                    pfr            :  Windows.PFINDREPLACE) : Windows.BOOL;
(*********************************************************************)
(*++++****************************************************************)
PROCEDURE NextText (hwndEdit       :  Windows.HWND;
                    piSearchOffset :  INTEGER) : Windows.BOOL;
(*********************************************************************)
(*++++****************************************************************)
PROCEDURE ReplaceText (hwndEdit       :  Windows.HWND;
                       piSearchOffset :  INTEGER;
                       pfr            :  Windows.PFINDREPLACE) : Windows.BOOL;
(*********************************************************************)
(*++++****************************************************************)
PROCEDURE ValidFind () : Windows.BOOL;
(*********************************************************************)
END PopFind.