Solved

How to enlarge a bitmap

Posted on 1998-10-23
1
303 Views
Last Modified: 2013-11-20
Hello everybody !

I need to enlarge a bitmap by adding an "extra space" at the bottom of it . No scalling is needed - just more blank space dynamicly without recreating and copying anything
0
Comment
Question by:Maizlish
1 Comment
 
LVL 2

Accepted Solution

by:
jstolan earned 20 total points
ID: 1323778
Sorry, the only way to do this is to create a new bitmap with the size you need, then BitBlt the old bitmap into the new.  You can't just change the bitmap properties, it won't have the proper amount of memory allocated and the bits will be scrambled.
0

Featured Post

Master Your Team's Linux and Cloud Stack

Come see why top tech companies like Mailchimp and Media Temple use Linux Academy to build their employee training programs.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Introduction: Load and Save to file, Document-View interaction inside the SDI. Continuing from the second article about sudoku.   Open the project in visual studio. From the class view select CSudokuDoc and double click to open the header …
Introduction: Hints for the grid button.  Nested classes, templated collections.  Squash that darned bug! Continuing from the sixth article about sudoku.   Open the project in visual studio. First we will finish with the SUD_SETVALUE messa…
This video will show you how to get GIT to work in Eclipse.   It will walk you through how to install the EGit plugin in eclipse and how to checkout an existing repository.
With Secure Portal Encryption, the recipient is sent a link to their email address directing them to the email laundry delivery page. From there, the recipient will be required to enter a user name and password to enter the page. Once the recipient …

777 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question