🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.windows.ms.programmer
Article #74

Choosing bitmaps for OWNERDRAW controls

#74
From: Ilpo Karjalainen
Date: Mon, 27 Jul 1992 06:43
16 lines
1149 bytes
Hi, could somebody give me detailed description which DRAWITEMSTRUCT fields
and values should I use to determine which bitmap is requested to draw
in an ownerdraw button. 
I currently design buttons that need to draw three different states: normal,
pressed down and grayed. I didn't get straight answer from SDK manuals, they
just refer to itemAction field but not telling which value means which.
(Struct definition made me believe that I should use itemState instead!)

Any piece of code, any help is welcome!

-Ilpo Karjalainen

P.S. Environment is MSC 6.0 & SDK 3.0
--
Ilpo Karjalainen - Dept. of Information processing science, Oulu University
kit@sunrise.oulu.fi, kit@tolsun.oulu.fi, tel. +358-81-554 6241 (voice)
Technical Details
Message-ID: <1992Jul27.064304.27448@ousrvr.oulu.fi>
Path: arc1-ca.pugleaf.net!sparky!uunet!mcsun!news.funet.fi!ousrvr.oulu.fi!phoenix.oulu.fi!kit

Show Full Headers
Complete Article Headers
Newsgroups: comp.windows.ms.programmer
Path: arc1-ca.pugleaf.net!sparky!uunet!mcsun!news.funet.fi!ousrvr.oulu.fi!phoenix.oulu.fi!kit
From: kit@phoenix.oulu.fi (Ilpo Karjalainen)
Subject: Choosing bitmaps for OWNERDRAW controls
Message-ID: <1992Jul27.064304.27448@ousrvr.oulu.fi>
Sender: usenet@ousrvr.oulu.fi
Organization: University of Oulu, Finland
X-Newsreader: Tin 1.1 PL4
Date: Mon, 27 Jul 92 06:43:04 GMT
Lines: 18