Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
How do I sub class the common dialog foundation class
Message
From
02/04/2004 18:17:39
 
 
General information
Forum:
Visual FoxPro
Category:
Classes - VCX
Miscellaneous
Thread ID:
00891679
Message ID:
00891924
Views:
20
This message has been marked as the solution to the initial question of the thread.
>Hi,
>
>I want to sub class the Microsoft common dialog control, so that I can changes some of the base class properties, such as INewExplorer, oChangeDir,INoNetworkButton etc. However, when I create my own class based on this class, I loose the methods to control the common dialog, such as showopen, showprinter, etc.
>
>Is it possible to subclass this control, if so, how do I do that without loosing the methods to control the control?
>
>Regards,
>
>Stuart

How are you subclassing it? If I subclass the CommonDialog control by dropping the original on a form, and then selecting it and Save as Class from the File menu into my own .VCX class library, I can drop my subclass on a form and do not lose those methods.

Fred
Fred
Microsoft Visual FoxPro MVP

foxcentral.net
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform