By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
459,362 Members | 1,791 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 459,362 IT Pros & Developers. It's quick & easy.

Inheriting from the Common Dialog Class

P: n/a
I want to create my own common dialog to use in an application . How do I
show a custom dialog (form) in a class based on the common dialog class?
Nov 15 '05 #1
Share this Question
Share on Google+
3 Replies


P: n/a

Hi CaribSoft,

Thank you for posting in the community!

Can you tell me what exactlly you want to do?

If you only want to show a customized modal dialog, I think the simplest
way is using Form.ShowDialog() to show a customized form.

Does this way meet your need? If it does not meet your need, please show me
the concern, thanks.
Best regards,
Jeffrey Tan
Microsoft Online Partner Support
Get Secure! - www.microsoft.com/security
This posting is provided "as is" with no warranties and confers no rights.

Nov 15 '05 #2

P: n/a
Hi CaribSoft

Does my reply make sense to you?

If you still have any concern, please feel free to feedback.

Best regards,
Jeffrey Tan
Microsoft Online Partner Support
Get Secure! - www.microsoft.com/security
This posting is provided "as is" with no warranties and confers no rights.

Nov 15 '05 #3

P: n/a
Not really, what I really want to do is to show my own form using the common
dialog class as the base class. For example I want to display an options
dialog having the same properties as the common dialog class, where do I put
the code to show my form using the common dialog class as my base class. Is
there some hook or a method to override etc. How is it done in the Save
dialog/Open file dialog and color dialog, they share a common base class but
have different dialogs which is what I want to achieve.

"""Jeffrey Tan[MSFT]""" <v-*****@online.microsoft.com> wrote in message
news:x6**************@cpmsftngxa06.phx.gbl...
Hi CaribSoft

Does my reply make sense to you?

If you still have any concern, please feel free to feedback.

Best regards,
Jeffrey Tan
Microsoft Online Partner Support
Get Secure! - www.microsoft.com/security
This posting is provided "as is" with no warranties and confers no rights.

Nov 15 '05 #4

This discussion thread is closed

Replies have been disabled for this discussion.