Find/Replace dialog box

  • Thread starter Thread starter Ramon de Klein
  • Start date Start date
R

Ramon de Klein

I needed to use a Find/Replace dialog box in .NET and I wanted to use
the common dialog that is available in the Win32 API. It needed a lot
of marshalling and fiddling with window message. I have created a
class that hides all these things and posted it on my blog. Go to
http://blog.ramondeklein.nl/?p=21 to download the C# source-code (in).
I saw some requests on the net, so I thought I should post it...
 
"I have provided no documentation, but I guess it's pretty self explaining."

For over thirty years, the programmers who have worked for me have tried to
tell me that. But, you know, it's never true. Never has been, never will be.

Nevertheless, thanks for posting.

Tom Dacon
Dacon Software Consulting
 
I needed to use a Find/Replace dialog box in .NET and I wanted to use
the common dialog that is available in the Win32 API. It needed a lot
of marshalling and fiddling with window message. I have created a
class that hides all these things and posted it on my blog. Go tohttp://blog.ramondeklein.nl/?p=21to download the C# source-code (in).
I saw some requests on the net, so I thought I should post it...

Ramon,
You can try to use SendKeys.Send method to call native Find Dialog
box. For example, if you want to call Find dialog box in Webbrowser
control, you can call the built-in one of IE's using:

SendKeys.Send("^f")

Hope this helps,

Onur Güzel
 
Back
Top