Path: utzoo!attcan!uunet!samsung!uakari.primate.wisc.edu!dali.cs.montana.edu!milton!efowler From: efowler@milton.u.washington.edu (Eric Fowler) Newsgroups: comp.windows.ms Subject: Bitmaps from the disk to the clipboard... Keywords: bitmaps, file, clipboard Message-ID: <9855@milton.u.washington.edu> Date: 24 Oct 90 19:54:07 GMT References: <238@inews.intel.com> <10730003@hpspkla.spk.hp.com> <`NR%|Q@rpi.edu> Distribution: all Organization: University of Washington, Seattle Lines: 12 I am currently trying to create an app that will take a BMP file of the users choosing and put it on the clipboard. The idea here is principally to learn windows programming, not to achieve anything useful, so I am interested in strategies more than solutions. The problem is that I can find out how to use a bitmap as a resource, but in that case I must have the filename hardcoded into the RC file. This is obviously unnecessary, as PBrush and other win3 apps can open up a bitmap. The question is, how do I grab a device independent bitmap from the disk and pop it into a place (eg, RAM) where I can play with it? A pointer to some manual pages would be sufficient, since I am finding a great deal about grabbing text from files, but not much concerning bitmaps as files. =Eric