Click here to Skip to main content
15,884,924 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
AnswerRe: How does GDI+ decide which to use, alphablending or dithering? Pin
JackDingler16-Jan-13 11:13
JackDingler16-Jan-13 11:13 
GeneralRe: How does GDI+ decide which to use, alphablending or dithering? Pin
Code-o-mat16-Jan-13 23:21
Code-o-mat16-Jan-13 23:21 
GeneralRe: How does GDI+ decide which to use, alphablending or dithering? Pin
JackDingler17-Jan-13 5:07
JackDingler17-Jan-13 5:07 
Questionhow to get window color? Pin
VCProgrammer16-Jan-13 1:36
VCProgrammer16-Jan-13 1:36 
AnswerRe: how to get window color? Pin
Richard MacCutchan16-Jan-13 2:12
mveRichard MacCutchan16-Jan-13 2:12 
GeneralRe: how to get window color? Pin
VCProgrammer16-Jan-13 17:40
VCProgrammer16-Jan-13 17:40 
AnswerRe: how to get window color? Pin
Jochen Arndt16-Jan-13 22:19
professionalJochen Arndt16-Jan-13 22:19 
GeneralRe: how to get window color? Pin
VCProgrammer18-Jan-13 18:42
VCProgrammer18-Jan-13 18:42 
//i am use GetThemeColor like this.

// Getting the text color used for taskbar captions.
	HTHEME hTheme = ::OpenThemeData(NULL, VSCLASS_TASKBAND);
	ATLASSERT(hTheme);

	COLORREF clrText = 0;
	if(hTheme)
	{
		const HRESULT hr = ::GetThemeColor(hTheme, TDP_GROUPCOUNT, 0, 
										   TMT_BORDERCOLOR, &clrText);		


		ATLASSERT(SUCCEEDED(hr));

		::CloseThemeData(hTheme);
	}

	// Classic visual scheme.
	::FillRect(pDC->m_hDC, &banner_rect, ::GetSysColorBrush(CTLCOLOR_DLG));

	// Themed visual scheme. Draw transparently.
	::DrawThemeParentBackground(obj_RecProfDlg->GetSafeHwnd(), pDC->m_hDC, &banner_rect);


but its not useful

so please help me ,what values i can use GetThemeColor

thanks.
QuestionHow to draw a banner and button ? Pin
VCProgrammer15-Jan-13 20:24
VCProgrammer15-Jan-13 20:24 
AnswerRe: How to draw a banner and button ? Pin
_Flaviu15-Jan-13 20:49
_Flaviu15-Jan-13 20:49 
GeneralRe: How to draw a banner and button ? Pin
VCProgrammer15-Jan-13 21:08
VCProgrammer15-Jan-13 21:08 
GeneralRe: How to draw a banner and button ? Pin
_Flaviu15-Jan-13 21:26
_Flaviu15-Jan-13 21:26 
GeneralRe: How to draw a banner and button ? Pin
VCProgrammer15-Jan-13 21:34
VCProgrammer15-Jan-13 21:34 
GeneralRe: How to draw a banner and button ? Pin
_Flaviu15-Jan-13 22:14
_Flaviu15-Jan-13 22:14 
AnswerRe: How to draw a banner and button ? Pin
Richard MacCutchan15-Jan-13 22:46
mveRichard MacCutchan15-Jan-13 22:46 
Questionit's my first useful code.. and there's error that i can't understan :( Pin
eng.immortal15-Jan-13 18:20
eng.immortal15-Jan-13 18:20 
AnswerRe: it's my first useful code.. and there's error that i can't understan :( Pin
_Flaviu15-Jan-13 19:37
_Flaviu15-Jan-13 19:37 
AnswerRe: it's my first useful code.. and there's error that i can't understan :( Pin
«_Superman_»15-Jan-13 22:06
professional«_Superman_»15-Jan-13 22:06 
AnswerRe: it's my first useful code.. and there's error that i can't understan :( Pin
David Crow16-Jan-13 5:52
David Crow16-Jan-13 5:52 
AnswerRe: it's my first useful code.. and there's error that i can't understan :( Pin
Dean M. Sands, III17-Jan-13 3:11
Dean M. Sands, III17-Jan-13 3:11 
Questioncallback function gets called / executed with bad data Pin
Vaclav_15-Jan-13 9:46
Vaclav_15-Jan-13 9:46 
QuestionDoes anyone know this c plus plus knowledge? Pin
yu-jian15-Jan-13 5:16
yu-jian15-Jan-13 5:16 
AnswerRe: Does anyone know this c plus plus knowledge? Pin
Richard MacCutchan15-Jan-13 6:33
mveRichard MacCutchan15-Jan-13 6:33 
AnswerRe: Does anyone know this c plus plus knowledge? Pin
CPallini15-Jan-13 11:30
mveCPallini15-Jan-13 11:30 
GeneralRe: Does anyone know this c plus plus knowledge? Pin
yu-jian16-Jan-13 3:17
yu-jian16-Jan-13 3:17 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.