Path: utzoo!attcan!uunet!munnari.oz.au!uokmax!apple!olivea!mintaka!bloom-beacon!eru!hagbard!sunic!news.funet.fi!funic!fuug!tuura!risto From: risto@tuura.UUCP (Risto Lankinen) Newsgroups: comp.windows.ms Subject: Re: Bitmaps on pushbuttons Message-ID: <790@tuura.UUCP> Date: 1 Oct 90 07:32:24 GMT References: Distribution: comp Organization: Nokia Data Systems Oy Lines: 28 karel@prisma.cv.ruu.nl (Karel Zuiderveld) writes: >Quite a lot of Windows 3 programs are using bitmaps on pushbuttons >(eg. SETUP (F3 = door), various pushbuttons with the help program etc.). >In my copy of the (beta) SDK no functions can be found on doing tricks like >that and I also can't find no examples how to achieve this. Hi! If you're lucky enough, your beta-SDK includes a sample program 'Rainbow'. It's an example of programming 'User-Defined controls'. There's also an article in one of the latest issues of Microsoft Systems Journal (which I pity having forgotten the number of - check issues after March '90). In principle, you'll need to write a DLL which will support the control's run-time functions (i.e. it's WinProc), a few functions used by DIALOG.EXE when creating a dialog to use the control plus LibMain and WEP, which are oblicatory (well, almost) for any DLL anyway. Terveisin: Risto Lankinen -- Risto Lankinen / product specialist *************************************** Nokia Data Systems, Technology Dept * 2 2 * THIS SPACE INTENTIONALLY LEFT BLANK * 2 -1 is PRIME! Now working on 2 +1 * replies: risto@yj.data.nokia.fi ***************************************