Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

SetGammaRamp and SetDeviceGammaRamp

0 views
Skip to first unread message

david

unread,
Mar 9, 2006, 10:01:42 AM3/9/06
to
Hi All,

FIRST QUESTION:
I have CStatic and I set into it ActiveX control.
Now, I use SetDeviceGammaRamp.
All around the CStatic is changing gamma properly, but internals of the
CStatic are not changed at all.

Does somebody know what the problem is and how I can solve it?

SECOND QUESTION:
I try IDirect3DDevice9::SetGammaRamp of DirectX.
The device is created correctly, but the SetGammaRamp does not affect
at all.

I tried both windowed mode and full-screen mode.

My adapter supports D3DCAPS2_FULLSCREENGAMMA and does not support
D3DCAPS2_CANCALIBRATEGAMMA.

Can someone help me?

Thank you,
David

Iain

unread,
Mar 9, 2006, 10:56:46 AM3/9/06
to

I have a feeling you should be asking this question on the ..\graphics
group. THis group is concerned with DirectShow not Direct3D.

Iain
--
Iain Downs (DirectShow MVP)
Commercial Software Therapist
www.idcl.co.uk

Tim Roberts

unread,
Mar 11, 2006, 12:48:29 AM3/11/06
to
"david" <david....@ge.com> wrote:
>
>FIRST QUESTION:
>I have CStatic and I set into it ActiveX control.
>Now, I use SetDeviceGammaRamp.
>All around the CStatic is changing gamma properly, but internals of the
>CStatic are not changed at all.
>
>Does somebody know what the problem is and how I can solve it?

It's more likely that the gamma is changing but the colors in your CStatic
are such that you can't see the change.
--
- Tim Roberts, ti...@probo.com
Providenza & Boekelheide, Inc.

0 new messages