[comp.windows.ms] Bitmaps from the disk to the clipboard...

efowler@milton.u.washington.edu (Eric Fowler) (10/25/90)

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