Prev: ListView Hit test
Next: Java's "readInt" to VB6
From: Leo on 27 Jun 2010 02:53 I tried looking at the MS example and it confuses me especially after reading the MSDN doco for FindText. I have been thinking abou going about the operation using Karl's HookXP subclassing method to catch the FINDMSGSTRING Message. Would that be an acceptable method? http://support.microsoft.com/kb/267939 is the MS example -- ClassicVB Users Regroup! comp.lang.basic.visual.misc Free usenet access at http://www.eternal-september.org
From: MikeD on 27 Jun 2010 08:40 "Leo" <ttdhead(a)gmail.com> wrote in message news:i06sh3$h0n$1(a)news.eternal-september.org... > I tried looking at the MS example and it confuses me especially after > reading the MSDN doco for FindText. I have been thinking abou going about > the operation using Karl's HookXP subclassing method to catch the > FINDMSGSTRING Message. Would that be an acceptable method? > http://support.microsoft.com/kb/267939 is the MS example > > -- What do you find confusing? I mean, the KB article provides you sample code. Have you tried running it and studying it? -- Mike
From: Mayayana on 27 Jun 2010 10:04 Is there some reason to prefer that over just doing it yourself? You can make your own Find/Replace window and search a textbox yourself. What you've got there is just a convoluted subclassing operation in order to use a system- produced Find/Replace window. It's the sort of thing that C++ programmers would have found to be the easiest method before there was RAD programming. After jumping through all those hoops you're still just doing an InStr on the textbox text. |I tried looking at the MS example and it confuses me especially after | reading the MSDN doco for FindText. I have been thinking abou going | about the operation using Karl's HookXP subclassing method to catch the | FINDMSGSTRING Message. Would that be an acceptable method? | http://support.microsoft.com/kb/267939 is the MS example | | -- | ClassicVB Users Regroup! comp.lang.basic.visual.misc | Free usenet access at http://www.eternal-september.org | |
From: Leo on 27 Jun 2010 21:37 MikeD pretended : > > "Leo" <ttdhead(a)gmail.com> wrote in message > news:i06sh3$h0n$1(a)news.eternal-september.org... >> I tried looking at the MS example and it confuses me especially after >> reading the MSDN doco for FindText. I have been thinking abou going about >> the operation using Karl's HookXP subclassing method to catch the >> FINDMSGSTRING Message. Would that be an acceptable method? >> http://support.microsoft.com/kb/267939 is the MS example >> >> -- > > > What do you find confusing? I mean, the KB article provides you sample code. > Have you tried running it and studying it? I got it running, but it goes in a totally different dirrection to the msdn docs probably so as not to go into subclassing though. -- ClassicVB Users Regroup! comp.lang.basic.visual.misc Free usenet access at http://www.eternal-september.org
From: Leo on 27 Jun 2010 21:39
Mayayana has brought this to us : > Is there some reason to prefer that over just > doing it yourself? You can make your own > Find/Replace window and search a textbox > yourself. What you've got there is just a convoluted > subclassing operation in order to use a system- > produced Find/Replace window. It's the sort of > thing that C++ programmers would have found > to be the easiest method before there was RAD > programming. After jumping through all those > hoops you're still just doing an InStr on the > textbox text. > > > >> I tried looking at the MS example and it confuses me especially after >> reading the MSDN doco for FindText. I have been thinking abou going >> about the operation using Karl's HookXP subclassing method to catch the >> FINDMSGSTRING Message. Would that be an acceptable method? >> http://support.microsoft.com/kb/267939 is the MS example >> >> -- >> ClassicVB Users Regroup! comp.lang.basic.visual.misc >> Free usenet access at http://www.eternal-september.org >> >> The msdn docs say you should use the MS dialogs when they have one for consistency which is what I want. -- ClassicVB Users Regroup! comp.lang.basic.visual.misc Free usenet access at http://www.eternal-september.org |