nanogui: Changing button face colors


Previous by date: 12 Sep 2000 21:10:56 -0000 Re: mouse not working..., Ritesh Saigal
Next by date: 12 Sep 2000 21:10:56 -0000 Re: Changing button face colors, Greg Haerr
Previous in thread:
Next in thread: 12 Sep 2000 21:10:56 -0000 Re: Changing button face colors, Greg Haerr

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);





Previous by date: 12 Sep 2000 21:10:56 -0000 Re: mouse not working..., Ritesh Saigal
Next by date: 12 Sep 2000 21:10:56 -0000 Re: Changing button face colors, Greg Haerr
Previous in thread:
Next in thread: 12 Sep 2000 21:10:56 -0000 Re: Changing button face colors, Greg Haerr


Powered by ezmlm-browse 0.20.