Click to See Complete Forum and Search --> : draw my dialogbox with DirectX


Zolix2010
March 31st, 2005, 07:18 AM
Hi,
I want to draw a skin for a dialogbox (make it look diffrent from regular Windows DialogBox)
can u refernce me to a tutorial/sample/article about this issue?

sorry if im asking in the wrong place,
if i am wrong please direct me where can i ask about this issues.

Avi.

Skoons
April 4th, 2005, 05:41 PM
Hi,
I want to draw a skin for a dialogbox (make it look diffrent from regular Windows DialogBox)
can u refernce me to a tutorial/sample/article about this issue?

sorry if im asking in the wrong place,
if i am wrong please direct me where can i ask about this issues.

Avi.
You need to draw it with DirectX or not.
The idea of skin is simple you need to make your own template of dialogbox which will have none borders and pictures instead of buttons and all other parts.
It`s more usefull to make arrays of picture pointers for buttons and other
compnents. And you need functions which will change the pictures in your picture objects that`s all maybe

Zolix2010
April 4th, 2005, 05:49 PM
Im familier with the main idea...
my problem is that i don't know any DirectX syntax so i could code it.
bcuz of that i need any example/resource/tutorial to show me.

do u know of any?
Avi.

Skoons
April 4th, 2005, 06:02 PM
Im familier with the main idea...
my problem is that i don't know any DirectX syntax so i could code it.
bcuz of that i need any example/resource/tutorial to show me.

do u know of any?
Avi.

If I find smth I will tell you at once

Ejaz
April 4th, 2005, 11:28 PM
Well, DirectX is a 3D API, more geared towards 3D applications, like games, simulations etc. For skinning purpose, you can use bitmaps. Take a look at the followings.

Using Skins Without MFC (http://www.codeproject.com/dialog/skinstyle.asp)
A picture based skin system and MPEG decoder (http://www.codeproject.com/dialog/skinsyse.asp)
Skins in a Dialog Based Application (http://www.codeproject.com/dialog/skindlg.asp)
CDialogSK - A Skinnable Dialog Class (http://www.codeproject.com/dialog/cdialogsk.asp)
Skinz Programming (http://www.scriptable.com/blog/skinz/)

Zolix2010
April 5th, 2005, 03:05 AM
thanks Ejaz...
this links use GDI,
i did some skinz with GDI but the problems i bumped into were that GDI did the trick but not in 100%.
I mean that it wasn't look very natural like ICQ/WinAmp skinz.

am i making things more clear?
do u need any example?

Avi.