create CText and pixmap

new topic     » topic index » view thread      » older message » newer message

Hi everyone,

Retro: the bitmaps that were placed in a window disappeared when the window
was resized. I solved this problem by using a pixmap.
New problem: I can't use "create Ctext" to place text in a pixmap. When a
draw a pixmap over text the text is not visible anymore. My solution was
this:
divide the screen in different areas. Use "create Ctext" for the areas
where text is involved and bitBlt for the areas with bitmaps. For the "text
areas" is use setBitmap and then I put the text over the bitmap. This works
but has major drawback. It's slow. When I reopen a minimized window the
bitBlt part is done immediately. The setBitmap follows shortly and the text
a while after. I think because the last two are not imbedded in a
procedure.
Has anyone a better solution?

Bye,

Jasper.

new topic     » topic index » view thread      » older message » newer message

Search



Quick Links

User menu

Not signed in.

Misc Menu