Click here to Skip to main content
15,885,914 members
Articles / Programming Languages / C++

Draw Skin Window Using Pure Win32 API

Rate me:
Please Sign up or sign in to vote.
4.35/5 (33 votes)
14 Sep 2007CPOL3 min read 139.1K   9.5K   115  
An article to show how to draw a skin window
========================================================================
    WIN32 Ӧ�ó��� : DrawWindow ��Ŀ�ſ�
========================================================================

Ӧ�ó�������Ϊ����������� DrawWindow Ӧ�ó���
���ļ�������� DrawWindow Ӧ�ó���
��ÿ���ļ�������ժҪ��


DrawWindow.vcproj
    ������Ӧ�ó��������ɵ� VC++ ��Ŀ������Ŀ�ļ���
    �������й����ɴ��ļ��� Visual C++ �汾����Ϣ���Լ�
    �й���Ӧ�ó�����ѡ���
    ƽ̨�����ú���Ŀ���ܵ���Ϣ��

DrawWindow.cpp
    ������Ӧ�ó���Դ�ļ���

/////////////////////////////////////////////////////////////////////////////
Ӧ�ó������Ѵ�����������Դ:

DrawWindow.rc
    ���dz���ʹ�õ����� Microsoft Windows ��Դ���б��
    �������洢�� RES ��Ŀ¼�µ�ͼ�ꡢλͼ�͹�ꡣ
    ���ļ����� Microsoft Visual C++ ��ֱ�ӱ༭��
    

Resource.h
    ���DZ�׼��ͷ�ļ����������µ���Դ ID��
    Microsoft Visual C++ ��ȡ�͸��´��ļ���
DrawWindow.ico
    ����һ��ͼ���ļ�������Ӧ�ó����ͼ��(32x32)��
    ��ͼ��λ������Դ�ļ� DrawWindow.rc �С�

small.ico
    ����һ��ͼ���ļ���������С�汾(16x16)
    ��Ӧ�ó���ͼ�ꡣ��ͼ��λ������Դ
    �ļ� DrawWindow.rc �С�

/////////////////////////////////////////////////////////////////////////////
������׼�ļ�:

StdAfx.h��StdAfx.cpp
    ��Щ�ļ�����������Ϊ DrawWindow.pch
    ��Ԥ����ͷ(PCH)�ļ��Լ���Ϊ StdAfx.obj ��Ԥ���������ļ���

/////////////////////////////////////////////////////////////////////////////
����ע��:

Ӧ�ó�����ʹ�� "TODO:" ע��ָʾӦ��ӻ��Զ����Դ���벿�֡�

/////////////////////////////////////////////////////////////////////////////

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.

License

This article, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)


Written By
Software Developer none
China China
To be, or not to be, this is question. That's are all depend on your decision. What do you think?

Comments and Discussions