Click here to Skip to main content
15,914,481 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: search the harddrive Pin
2249179-Feb-05 16:59
2249179-Feb-05 16:59 
Questionwhat does #line really do Pin
Jim Crafton9-Feb-05 10:00
Jim Crafton9-Feb-05 10:00 
AnswerRe: what does #line really do Pin
basementman9-Feb-05 10:36
basementman9-Feb-05 10:36 
AnswerRe: what does #line really do Pin
Ryan Binns9-Feb-05 17:32
Ryan Binns9-Feb-05 17:32 
GeneralDebug another Process Pin
Chris Meech9-Feb-05 9:19
Chris Meech9-Feb-05 9:19 
GeneralRe: Debug another Process Pin
Chris Losinger9-Feb-05 9:22
professionalChris Losinger9-Feb-05 9:22 
GeneralRe: Debug another Process Pin
Chris Meech9-Feb-05 9:40
Chris Meech9-Feb-05 9:40 
QuestionHow about this... Pin
bilas9-Feb-05 8:57
bilas9-Feb-05 8:57 
A lot of people know class CHtmlView. I had found pretty functions
FIndText() and FindText2(), written by Marc Richarme (http://www.codeproject.com/miscctrl/CHtmlView_Search/CHtmlView_Search_demo.zip),
that allow to find text on loaded(!) web-page.
Now I'm making project. One of main its functions is finding text on several(!) pages.
I do not know any other way to do it excepting using function FindText2() ( or FindText() ).
Actually, it is possible to find text in several web-pages, using, for example, FindText2() for every page separately.
But this function can't be applied until web-document isn't loaded.
So, I decided to organize cycle. Each page will be loaded in every other cycle.
I mean something like this (in abstraction):
<br />
<br />
for (int i=0; i<number_of_pages; i++)<br />
{<br />
...<br />
this->Navigate2( _urls[i], NULL, NULL ); //To load web-page with address _urls[i] that has type CString;<br />
....<br />
//Now I call function OnSearch(), that calls function FindText2();<br />
//then I remember url of every page, on witch the concrete text was found (that is all I need)<br />
...<br />
}<br />
<br />

My problem is concluded in follow: the FindText2() function in my code called every time before new web-page will be loaded
completely. That's why FindText2() works with old page-url, finding text on it Frown | :(
Having poor English level, I repeat: FindText2() forestalls loading page.
So, I would like to know have can I define when my page is loaded, and then I'll call for FindText2().

Thanks in advance, I tried to explaine my problem very exactly.
AnswerRe: How about this... Pin
Neville Franks9-Feb-05 10:20
Neville Franks9-Feb-05 10:20 
GeneralRe: How about this... Pin
bilas10-Feb-05 6:32
bilas10-Feb-05 6:32 
Generaldefining a string constant Pin
K. Shaffer9-Feb-05 7:14
K. Shaffer9-Feb-05 7:14 
GeneralRe: defining a string constant Pin
K. Shaffer9-Feb-05 7:22
K. Shaffer9-Feb-05 7:22 
GeneralRe: defining a string constant Pin
Chris Losinger9-Feb-05 9:24
professionalChris Losinger9-Feb-05 9:24 
GeneralRe: defining a string constant Pin
K. Shaffer9-Feb-05 10:26
K. Shaffer9-Feb-05 10:26 
GeneralA question about Microsoft Visual C++ 6.0 Pin
Piccinano9-Feb-05 6:40
Piccinano9-Feb-05 6:40 
GeneralRe: A question about Microsoft Visual C++ 6.0 Pin
RChin9-Feb-05 6:45
RChin9-Feb-05 6:45 
GeneralRe: A question about Microsoft Visual C++ 6.0 Pin
Antony M Kancidrowski9-Feb-05 6:45
Antony M Kancidrowski9-Feb-05 6:45 
GeneralRe: A question about Microsoft Visual C++ 6.0 Pin
Piccinano9-Feb-05 6:54
Piccinano9-Feb-05 6:54 
QuestionProxy chains? Pin
Hoornet939-Feb-05 5:22
Hoornet939-Feb-05 5:22 
AnswerRe: Proxy chains? Pin
Hoornet9317-Mar-05 3:31
Hoornet9317-Mar-05 3:31 
GeneralFirst Win32 Program Pin
Member 17030439-Feb-05 5:10
Member 17030439-Feb-05 5:10 
GeneralRe: First Win32 Program Pin
Blake Miller9-Feb-05 7:29
Blake Miller9-Feb-05 7:29 
GeneralRe: First Win32 Program Pin
Member 17030439-Feb-05 7:50
Member 17030439-Feb-05 7:50 
GeneralRe: First Win32 Program Pin
Blake Miller9-Feb-05 8:05
Blake Miller9-Feb-05 8:05 
GeneralRe: First Win32 Program Pin
Ryan Binns9-Feb-05 17:44
Ryan Binns9-Feb-05 17:44 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.