Thread View: comp.os.os2.programmer
2 messages
2 total messages
Started by Jim Howe
Fri, 01 Feb 1991 19:12
Modifying Button Appearance
Author: Jim Howe
Date: Fri, 01 Feb 1991 19:12
Date: Fri, 01 Feb 1991 19:12
11 lines
1040 bytes
1040 bytes
Without resorting to a user drawn button, is there a way to change the appearance of button controls that are displayed on either dialog or regular windows? For example, can you change the foreground, background colors, font used for the text, etc.? I want to be able to do this on an individual button basis, i.e. in one window I might want to have a red button, a blue button and a green button. Any help would be appreciated. James W. Howe internet: jwh@ifs.umich.edu University of Michigan uucp: uunet!mailrus!ifs.umich.edu!jwh Ann Arbor, MI 48103-4943
Re: Modifying Button Appearance
Author: Larry Salomon
Date: Wed, 27 Feb 1991 14:34
Date: Wed, 27 Feb 1991 14:34
14 lines
1169 bytes
1169 bytes
From article <1991Feb1.191251.14548@terminator.cc.umich.edu>, by jwh@bodwin.ifs.umich.edu (Jim Howe): > Without resorting to a user drawn button, is there a way to change > the appearance of button controls that are displayed on either > dialog or regular windows? For example, can you change the foreground, > background colors, font used for the text, etc.? I want to be able > to do this on an individual button basis, i.e. in one window I might > want to have a red button, a blue button and a green button. Any > help would be appreciated. I never actually did this, but I'm 99% sure you can use WinSetPresParam to change all kinds of things if you know what to pass as arguments (I don't). Cheers, Q
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