SkinChange
所属分类:界面编程
开发工具:Visual C++
文件大小:369KB
下载次数:164
上传日期:2006-03-18 12:54:46
上 传 者:
ricky460
说明: 一个界面换皮肤的程序 ,演示了如何设计编写可以换不同皮肤的程序 。
在VC6环境 ,XP操作系统中
(an interface for skin procedures, demonstrating how to design can be prepared for different skin procedures. The VC6 environment, XP)
文件列表:
换皮肤 (0, 2006-03-06)
换皮肤\Aciklama.Txt (340, 2000-05-15)
换皮肤\Debug (0, 2005-11-22)
换皮肤\Decoder (0, 2005-11-22)
换皮肤\Decoder\Args.h (4238, 2000-05-29)
换皮肤\Decoder\Audio.cpp (31815, 2000-05-29)
换皮肤\Decoder\AUDIO.H (746, 1999-09-29)
换皮肤\Decoder\COMMON.H (1263, 1999-06-17)
换皮肤\Decoder\DECODER.CPP (106337, 1999-12-17)
换皮肤\Decoder\DECODER.H (8386, 1999-06-30)
换皮肤\Decoder\ELSOUND.H (8052, 1999-06-29)
换皮肤\Decoder\HELPER.CPP (1878, 1999-06-09)
换皮肤\Decoder\HELPER.H (303, 1999-06-03)
换皮肤\Decoder\HUFFMAN.H (16084, 1999-06-15)
换皮肤\Decoder\Player.cpp (19776, 2000-05-14)
换皮肤\Decoder\player.h (2001, 2000-03-10)
换皮肤\Decoder\stream.cpp (20220, 1999-12-17)
换皮肤\Decoder\stream.h (1778, 1999-12-17)
换皮肤\Decoder\tabinit.cpp (2, 1999-05-08)
换皮肤\Decoder\Tables.h (9304, 1999-12-17)
换皮肤\Editor (0, 2005-11-22)
换皮肤\Editor\SkinEditor.exe (39424, 2000-07-26)
换皮肤\MPEGPlayer.cpp (1913, 2000-05-29)
换皮肤\MPEGPlayer.dsp (6869, 2000-06-11)
换皮肤\MPEGPlayer.dsw (543, 2000-05-29)
换皮肤\MPEGPlayer.exe (258048, 2000-07-26)
换皮肤\MPEGPlayer.h (1368, 2000-05-29)
换皮肤\MPEGPlayer.ncb (238592, 2006-03-06)
换皮肤\MPEGPlayer.opt (81920, 2006-03-06)
换皮肤\MPEGPlayer.plg (1529, 2003-02-21)
换皮肤\MPEGPlayer.rc (5802, 2000-06-15)
换皮肤\MPEGPlayerDlg.cpp (12459, 2003-02-21)
换皮肤\MPEGPlayerDlg.h (1849, 2000-06-15)
换皮肤\res (0, 2005-11-22)
换皮肤\res\MPEGPlayer.ico (1078, 2000-05-29)
换皮肤\res\MPEGPlayer.rc2 (402, 2000-05-29)
换皮肤\resource.h (1335, 2000-06-15)
换皮肤\Sample (0, 2006-03-06)
换皮肤\Sample\EQTNormal.jpg (756, 2000-06-01)
... ...
SkinSys Ver 1.0
A picture based skin system For MFC. Based on FriendSoft's(www.yeah.net/FriendSoft)
SkinForm.
CopyRight 2000 Cüneyt ELBOL
www.celibol.freeservers.com
celibol@hotmail.com
Includes:
CSkinsys codes
Simple Skin Editor
A Beatiful MPEG 1,2,3 decoder (Copyright www.eldos.org < Based On MAPlay Decoder >)
MPEGPlayer project (not ended. It is only a sample)
Directories
Decoder: MPEG Decoder codes
Editor : Skineditor Files
Sample : Sample Skin Files
SkinSys: CSkinsys Codes
Root : MPEGPlayer Project
Requirement
This system only required "OleLoadPicture" Function. (Please see LoadPictureFile function in Skindialog.cpp)
How To Use:
Please Read This notes and see Sample Directory and MPEGPlayer project
1: Draw mask bitmap
2: Draw main Bitmap
3: If you need or want
a: Draw mouse over bitmap
b: Draw mouse down bitmap
c: Draw disable bitmap
4: Run Skineditor
5: Select "Screens" Tab
6: Fill All Pictures
7: If you want select "Preview" Button
8: Save and exit
9: Run Visual Studio
10: Create a Dialog based new Project (for example Dialog Name = CBaseDialog)
11: Include "SkinDialog.h" (for example in "StdAfx.h")
12: Change to CBaseDialog : public CDialog To
CBaseDialog : public CSkinDialog
13: Go to CBaseDialog::OnInitDialog
14: Add these lines
char m_skin[512];
sprintf(m_skin, "");
// If you want a menu < Activate to Right click > add this line
SetMenuID(IDR_MAINMENU);
// If you Want Caption
SetWindowText("MPEG Player");
// Set To My SkinFile
SetSkinFile(m_skin);
CSkinDialog::OnInitDialog();
15: Compile and Run;
Controlling Buttons Click, Trackbar, ProgressBar, Text and etc...
If you want these events in the Base Class (CSkinDialog)
1: void ProgresChanged(CString m_Name); // If progress changes
2: void MouseMoved(CString m_ButtonName, int x, int y); // if Mouse Moved
3: void TrackChange(CString m_ButtonName, UINT nSBCode, UINT nPos); // if Trackbar change
4: void ButtonPressed(CString m_ButtonName); // if Button Pressed
you are added these functions your CBaseDialog class.
Changing the tooltip
use SetToolTip function. Where is Button, Text...
(for example SetButtonToolTip("BUTTON_USEEQ", "Equalizer is On");
Getting Value
use Get Function
(for example: BOOL useEQ = GetButtonCheck("BUTTON_USEEQ"); // if BUTTON_USEEQ checked)
Setting Value
use Set Function
(for example: SetButtonCheck("BUTTON_USEEQ", useEQ);
// if useEQ = True BUTTON_USEEQ is checked)
Notes:
Thanks for enterested to CSkinsys. But this is first release. It may have any bug and error.
Please report any bug and error or any question to me.
近期下载者:
相关文件:
收藏者: