Article View: pl.comp.lang.c
Article #222Re: Jak pobrac bitmape
From: Krzysztof Swiatkowski
Date: Fri, 28 Nov 1997 22:19
Date: Fri, 28 Nov 1997 22:19
38 lines
2028 bytes
2028 bytes
On Thu, 27 Nov 1997 03:45:55 +0100, in pl.comp.lang.c Adam Bienias
<souadam@polbox.com> wrote:
>Krzysztof Swiatkowski wrote:
>> bmp = LoadImage(0, "c:\\tmp\\frazersp.bmp", IMAGE_BITMAP, 0, 0,
>> LR_LOADFROMFILE | LR_CREATEDIBSECTION)
>>
>
> Wow. Skad nagle tyle parametrow w funkcji LoadImage ? Dotej pory bylem
>swiecie przekonany ze jak napisze wiecej niz trzy, to mi sie kompilator
>zakrzyczy :/
[New - Windows 95]
The LoadImage function loads an icon, cursor, or bitmap.
HANDLE LoadImage(
HINSTANCE hinst, // handle of the instance that contains the image
LPCTSTR lpszName, // name or identifier of image
UINT uType, // type of image
int cxDesired, // desired width
int cyDesired, // desired height
UINT fuLoad // load flags
);
Pełny opis w helpie
jeśli używasz bibliotek klas MFC/OWL/Willows to możesz potrzebować dodać na
początku ::LoadImage
HTH
Hobbit
--
-------------------------------------|
Krzysztof Swiatkowski - Lodz, Poland | replying cut bezspam from my address
e-Mail: hobbit@dom.vr.pl.bezspam | odpowiadajac usun bezspam z adresu
"Niektorzy ludzie mowia, ze musze byc przerazajaca osoba,
a ja mam serce mlodego chlopca... w sloiku na biurku" - Stephen King
Technical Details
Message-ID:
<347f380d.542841@news.nask.org.pl>Path:
mbox-mo1.pugleaf.net!news-archive.icm.edu.pl!pingwin.icm.edu.pl!mat.uni.torun.pl!news.nask.pl!usenetReferences:
<01bce93f$d8351460$0ffa74c3@sireco.zigzag.pl> <346018B5.7C70FC1E@rubikon.net.pl> <345FEB69.312B@polbox.com> <34642481.5DE0@polbox.com> <3465de7d.4075180@news.tpnet.pl> <346626DD.708D@polbox.com> <34793c40.8094739@news.nask.org.pl> <347CDEE3.35F4@polbox.com>Show Full Headers
Complete Article Headers
Path: mbox-mo1.pugleaf.net!news-archive.icm.edu.pl!pingwin.icm.edu.pl!mat.uni.torun.pl!news.nask.pl!usenet From: hobbit@dom.vr.pl.bezspam (Krzysztof Swiatkowski) Newsgroups: pl.comp.lang.c Subject: Re: Jak pobrac bitmape Date: Fri, 28 Nov 1997 23:19:57 +0100 Organization: Bag End Lines: 38 Message-ID: <347f380d.542841@news.nask.org.pl> References: <01bce93f$d8351460$0ffa74c3@sireco.zigzag.pl> <346018B5.7C70FC1E@rubikon.net.pl> <345FEB69.312B@polbox.com> <34642481.5DE0@polbox.com> <3465de7d.4075180@news.tpnet.pl> <346626DD.708D@polbox.com> <34793c40.8094739@news.nask.org.pl> <347CDEE3.35F4@polbox.com> NNTP-Posting-Host: pmone227.lodz.pdi.net Mime-Version: 1.0 X-Mistypings: UUUUUUUUUUUU Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit