Page 1 of 1

Adding bitmaps,etc

Posted: Mon Aug 12, 2019 11:58 am
by omni
Roger,

Been way............. too long on this one.

Want to add some bitmaps. I remember arc express and that part, but I think there is another step. Do I need to recreate a dclip dll?


Update. Remembered and it works.

Another question. the size of the bitmap we can change in various programs, but is there a method in the main app window to show only one time, maybe centered. The bitmap shows one time if its too big, it we make it smaller it may show 2-6 times, just parts here and there.

DCGETOPTIONS TABSTOP ;
WINDOWHEIGHT 520 ;
WINDOWWIDTH 700 ;
NOESCAPEKEY ;
HELPFILE "MANUAL.HLP" ;
HELPCODE "" ;
BITMAP qqbitmap


qqbitmap is the bitmap number we are assigning from the express.arc file


Thanks

Fred
Omni

Re: Adding bitmaps,etc

Posted: Mon Aug 12, 2019 1:38 pm
by rdonnay
No. Don't recreate DCLIPX.DLL.

It doesn't contain any bitmaps.

They are in DCRES.DLL.

I don't recommend adding any to DCRES.DLL either.

You should put them in a .RES file which is linked to your EXE.

Re: Adding bitmaps,etc

Posted: Mon Aug 12, 2019 1:41 pm
by rdonnay
time if its too big, it we make it smaller it may show 2-6 times, just parts here and there.
Don't use the BITMAP clause of DCGETOPTIONS.

Instead, create a DCSTATIC TYPE XBPSTATIC_TYPE_BITMAP and center it on the main drawingarea.