|
Re: ListView BackColor: msg#00030windows.ce.devel
Ok, I have looked at the documentation. Without working with it just yet, this question seems obvious: when I handle this message, how do I know what is sending it? I can get the handle of the entire ListView control, but how do I ID the individual elements of the control, ie each cell? In other words, if I want the backcolor of a line to be red if the DOB value is <1955 and green if >1955, how do I know which cell or item I am handling the message for? Thanks, Steve --- In windowsce-dev@xxxxxxxxxxxxxxx, "dthomsen73" <dennis@...> wrote: > > Steve, > > Take a look at the NM_CUSTOMDRAW message for the listview. By > responding properly to these messages, you can custom paint any way > you like. You can even custom paint each individual cell. > > Dennis > > --- In windowsce-dev@xxxxxxxxxxxxxxx, "sjspain" <sjspain@> wrote: > > > > Hi, group, > > > > I am converting a desktop app to the ppc (VS2003.Net). In the > > desktop, we use a Listview to keep track of the status of list items > > by changing each line's back color as that item's status changes. > > However, we are having trouble implementing the same schema in the > > windows mobile app. > > > > It seems the ListView backcolor property is for the whole control and > > not for each individual line. Is this correct or am I missing > > something? Is there a workaround or available opencode inherited > > control that I can use that will give me the flexibility I need? > > > > Thanks, > > > > Steve > > > ------------------------ Yahoo! Groups Sponsor --------------------~--> Everything you need is one click away. Make Yahoo! your home page now. http://us.click.yahoo.com/AHchtC/4FxNAA/yQLSAA/saFolB/TM --------------------------------------------------------------------~-> |
|
| <Prev in Thread] | Current Thread | [Next in Thread> |
|---|---|---|
| Previous by Date: | Re: ListView BackColor: 00030, dthomsen73 |
|---|---|
| Next by Date: | Re: ListView BackColor: 00030, Rick Kozak |
| Previous by Thread: | Re: ListView BackColori: 00030, dthomsen73 |
| Next by Thread: | Re: ListView BackColor: 00030, dthomsen73 |
| Indexes: | [Date] [Thread] [Top] [All Lists] |
| News | FAQ | advertise |