Thread View: comp.windows.ms.programmer
1 messages
1 total messages
Started by Ilpo Karjalainen
Mon, 27 Jul 1992 06:43
Choosing bitmaps for OWNERDRAW controls
Author: Ilpo Karjalainen
Date: Mon, 27 Jul 1992 06:43
Date: Mon, 27 Jul 1992 06:43
16 lines
1149 bytes
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)
Thread Navigation
This is a paginated view of messages in the thread with full content displayed inline.
Messages are displayed in chronological order, with the original post highlighted in green.
Use pagination controls to navigate through all messages in large threads.
Back to All Threads