Sorry your browser is not supported!

You are using an outdated browser that does not support modern web technologies, in order to use this site please update to a new browser.

Browsers supported include Chrome, FireFox, Safari, Opera, Internet Explorer 10+ or Microsoft Edge.

DLL Talk / Win API Call for window skinning. Trying to Create a new official Plugin

Author
Message
Takis76
19
Years of Service
User Offline
Joined: 9th Apr 2005
Location: Greece
Posted: 30th Oct 2005 01:16
I Post other one message here about window skinning but
with API Call from windows.


Because is no one have replied my posts , about winskin and generic skinning windows and I become beggary and I became spammer with a lot of post in the forums.

I will try to skin BlueGUI windows by myself but I want have some help about API Calls for windows about skinning.

And we will create a good new official plugin for DarkBasic Pro
to manipulate easy and completely Skins in our Applications and Games.

Could you suggest Ideas? Source code? APIs?
If we will manage something I will create the first Skin.

And we can sell or give away the library.


And with this library I will create a very Good Game.
And other games in the furure.


Thank you very very much.

I am openminded for all ideas. I am newbie about DarkBasic I started
5 months ago and I am asking a lot of things.

But I was Quick Basic , Visual Basic Programmer and C programmer.

I programmed with C and allegro library , if someone knows it.

But I found DarkBasic Pro , and I love it , you can make many things
very fast and very easy rather than C and C++.

I have had create an RPG like Eye of the Beholder and Lands of Lore , dungeon Crawler style. If you are a good and old years RPG Gamer , you will know about these best sellers but I left it incomplete because , I will recreate it with DarkBasic.

DarkBasic for my opinion Is a very Good and easy language for a completely new programmer without background of programming of other Language.

If you have a background about programming with other language
as Gbasic , visual Basic even GWBasic ( ) Very Old in past years 1988, DarkBasic will be very familiar for you.


I have never programmed about MFC (Microsoft Fountation Class)
so I will never programmed windows. And I don't know about how that can be programmed.

BlueGui is the starting point for me to programm a Game or Graphic Application with windows and gadgets.

Some one here will say after all of these.

Hey Guy you are soooo newbie and you are looking to programm somthing very difficult , Learn DarkBasic Pro first and ask for other thing then.




I Agree will someone who say that.

But everything has a beginning.... (Hmmm this reminds me Matrix)

Everything has a beggining has the End (Nyo)

But here Everything has a beggining has Good Programming and perfect Games for me.

So Guys Let's start.

I am here and waiting....

Let's kick some cource code and Ideas.

AndLabs
19
Years of Service
User Offline
Joined: 7th Dec 2004
Location:
Posted: 30th Oct 2005 01:46 Edited at: 30th Oct 2005 01:47
And why would you want to use the Windows API? With BlueGUI:



gadget - a gadget (specifically, a window)
mapfile - path to a .bmp file defining the shape, where each black pixel is not shown and each white one is shown

Let's say we have a 49x49 bitmap with a filled-in white circle with its edges touching the border. If you use SETGADGETSHAPE, you would have that bitmapfile loaded and the main window ( with CREATEGADGETFROMWINDOW(MAINWINDOW()) ) to change the main window to your liking.

Then just draw.

NOTE - Don't skin using the Windows API or BlueGUI if you use windows customization software like WindowBlinds from Stardock (http://www.stardock.com/). If you do, you will see the titlebar in the reshaped window.

For the Software You Want, AMPERSAND LABORATORIES is the place!

Takis76
19
Years of Service
User Offline
Joined: 9th Apr 2005
Location: Greece
Posted: 30th Oct 2005 02:26
SETGADGETSHAPE Command I thing changes the shape only not the skin

Is there any command which change completely the window?

For example I want to create a Metal Window?

I want to change everything in runtime not windows xp theme.
There are windowblinds which changes the desktop and whole winxp.

My game windows I want to change my buttons , my text lebels, etc..

How to?

Any Idea ....

Is this site which you post contains things to change my windows
BlueGui windows in runtime (Others says "on the fly")

Thank you for your first answer , I am very appreciate.


I am waiting for Ideas....
Three Score
20
Years of Service
User Offline
Joined: 18th Jun 2004
Location: behind you
Posted: 6th Nov 2005 07:20
ummm well really there is no way to go about doing this easily without rather affecting the whole pc and not just the one window your program owns or going extreme low level(basically remaking the winapi) or well at least to the amount of knowledge i have

If at first you don't succeed call it version 1.0
the above post and signature has been made with 100% recycled binary digits.
*stolen from other posts*
BatVink
Moderator
21
Years of Service
User Offline
Joined: 4th Apr 2003
Location: Gods own County, UK
Posted: 7th Nov 2005 10:38
There is a free DB Pro Window Skinning API. I will try and find it and post it here.

Scilynt
22
Years of Service
User Offline
Joined: 13th Nov 2002
Location: .-#-.
Posted: 7th Nov 2005 15:41
What he wants to do is override the painting of the controls. Without doing much research I would assume all you have to do is handle the WM_PAINT message. Afaik the rich text box is the only control that doesn't work like this.

@Takis: Did you get either of my emails, I forgot that they were sent from an account that has a strict junk filter so I haven't got any more emails from you if they were simply replies to them.
Takis76
19
Years of Service
User Offline
Joined: 9th Apr 2005
Location: Greece
Posted: 10th Nov 2005 15:03
Hi ,

I am here , I took little long to answer because I am worked on
my game.

I am still looking about a skinning library ,

Quote: "
There is a free DB Pro Window Skinning API. I will try and find it and post it here.
"


I hope my friend BatVink find some skin library , I am not care if it is free or purchase. I want to make something good.

Look the game that I am working on. So far I am creating the interface , If I find some good skinning library , I will write less
sourcode.



Some things are created from scratch and other things are created with help of other libraries.

All Graphics where created by Myself.

BlueGui will be very usefull library to create my windows but
for now I have not used yet.

The screenshots are in Greek Yet. When I finish some demo , I will
translate in English to.

Tell me your opinion. Thank you very very much.







Takis76
19
Years of Service
User Offline
Joined: 9th Apr 2005
Location: Greece
Posted: 10th Nov 2005 15:10
Quote: "
@Takis: Did you get either of my emails, I forgot that they were sent from an account that has a strict junk filter so I haven't got any more emails from you if they were simply replies to them.
"



send me message to takis76@yahoo.com

And If you have something usefull , I will be very appreciated.

And thank you very much all , for your help.
1tg46
20
Years of Service
User Offline
Joined: 1st Feb 2004
Location: I dont know!
Posted: 26th Nov 2005 23:09
the picture look cool

If you want to skin applications you will either have to customize the paint routines as stated previously in this thread, or you will have to work with the theming program UxTheme of Windows XP or highher to theme controls for you application. But working with UxTheme is extremely difficult to do, as I have been working with UxTheme for 2-3 years.

Regards,
1tg46

Reality is an illusion brought on by the absence of alcohol - this is not a literal statement

Look for me at The Code Project
Takis76
19
Years of Service
User Offline
Joined: 9th Apr 2005
Location: Greece
Posted: 30th Nov 2005 00:38
How to use UxTheme and where do I find it?

Could you help me?


Is UxTheme compatible with darkbasic pro?


What is UxTheme? DarkBasic pro library?

Paint program?

Thank you very much.
1tg46
20
Years of Service
User Offline
Joined: 1st Feb 2004
Location: I dont know!
Posted: 4th Dec 2005 02:29 Edited at: 4th Dec 2005 02:32
It would be very difficult to use the UxTheme with Dark Basic Professional. FYI the UxTheme.dll is built into the Microsoft Windows XP operating system. The UxTheme.dll is not a program per se, but is a component of Windows XP that skins all of WinXP's GUI. You can find an article that I wrote on the UxTheme.dll at thecodeproejct at http://thecodeproject.com/vb/net/transmenuandtitlebuttons.asp
That article is written in Visual Basic .NET 2003 and will be fairly difficult to convert to Dark Basic Professional code.

Reality is an illusion brought on by the absence of alcohol - this is not a literal statement

Look for me at The Code Project

Login to post a reply

Server time is: 2024-11-21 18:42:33
Your offset time is: 2024-11-21 18:42:33