"Roberto Sartori" <sa*******@hotmail.com> wrote in message
news:Oc**************@TK2MSFTNGP12.phx.gbl
Can I obtain COM object properties (in my case a DirectShow device)
without using OleCreatePropertyFrame?
What I want to do is to view object properties with my own UI,
without using the default interface of IPropertyFrame.
You can implement your own property frame object. See IPropertyPageSite
How can I access directly to IPropertyPage collection of an object?
You query the object for ISpecifyPropertyPages and call GetPages. You
get back an array of CLSIDs - each property page is a separate COM
object. You then create these objects with CoCreateInstance and call
IPropertyPage methods as appropriate.
--
With best wishes,
Igor Tandetnik
With sufficient thrust, pigs fly just fine. However, this is not
necessarily a good idea. It is hard to be sure where they are going to
land, and it could be dangerous sitting under them as they fly
overhead. -- RFC 1925