Click here to Skip to main content
15,891,788 members
Articles / Programming Languages / C++

Add XP Visual Style Support to OWNERDRAW Controls

Rate me:
Please Sign up or sign in to vote.
4.95/5 (40 votes)
22 Dec 20012 min read 383K   9.4K   156  
Wrapper class that uses visual style APIs available in WinXP
In this article, you will see a wrapper class to use the visual style APIs available in Windows XP.
//
//
// Copyright (c) Microsoft Corporation
// All rights reserved.
//
//


//{{NO_DEPENDENCIES}}
// Microsoft Developer Studio generated include file.
// Used by ThemeExplorer.rc
//
#define IDD_DIALOG1                     101
#define IDD_DRAWTESTER                  129
#define IDC_THEMETREE                   1011
#define IDC_EXPANDALL                   1012
#define IDC_DISPLAYALL                  1015

// Default values for new objects
// 
#ifdef APSTUDIO_INVOKED
#ifndef APSTUDIO_READONLY_SYMBOLS
#define _APS_NEXT_RESOURCE_VALUE        102
#define _APS_NEXT_COMMAND_VALUE         40001
#define _APS_NEXT_CONTROL_VALUE         1000
#define _APS_NEXT_SYMED_VALUE           101
#endif
#endif

By viewing downloads associated with this article you agree to the Terms of Service and the article's licence.

If a file you wish to view isn't highlighted, and is a text file (not binary), please let us know and we'll add colourisation support for it.


Written By
Web Developer
Sweden Sweden
This member has not yet provided a Biography. Assume it's interesting and varied, and probably something to do with programming.

Comments and Discussions