nanogui: Changing button face colors
Subject:
Changing button face colors
From:
"Alfredo Macias" ####@####.####
Date:
12 Sep 2000 21:10:56 -0000
Message-Id: <000501c01cfd$6e079c30$bb00a8c0@softeng>
Hi everyone
Could someone give me a hint on how to change the color of a button?. I can
capture the click event but couldn't find a way to access the button
properties for changing the color. Below is the code I use to create my
button:
Any hints are deeply appreciated.
CreateWindowEx(0L, "BUTTON","CKT ID",
BS_PUSHBUTTON | BS_CENTER | WS_CHILD | WS_VISIBLE,
LF+iXborder+((iXnumbtns/2)*iBtnWD)+iCol1WD,TP,iCol2WD,iBtnHT,
hwnd,(HMENU) ind /*(HMENU)EVENTBTN*/, NULL, NULL);