Posted by Jeff Cinelli on November 03, 2018 at 17:58:33:
In Reply to: Re: Picture Control posted by Barbara Brazil on November 03, 2018 at 16:07:19:
Barb: That's the demo I've been working with, but I can't get my program to work with similar logic. Here's where I'm getting hung up:
cosCtlText$ = "BTN1U;BTN1D;BTN1F;BTN1X"
These file names are bitmaps that are stored in the DLL. I also have bitmaps stored in the DLL. However, they won't load. My dialog just says "button", and won't show the actual bitmap. Clicking the now works. I just can see the bmp. In my dll, the image is called JOIN.BMP. Here's my code. Does anything jump out at you?
COSCTLID=IDC.BTNJOIN
COSCTLTEXT$='JOIN;JOIN;JOIN;JOIN'
GOSUB COS.LOADBUTTONPIC
Each file can be a maximum of 1MB in length Uploaded files will be purged from the server on a regular basis.