Find/Replace dialog box

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...
 
T

Tom Dacon

"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
 
K

kimiraikkonen

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
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top