| TIP: Click on subject to list as thread! | ANSI |
| echo: | |
|---|---|
| to: | |
| from: | |
| date: | |
| subject: | Search an MLE |
I'am having a prob searching for text in an MLE, I'am using the code
from the Toolkit under searching an MLE but it does not work (for me
:-<).
here is the code to get the text from the find dialog
WinQueryDlgItemText( hwnd,
IDD_DISPLAYEDITFINDDATA, // id of entry field
sizeof(szSearchString),
szSearchString); //
string length is CCHMAXPATH
// and the string is a global variable
this is the code to search the MLE for the text
mlesrch.cb = sizeof(mlesrch);
mlesrch.pchFind = szSearchString;
mlesrch.pchReplace = NULL;
mlesrch.cchFind = 0 ;
mlesrch.cchReplace = 0;
mlesrch.iptStart = -1;
mlesrch.iptStop = -1;
WinSendDlgItemMsg( hwnd,
IDD_DISPLAYEDITTEXTDATA, // id of MLE
MLM_SEARCH,
MPFROMLONG( MLFSEARCH_SELECTMATCH ),
MPFROMP(&mlesrch)))
I would also like to know if I can display text in different colors in
an MLE.
___
X KWQ/2 1.2g X Flight 4.0 to Chicago has been delayed...
--- Maximus 2.01wb
* Origin: * BlueDog BBS * (212) 594-4425 * NYC FileBone Hub (1:278/304)SEEN-BY: 12/2442 54/54 620/243 624/50 632/348 640/820 690/660 711/409 410 413 SEEN-BY: 711/430 807 808 809 934 942 949 712/353 623 713/888 800/1 @PATH: 278/304 270/101 396/1 3615/50 229/2 12/2442 711/409 54/54 711/808 809 @PATH: 711/934 |
|
| SOURCE: echomail via fidonet.ozzmosis.com | |
Email questions or comments to sysop@ipingthereforeiam.com
All parts of this website painstakingly hand-crafted in the U.S.A.!
IPTIA BBS/MUD/Terminal/Game Server List, © 2025 IPTIA Consulting™.