Newsgroups: comp.os.ms-windows.misc
Path: cantaloupe.srv.cs.cmu.edu!crabapple.srv.cs.cmu.edu!fs7.ece.cmu.edu!europa.eng.gtefsd.com!howland.reston.ans.net!noc.near.net!uunet!munnari.oz.au!bunyip.cc.uq.oz.au!chen
From: chen@citr.uq.oz.au (G. Chen)
Subject: Help on bitmaps
Message-ID: <C5K44I.Hu8@bunyip.cc.uq.oz.au>
Summary: Bitmap size
Keywords: Bitmap, windows 3.1, SDK
Sender: news@bunyip.cc.uq.oz.au (USENET News System)
Organization: Prentice Centre, University of Queensland
Date: Fri, 16 Apr 1993 03:24:17 GMT
Lines: 18

I wonder if anyone can tell me whether or not I can create a bitmap
of any size?  I followed the bitmap creation example in SDK manual
and specified a 24x24 bitmap (set the width/height to 24) and supplied
a byte string with 72 chars.  But I just cannot get the right bitmap
image.  I changed the width/height to 32x32 and used the same value
string (padded with zero byets to make up to the right size) and
got the image.

The example in the manual is 64x32 size, which are multiple of 2 bytes.
Can you define a bitmap image of any size?

Thanks very much.

G Chen chen@citr.uq.oz.au
--
G. Chen, Centre for Information Technology Research, University of
Queensland, Australia 4072
chen@citr.uq.oz.au  Tel: +61 7 365 4325, Fax +61 7 365 4399
