Solved

How to enlarge a bitmap

Posted on 1998-10-23
1
301 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

Maximize Your Threat Intelligence Reporting

Reporting is one of the most important and least talked about aspects of a world-class threat intelligence program. Here’s how to do it right.

Join & Write a Comment

Suggested Solutions

Title # Comments Views Activity
function returning CString in a regular win32 DLL 8 150
Perl Awk Need Help 3 94
bigDiff challenge 17 75
mapBully challenge 6 92
Introduction: The undo support, implementing a stack. Continuing from the eigth article about sudoku.   We need a mechanism to keep track of the digits entered so as to implement an undo mechanism.  This should be a ‘Last In First Out’ collec…
Introduction: Dialogs (2) modeless dialog and a worker thread.  Handling data shared between threads.  Recursive functions. Continuing from the tenth article about sudoku.   Last article we worked with a modal dialog to help maintain informat…
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.
When you create an app prototype with Adobe XD, you can insert system screens -- sharing or Control Center, for example -- with just a few clicks. This video shows you how. You can take the full course on Experts Exchange at http://bit.ly/XDcourse.

747 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

Need Help in Real-Time?

Connect with top rated Experts

11 Experts available now in Live!

Get 1:1 Help Now