🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.os.os2.programmer
Article #2404

Re: PM Button Control Question

#2404
From: Wim Bonner
Date: Fri, 08 Feb 1991 20:52
25 lines
1672 bytes
In article <1991Feb7.144913.18194@terminator.cc.umich.edu> jwh@bodwin.ifs.umich.edu (Jim Howe) writes:
>I am using button controls in a standard window and I have encountered
>an annoying problem with the way they are displayed.  When the buttons
>are placed on a pale gray background, there is a one pixel border of
>white surrounding each button.  I've tried changing the presentation
>parameters for each button control but that doesn't seem to affect this
>border.  I've tried the NOBORDER style but that simply gets rid of the
>3-D effect.  Can I get rid of this white border or do I have to resort
>to drawing the button myself?

Is this in a dialog box?   Have you tried changing the presentation paramaters
on the dialog box?  
Specificly doing a WinSetPresParam(hwndDialog, PP_BORDERCOLORINDEX, sizeof(LONG)
, CLR_GREY);

I don't really know if this will do what I think It should do, and you've 
probably already tried this.  

Wim

-- 
|  wbonner@yoda.eecs.wsu.edu  |
| 27313853@wsuvm1.csc.wsu.edu |
|   27313853@Wsuvm1.BITNET    |
|  72561.3135@CompuServe.com  |
Technical Details
Message-ID: <1991Feb08.205251.4142@eecs.wsu.edu>
Path: arc1-ca.pugleaf.net!utzoo!mnetor!tmsoft!torsqnt!news-server.csri.toronto.edu!cs.utexas.edu!swrinde!zaphod.mps.ohio-state.edu!uakari.primate.wisc.edu!dali.cs.montana.edu!milton!yoda.eecs.wsu.edu!wbonner
References: <1991Feb7.144913.18194@terminator.cc.umich.edu>

Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!utzoo!mnetor!tmsoft!torsqnt!news-server.csri.toronto.edu!cs.utexas.edu!swrinde!zaphod.mps.ohio-state.edu!uakari.primate.wisc.edu!dali.cs.montana.edu!milton!yoda.eecs.wsu.edu!wbonner
From: wbonner@eecs.wsu.edu (Wim Bonner)
Newsgroups: comp.os.os2.programmer
Subject: Re: PM Button Control Question
Message-ID: <1991Feb08.205251.4142@eecs.wsu.edu>
Date: 8 Feb 91 20:52:51 GMT
References: <1991Feb7.144913.18194@terminator.cc.umich.edu>
Reply-To: wbonner@yoda.UUCP (Wim Bonner)
Distribution: na
Organization: Washington State University, Pullman
Lines: 25