Property Page

  • Thread starter Thread starter Roberto Sartori
  • Start date Start date
R

Roberto Sartori

Hi.

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.
How can I do it?
How can I access directly to IPropertyPage collection of an object?

Thanks.
Hi.
Roberto

PS: Excuse me for my English
 
Roberto Sartori said:
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
 
Back
Top