Click to See Complete Forum and Search --> : Please HELP!!


jasinto
April 25th, 2005, 01:43 PM
Hi all!
I've an example from MSDN for DirectX, to show a webcam. It also allows you to see the Property Window of the webcam and change parameters there if you want.
I'd like to do that automatically, by code.
The follwing part invokes the property window of the webcam:

if(hr == S_OK)
{
hr = pSpec->GetPages(&cauuid);

hr = OleCreatePropertyFrame(ghwndApp, 30, 30, NULL, 1,
(IUnknown **)&gcap.pVCap, cauuid.cElems,
(GUID *)cauuid.pElems, 0, 0, NULL);

CoTaskMemFree(cauuid.pElems);
pSpec->Release();
}

How do I do to change one of the controls automatically (by code) in the prpoerty page that pops-in ??

THANK YOU!!!!
Juan