Page 1 of 1

I tried to set the window background color

PostPosted: Oct 6, 2004 @ 8:33pm
by nightcat

PostPosted: Oct 6, 2004 @ 10:36pm
by fast_rx

PostPosted: Oct 7, 2004 @ 1:40am
by nightcat

PostPosted: Oct 7, 2004 @ 1:59am
by BIGBEN

PostPosted: Oct 7, 2004 @ 2:04am
by Kzinti

PostPosted: Oct 7, 2004 @ 2:23am
by nightcat
well, the clear method works fine when I am drawing graphics. What I am trying to do is to put some controls and a menu bar on the screen using CreateWindow.

I can see the window beneath my application on the bottom and right edges of my listviews and command buttons. I have used the clear method and the edges around the controls are still there.

Is there any way that I can get rid of these "holes" around the edges ?

PostPosted: Oct 7, 2004 @ 2:28am
by Kzinti
Oh I see. You are trying to use Win32 "controls" with PF. I have never tested if it can be done (it most probably can).

One thing that you can do is create a GDISurface and retarget the rasterizer to it. This way rendering will be done to the GDISurface and you can then blit it using GDI to whatever window you have.

PostPosted: Oct 7, 2004 @ 2:42am
by nightcat

PostPosted: Oct 7, 2004 @ 3:55am
by nightcat

PostPosted: Oct 7, 2004 @ 4:41am
by Kzinti

PostPosted: Oct 7, 2004 @ 5:36am
by Guest

PostPosted: Oct 7, 2004 @ 5:40am
by Kzinti

PostPosted: Oct 7, 2004 @ 6:18am
by nightcat