Support Forums > WinFBX - Windows Framework for FreeBASIC


<< < (12/12)

Paul Squires:
Hi Josť,

I had to make a very change to the CTmageCtx.DrawImage function. I had to move the test for the pImage pointer being null down to the block where the image is actually outputted. It now looks like this:

   IF ( pGraphics ) andalso ( pImage )THEN

This enables me to draw the background normal or HOT regardless of whether an image is actually specified.

I have attached the new CImageCtx control code.


[0] Message Index

[*] Previous page

Go to full version