jwh@bodwin.ifs.umich.edu (Jim Howe) (02/07/91)
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? James W. Howe internet: jwh@ifs.umich.edu University of Michigan uucp: uunet!mailrus!ifs.umich.edu!jwh Ann Arbor, MI 48103-4943
wbonner@eecs.wsu.edu (Wim Bonner) (02/09/91)
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 |