
Posted:
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 ?

Posted:
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.