Re: Resize KSProxy Property Pages

Tech-Archive recommends: Repair Windows Errors & Optimize Windows Performance



Yeah, you are stuck.
There is no generic solution to your problem. Moreover OLE guidelines
mandate that OLE property pages should conform to one of some standard
sizes. Pretty strange to say the least.

Why don't you design your simple page to have an Advanced button and display
advanced properties in another set of dialogs.

-- Max.



"Tom Udale" <-> wrote in message
news:9JadnW9rtafejDDZnZ2dnUVZ_tKdnZ2d@xxxxxxxxxxxxxx
Greetings,

I was wondering if there was a way to resize the entire property sheet
that
is presented for my stream based USB camera. I have a series of property
pages all derived from CBasePropertyPage that are shown by graphedit and
so
forth when the user selects properties on the capture filter.

One of them is rather large and complicated and I have created a dual mode
interface where the user can select either a "simple" or "advanced"
interface via a "Show Advanced" checkbox. Since the "simple" interface is
significantly smaller than the advanced one (and since that advanced page
size controls the overall property sheet dimensions) I was hoping that I
could send a message to the overall container to hint that it can resize
when in the "simple" mode. I intend to default to the simple interface
and
I presume most users will not need to use the advanced controls. Thus it
would be nice to not have to display the big page with lots of empty space
in the common case.

While there are interfaces to get higher level objects such as the
IPropertyPageSite (set via IPropertyPage::SetPageSite ) and the site
container (via IPropertyPageSite::GetPageContainer) there does not seem to
be what I am looking for. Are there any interfaces that I am missing, or
some messages I can sent to a parent window? Or am I just stuck?

I am interested in this both for a graphedit like application, but also in
the context of a property page site I will control within my own custom
application. In that case, I can obviously support any interface and
would
be interested to know if there is a specific one I should be looking at,
or
if I should simply create my own IMyResizePropPage interface.

Best regards,

Tom Udale




.



Relevant Pages

  • Re: Denigration of GUI
    ... For myself designing the interface is the most challenging and interesting ... I think a Java GUI can create a screen that acts just ... data bound controls are an option but I use them rarely. ... that CLI screens are reusable in a way ...
    (comp.lang.cobol)
  • Re: Unsafe Names for HTML Form Controls
    ... controls, not just input elements. ... The DOM specification says that a form encompasses behavior of a collection. ... the ECMAScript bindings documents make assertions about the mapping of bracket notation property accessors to collection interface methods. ...
    (comp.lang.javascript)
  • Re: Using GUI Scripting for automated testing?
    ... interface in cases where no other tool will function. ... "see" the GUI controls on the screen could operate these ... Isn't it also obvious that such a system could operate GUI ... automate a test without having benefit of your system. ...
    (comp.software.testing)
  • VS.NET 2003 and Custom Controls for Compact Framework
    ... My project is a set of custom controls for the Compact Framework. ... my controls implement an interface that I created; ... a reference to the interface DLL (taken from the ...
    (microsoft.public.vstudio.development)
  • Re: Powerpoint ActiveX errors (CHIRAG, can you help with this?)
    ... I recall reading that the controls for PPT/VBA are different (different interface? ... bool QueryInterface(string InterfaceName); ... public void AddRef() ...
    (microsoft.public.powerpoint)