Path: utzoo!utgpu!news-server.csri.toronto.edu!rpi!zaphod.mps.ohio-state.edu!wuarchive!uunet!seismo!ukma!usenet.ins.cwru.edu!icd.ab.com!icd.ab.com!jaz From: jaz@icd.ab.com (Jack A. Zucker) Newsgroups: comp.windows.ms.programmer Subject: Bitmaps Message-ID: <1991Jun25.182619.150@icd.ab.com> Date: 25 Jun 91 18:26:19 GMT Sender: usenet@icd.ab.com (Usenet News Administrator) Reply-To: jaz@icd.ab.com (Jack A. Zucker) Organization: Allen-Bradley Company; Industrial Computer & Communications Group Lines: 10 Nntp-Posting-Host: bird.icd.ab.com I am using LoadBitmap(hInstance,"bitmapname"); to load bitmap resources. I am trying to do this in the WM_CREATE: case of a child window. I get a NULL back from the function. When I move the LoadBitmap up to the parent's WM_CREATE: it works fine. I've tried setting the segment attributes to preload nondiscardable but to no avail. | Jack A Zucker {cwjcc,pyramid,decvax,uunet}!jaz@icd.ab.com | | Allen-Bradley Company, Inc. or ICCGCC::ZUCKER | | 747 Alpha Drive | | Highland Hts., OH 44143 Phone(216) 646-4668 FAX: (216) 646-4484 |