|
Re: Getting color using TODAYCOLOR_TITLEBAR_RIGHT: msg#00107windows.ce.devel
What I had to do, was get the system color for the titlebar from this registry entry: HKLM\SOFTWARE\Microsoft\Color\SHColor which is an array of COLORREF values. Element number 8 in that array of colorrefs is the title bar. ppcinfo --- In windowsce-dev@xxxxxxxxxxxxxxx, John Cramer <jccramerjr@xxxx> wrote: > > Hi ppcinfo, > > I can't find any record of a value like > TODAYCOLOR_TITLEBAR_RIGHT having been defined going > back to July 2002. I was looking in todaycmn.h where > TODAYM_GETCOLOR is defined. The only values defined > for the TODAYM_GETCOLOR message are for font colors. > > Have you tried GetSysColor(COLOR_ACTIVECAPTION)? If > that doesn't work for you, let me know and I'll dig > into it further. > > John Cramer > SOFTWARE DEVELOPMENT ENGINEER, Mobile Developer > eXperience Team > Microsoft Corp. > > This posting is provided "AS IS" with no warranties, > and confers no rights. > > > --- pocketpcinfo <pocketpcinfo@xxxx> wrote: > > > Has anyone been able to retrieve the title bar color > > using a > > SendMessage call as shown below: > > > > SendMessage(hWnd, TODAYM_GETCOLOR, > > (WPARAM)TODAYCOLOR_TITLEBAR_RIGHT, > > NULL); > > > > It works for a 2003 OS device, but doesn't work for > > the new Windows > > Mobile 5 OS device. Does anyone know an alternate > > way of getting this > > information? > > > > Thanks, > > > > ppcinfo > > > > > > > > > > > > > __________________________________ > Yahoo! FareChase: Search multiple travel sites in one click. > http://farechase.yahoo.com > ------------------------ Yahoo! Groups Sponsor --------------------~--> Get fast access to your favorite Yahoo! Groups. Make Yahoo! your home page http://us.click.yahoo.com/dpRU5A/wUILAA/yQLSAA/saFolB/TM --------------------------------------------------------------------~-> |
|
| <Prev in Thread] | Current Thread | [Next in Thread> |
|---|---|---|
| Previous by Date: | Bruce D'Amora/Watson/IBM is out of the office.: 00107, Bruce D'Amora |
|---|---|
| Next by Date: | CommandBar icons transparent color?: 00107, pocketpcinfo |
| Previous by Thread: | Re: Getting color using TODAYCOLOR_TITLEBAR_RIGHTi: 00107, John Cramer |
| Next by Thread: | RE: Re: Getting color using TODAYCOLOR_TITLEBAR_RIGHT: 00107, Kenny Goers |
| Indexes: | [Date] [Thread] [Top] [All Lists] |
| News | FAQ | advertise |