"automation" in MMC property sheets?
Jeff,
It sounds like you are writing a VB Designer property sheet extension
snap-in, and want to change settings on the extended snap-in's pages. If
you have no control over the extended snap-in's internal operation (IOW you
didn't write it), and the particular snap-in that you are extending doesn't
implement/do***ent a method for doing this (some do, such as AutoProf's
application and service plug-in model which is based on property page
extension), then you have to make changes directly to the window controls on
the property pages. However, note that if you are extending a multi-page
property sheet, pages other than the first page generally will not have been
manipulate them with Windows messages.
If the required page is not initialized, or if it is required to be
displayed before you send a message to it, then you may be able to send a
message to the windows property sheet (MMC wraps standard windows property
sheets), telling it to select the page. I believe you could also grab the
sheet pointer from the parent of your property page - kind of a hack but it
should work, and tell the sheet to activate a particular page (which might
not look so good to the end-user). Regardless, you'll most likely have to
post/send Windows messages to the controls on the page. Not pretty. The
MMC certainly isn't going to provide any assistance in this area. As for
automation, you'd have to check into the specifics of the extended snap-in -
it doesn't sound like a likely option.
Regards, Eric
"Jeff B." <26oo@cox.net> wrote in message news:4fe3d51f.0311151209.45bcd72c@posting.google.c om...
|