Print Page | Close Window

DrawThemeBackground / DrawThemeText

Printed From: Codejock Forums
Category: Codejock Products
Forum Name: Skin Framework
Forum Description: Topics Related to Codejock Skin Framework
URL: http://forum.codejock.com/forum_posts.asp?TID=7123
Printed Date: 16 November 2024 at 7:17am
Software Version: Web Wiz Forums 12.04 - http://www.webwizforums.com


Topic: DrawThemeBackground / DrawThemeText
Posted By: Simon HB9DRV
Subject: DrawThemeBackground / DrawThemeText
Date Posted: 14 May 2007 at 5:13am
Hi,
 
I don't see any examples - maybe it's too easy  ?

I am using DrawThemeBackground and DrawThemeText from UxTheme.dll - how do I use these functions so that the Codejock skin is used?
 
My user may (or may not) have Codejock skinning enabled.


-------------
Simon HB9DRV



Replies:
Posted By: Oleg
Date Posted: 14 May 2007 at 7:47am
Hi,
 
CXTPWinThemeWrapper m_themeRebar;
m_themeRebar.OpenThemeData(0, L"REBAR");
m_themeRebar.DrawThemeBackground(pDC->GetSafeHdc(), 0, 0, &rcClient, 0);
etc.


-------------
Oleg, Support Team
CODEJOCK SOFTWARE SOLUTIONS


Posted By: Simon HB9DRV
Date Posted: 14 May 2007 at 7:54am
Many thanks Oleg,

-------------
Simon HB9DRV



Print Page | Close Window

Forum Software by Web Wiz Forums® version 12.04 - http://www.webwizforums.com
Copyright ©2001-2021 Web Wiz Ltd. - https://www.webwiz.net