🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Thread View: comp.os.ms-windows.programmer.tools.owl
1 messages
1 total messages Started by Martin Truchon Wed, 18 Feb 1998 00:00
Changing the color of a pushbutton in OWL 5.0.
#63
Author: Martin Truchon
Date: Wed, 18 Feb 1998 00:00
16 lines
1218 bytes
How do you change the color of a pushbutton?
I want to have a red pushbutton.

It used to work well in OWL 2.5 using the function
EvCtlColor(HDC hDC, HWND hWndChild, uint ctlType)
in which I changed the color of the device context hDC with the function

SetBkColor (hDC, RGB(255, 0, 0));

But this doesn't work anymore in OWL 5.0.  The button remains gray.

If you have any idea, please write to
epflaum@hatch.ca

Thank you very much.
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