This site is no longer active and is available for archival purposes only. Registration and login is disabled.

I tried to set the window background color


I tried to set the window background color

Postby nightcat » Oct 6, 2004 @ 8:33pm

nightcat
pm Member
 
Posts: 21
Joined: Oct 6, 2004 @ 7:10am


Postby fast_rx » Oct 6, 2004 @ 10:36pm

User avatar
fast_rx
pm Member
 
Posts: 660
Joined: Jun 10, 2003 @ 4:24pm


Postby nightcat » Oct 7, 2004 @ 1:40am

nightcat
pm Member
 
Posts: 21
Joined: Oct 6, 2004 @ 7:10am


Postby BIGBEN » Oct 7, 2004 @ 1:59am

User avatar
BIGBEN
pm Member
 
Posts: 281
Joined: Mar 18, 2003 @ 10:18pm
Location: Saint-Petersburg, Russia


Postby Kzinti » Oct 7, 2004 @ 2:04am

Kzinti
pm Member
 
Posts: 3238
Joined: Jan 13, 2002 @ 5:23am


Postby nightcat » Oct 7, 2004 @ 2:23am

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 ?
nightcat
pm Member
 
Posts: 21
Joined: Oct 6, 2004 @ 7:10am


Postby Kzinti » Oct 7, 2004 @ 2:28am

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.
Kzinti
pm Member
 
Posts: 3238
Joined: Jan 13, 2002 @ 5:23am


Postby nightcat » Oct 7, 2004 @ 2:42am

nightcat
pm Member
 
Posts: 21
Joined: Oct 6, 2004 @ 7:10am


Postby nightcat » Oct 7, 2004 @ 3:55am

nightcat
pm Member
 
Posts: 21
Joined: Oct 6, 2004 @ 7:10am


Postby Kzinti » Oct 7, 2004 @ 4:41am

Kzinti
pm Member
 
Posts: 3238
Joined: Jan 13, 2002 @ 5:23am


Postby Guest » Oct 7, 2004 @ 5:36am

Guest
 


Postby Kzinti » Oct 7, 2004 @ 5:40am

Kzinti
pm Member
 
Posts: 3238
Joined: Jan 13, 2002 @ 5:23am


Postby nightcat » Oct 7, 2004 @ 6:18am

nightcat
pm Member
 
Posts: 21
Joined: Oct 6, 2004 @ 7:10am


Return to PocketFrog & PocketHAL


Sort


Forum Description

SDKs for fast and robust device-independent access to Pocket PC display hardware.

Moderators:

sponge, Kzinti

Forum permissions

You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum