|
RE: Re: Getting color using TODAYCOLOR_TITLEBAR_RIGHT: msg#00115windows.ce.devel
Go to smartphonedn.com I posted a complete array listing of the colors in that structure there. Kenny. ________________________________ From: windowsce-dev@xxxxxxxxxxxxxxx [mailto:windowsce-dev@xxxxxxxxxxxxxxx] On Behalf Of pocketpcinfo Sent: Wednesday, November 23, 2005 7:46 AM To: windowsce-dev@xxxxxxxxxxxxxxx Subject: [windowsce-dev] Re: Getting color using TODAYCOLOR_TITLEBAR_RIGHT 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 > Mailing list addresses: Post message: windowsce-dev@xxxxxxxxxxxxxxx Unsubscribe: windowsce-dev-unsubscribe@xxxxxxxxxxxxxxx List owner: windowsce-dev-owner@xxxxxxxxxxxxxxx Website: http://groups.yahoo.com/group/windowsce-dev SPONSORED LINKS Windows ce <http://groups.yahoo.com/gads?t=ms&k=Windows+ce&w1=Windows+ce&w2=Win32+p rogramming&w3=Window+ce+development&w4=Basic+programming+language&w5=Com puter+programming+languages&w6=Microsoft+window+ce&c=6&s=159&.sig=4DOBP6 Xylk6ZXdMRpcazbQ> Win32 programming <http://groups.yahoo.com/gads?t=ms&k=Win32+programming&w1=Windows+ce&w2= Win32+programming&w3=Window+ce+development&w4=Basic+programming+language &w5=Computer+programming+languages&w6=Microsoft+window+ce&c=6&s=159&.sig =OjIip5XsPYfJGcamqL441g> Window ce development <http://groups.yahoo.com/gads?t=ms&k=Window+ce+development&w1=Windows+ce &w2=Win32+programming&w3=Window+ce+development&w4=Basic+programming+lang uage&w5=Computer+programming+languages&w6=Microsoft+window+ce&c=6&s=159& .sig=MLycE5MxrB-SFn6ArPdyXA> Basic programming language <http://groups.yahoo.com/gads?t=ms&k=Basic+programming+language&w1=Windo ws+ce&w2=Win32+programming&w3=Window+ce+development&w4=Basic+programming +language&w5=Computer+programming+languages&w6=Microsoft+window+ce&c=6&s =159&.sig=lfRfGeA1G_n8UeKjxrEnew> Computer programming languages <http://groups.yahoo.com/gads?t=ms&k=Computer+programming+languages&w1=W indows+ce&w2=Win32+programming&w3=Window+ce+development&w4=Basic+program ming+language&w5=Computer+programming+languages&w6=Microsoft+window+ce&c =6&s=159&.sig=HDV6AkQnfQKAetOsWmyvlg> Microsoft window ce <http://groups.yahoo.com/gads?t=ms&k=Microsoft+window+ce&w1=Windows+ce&w 2=Win32+programming&w3=Window+ce+development&w4=Basic+programming+langua ge&w5=Computer+programming+languages&w6=Microsoft+window+ce&c=6&s=159&.s ig=sgSqi1Fv4PmlTcZTNfOruA> ________________________________ YAHOO! GROUPS LINKS * Visit your group "windowsce-dev <http://groups.yahoo.com/group/windowsce-dev> " on the web. * To unsubscribe from this group, send an email to: windowsce-dev-unsubscribe@xxxxxxxxxxxxxxx <mailto:windowsce-dev-unsubscribe@xxxxxxxxxxxxxxx?subject=Unsubscribe> * Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service <http://docs.yahoo.com/info/terms/> . ________________________________ [Non-text portions of this message have been removed] ------------------------ Yahoo! Groups Sponsor --------------------~--> Fair play? Video games influencing politics. Click and talk back! http://us.click.yahoo.com/u8TY5A/tzNLAA/yQLSAA/saFolB/TM --------------------------------------------------------------------~-> |
|
| <Prev in Thread] | Current Thread | [Next in Thread> |
|---|---|---|
| Previous by Date: | Re: Accessing GPIO pins: 00115, Tom Convent |
|---|---|
| Next by Date: | Re: Accessing GPIO pins: 00115, Rob Wehrli |
| Previous by Thread: | Re: Getting color using TODAYCOLOR_TITLEBAR_RIGHTi: 00115, pocketpcinfo |
| Next by Thread: | Work with us , get paid in dollars: 00115, *SuKhoi* |
| Indexes: | [Date] [Thread] [Top] [All Lists] |
| News | FAQ | advertise |