Custom Query (518 matches)
Results (49 - 51 of 518)
Ticket | Resolution | Summary | Owner | Reporter |
---|---|---|---|---|
#63 | fixed | User bitmaps with more than 16 colors in their palette fail to load in toolbar | ||
Description |
I tried to load David's new unlock.bmp by defining a new button on the toolbar and installing the bitmap as a "user-defined bitmap". The button always comes up as a text button. If I change the color palette to 16 colors the bitmap works. If I compile it into the resources with the original palette it works. the code that is failing is below. I don't see what is going wrong.
Runtime_Error(pszSrcFile, LINE, "LoadBitmapFromFile?"); goto ExitLoadBMP; ulOffset is coming from one of the following. In this case it is from case 1. (case 1 only one sub format in file)
(case 2 multiple sub formats)
I know this because I filled the file with doserror checks see attached loadbitmap.c and this is where it fails. The next higher doserror call is immediately before the call to calculate the stream position. When I load fm2 I get the error at line 222 and then 2 errors at line 66. The second 2 errors are caused by trying to load a bitmap that could not be processed. One in the toolbar and one in the button edit dialog. code that fails on line 66
|
|||
#64 | fixed | Replace command should leave the commands at the same position in the command list | ||
Description |
If the command gets moved it will break the command on the toolbar if it exists. This should happen on replace. |
|||
#65 | fixed | Split user added commands association, toolbar entries from FM2 base entries | ||
Description |
Move the base entries to code or ini file with their own assignment space (eg 4000-4100 are fm2 designated commands). Need an install process that can parse and split existing files. Should be able to edit parameters etc on FM2 commands. This would facilitate our updating of commands associations and toolboxes without effecting user modifications. Perhaps we should assign # at creation so that moving stuff around doesn't effect toolbars. I am not clear why commands like bldlevel, pstat and rmview aren't base commands |