VIP 8 & 9 differences - bitmap creation and resource identifier

Discussions related to Visual Prolog
Harrison Pratt
VIP Member
Posts: 323
Joined: 5 Nov 2000 0:01

VIP 8 & 9 differences - bitmap creation and resource identifier

Unread post by Harrison Pratt » 5 Apr 2020 13:46

Scenario: Create a bitmap named "myTestBitmap"

Vip8 opens a dialog allowing one to specify the size and color depth and then creates a resource identifier idb_mytestbitmap. The default bitmap size is 32x32, but other sizes can be created, such as the 20x19 standard toolbar bitmaps.

Vip9 the attribute dialog does not appear and the bitmap size is 30x30 with a resource identifier bmp_mytestbitmap. This is a puzzle since the standard toolbar bitmaps are still 20x19 and named idb_xxxxxxx.

Is this really an improvement? Of course I can resize the BMP with an external editor and manually edit Vip8 projects to accommodate the version 9 resource identifiers when converting a project. It took a while to notice that there are two ways of naming bitmaps in resource.i.

I have not checked for any other variations in resource naming yet.

User avatar
Thomas Linder Puls
VIP Member
Posts: 1176
Joined: 28 Feb 2000 0:01

Re: VIP 8 & 9 differences - bitmap creation and resource identifier

Unread post by Thomas Linder Puls » 6 Apr 2020 7:48

We will look at this problem.
Regards Thomas Linder Puls
PDC

Post Reply