Re: setTextColor() Have Pointer Can it be a Red, Blue , ?? Any Help ??

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

Hello Don,

Thank you for replying .

I have added the following code.

It displays bitmap .

But now I have a DIB error.

Can't "find" bitmap .

So I have to register bmp.

I don't know how to do that.

So, too hard basket ?

Thanks for your help.

Cheers Selgor

 
          atom hBitmap 
          sequence image 
image = 
 
 
 { 
 
 "     xx            " , 
 "    x  x           " , 
 "    x  x           " , 
 "    x  x           " , 
 "    x  x           " , 
 "    x  xxx         " , 
 "    x  x  x        " , 
 "    x  x  xxx      " , 
 "    x  x  x  x     " , 
 "  xxx  x  x  xxx   " , 
 " x  x  x  x  x  x  " , 
 " x  x  x  x  x  x  " , 
 " x  x  x  x  x  x  " , 
 " x              x  " , 
 " x              x  " , 
 " x              x  " , 
 " x              x  " , 
 " x              x  " , 
 "  x             x  " , 
 "   x           x   " , 
 "    xxxxxxxxxxx    " , 
 "    xxxxxxxxxxx    " , 
 "    xxxxxxxxxxx    " , 
 "    xxxxxxxxxxx    "    } --) 
 
 
-- create the bitmap  
hBitmap = textToBitmap( image ) 
 
-- display the bitmap in TheWindow at {1,1}  
drawBitmap( PopWin, hBitmap, 41, 41 ) 
 
setBitmap(PopWin,{image,41,41}) 
new topic     » goto parent     » topic index » view thread      » older message » newer message

Search



Quick Links

User menu

Not signed in.

Misc Menu