Thread View: comp.os.os2.programmer
2 messages
2 total messages
Started by Jim Howe
Thu, 07 Feb 1991 14:49
PM Button Control Question
Author: Jim Howe
Date: Thu, 07 Feb 1991 14:49
Date: Thu, 07 Feb 1991 14:49
12 lines
1185 bytes
1185 bytes
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
Re: PM Button Control Question
Author: Wim Bonner
Date: Fri, 08 Feb 1991 20:52
Date: Fri, 08 Feb 1991 20:52
25 lines
1672 bytes
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 |
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