mdk - Skinning solution for Windows

Developed or developing a new product in PureBasic? Tell the world about it.
User avatar
chi
Addict
Addict
Posts: 1028
Joined: Sat May 05, 2007 5:31 pm
Location: Linz, Austria

mdk - Skinning solution for Windows

Post by chi »

Here's a little preview of a project I'm working on. It's far from being finished but you can already change colors (LMB, RMB) or toggle drawing functions on/off.
I also started this thread to receive some feedback about what kind of features (besides the obvious ones) you guys & gals like to see in a final release... So, criticism and/or suggestions are very much welcome ;)

Image

The zip contains 2 files:
mdk.exe - The actual editor in action (alpha ;))
mdk_proto.exe - An older, nearly finished prototype (but much slower)

mdk.zip (x86) (Tested on XP, Windows7 and Windows8.1) mdk.exe on VirusTotal 2/55
Et cetera is my worst enemy
User avatar
chi
Addict
Addict
Posts: 1028
Joined: Sat May 05, 2007 5:31 pm
Location: Linz, Austria

Re: mdk - Skinning solution for Windows

Post by chi »

Found some time to work on the mdk ;)

New features:
  • · Custom titlebar and border size
    · Menus are working now
    · Full LTR and RTL compatibility
    · Messagebox is skinned too
    · Compatibility settings aware ("Disable visual themes", "Disable desktop composition")
    · Doublebuffered drawing
...but there is still a lot to do (and learn)

Win8.1
Image

Win7
Image

Win7 (round)
Image

WinXp
Image

mdkTD.zip (x86) (Tested on XP, Windows7 and Windows8.1)

Have fun, chi
Last edited by chi on Thu Nov 20, 2014 5:30 am, edited 1 time in total.
Et cetera is my worst enemy
IdeasVacuum
Always Here
Always Here
Posts: 6425
Joined: Fri Oct 23, 2009 2:33 am
Location: Wales, UK
Contact:

Re: mdk - Skinning solution for Windows

Post by IdeasVacuum »

Nice demo! Looks like it has a lot of potential........
IdeasVacuum
If it sounds simple, you have not grasped the complexity.
User avatar
chi
Addict
Addict
Posts: 1028
Joined: Sat May 05, 2007 5:31 pm
Location: Linz, Austria

Re: mdk - Skinning solution for Windows

Post by chi »

Thank you for your kind words! Hope I can satisfy all expectations ;)
Et cetera is my worst enemy
User avatar
chi
Addict
Addict
Posts: 1028
Joined: Sat May 05, 2007 5:31 pm
Location: Linz, Austria

Re: mdk - Skinning solution for Windows

Post by chi »

I've been working on fully customizable UI elements lately and hacked together a simple button prototype... and I'm pretty happy with it! Wanna see?^^
Since I am not much of an artist I borrowed some theme images from MS, but you'll get the idea ;)

While holding RMB + LMB you can drag around most of the controls, holding RMB + left click changes the z-order (but also breaks the radiobutton group for now). And yes, there will be a form editor...
mdkButtons.zip
Image
Et cetera is my worst enemy
PureGuy
Enthusiast
Enthusiast
Posts: 102
Joined: Mon Aug 30, 2010 11:51 am

Re: mdk - Skinning solution for Windows

Post by PureGuy »

This looks really nice, great work.
Can you make it working with WinXP?
User avatar
chi
Addict
Addict
Posts: 1028
Joined: Sat May 05, 2007 5:31 pm
Location: Linz, Austria

Re: mdk - Skinning solution for Windows

Post by chi »

Thank you!

It already works on all Windows OS (XP and up). At least on my PC... Is there a problem with the demo or do you mean with "Can you make it working with WinXP" in general?
Et cetera is my worst enemy
PureGuy
Enthusiast
Enthusiast
Posts: 102
Joined: Mon Aug 30, 2010 11:51 am

Re: mdk - Skinning solution for Windows

Post by PureGuy »

Maybe my mistake I put your exe on a networkshare and tried it inside virtualbox.
But after copying to desktop it was nice.

Left one runs from desktop, Right one runs directly form network drive.
Image
User avatar
aaaaaaaargh
User
User
Posts: 55
Joined: Thu Jul 27, 2006 1:24 pm

Re: mdk - Skinning solution for Windows

Post by aaaaaaaargh »

Wow, that looks great, looking forward to that very much!
User avatar
chi
Addict
Addict
Posts: 1028
Joined: Sat May 05, 2007 5:31 pm
Location: Linz, Austria

Re: mdk - Skinning solution for Windows

Post by chi »

Ah ok, thanks for pointing that out... I have the same problem over networkshare. Fortunately the problem was only a 3rd-party tool that I use to pack all files (145 images + exe) together.
Nothing wrong with my code 8)

Also the missing CommandLink Note on XP is due to the fact that there is no BCM_GETNOTE message to receive. The ugly font, because Segoe UI doesn't exist.
Et cetera is my worst enemy
User avatar
chi
Addict
Addict
Posts: 1028
Joined: Sat May 05, 2007 5:31 pm
Location: Linz, Austria

Re: mdk - Skinning solution for Windows

Post by chi »

Editor core functions implemented...
Image
Et cetera is my worst enemy
User avatar
chi
Addict
Addict
Posts: 1028
Joined: Sat May 05, 2007 5:31 pm
Location: Linz, Austria

Re: mdk - Skinning solution for Windows

Post by chi »

guess I finally cracked window skinning... ;)
Image

tech.demo.2016.zip (early demo, tested only on Win7 and WinXP(VirtualBox))

edit: fixed taskbar position on minimize
edit: little performance boost
edit: fixed crash on close
Et cetera is my worst enemy
loulou2522
Enthusiast
Enthusiast
Posts: 495
Joined: Tue Oct 14, 2014 12:09 pm

Re: mdk - Skinning solution for Windows

Post by loulou2522 »

chi wrote:guess I finally cracked window skinning... ;)
Image

tech.demo.2016.zip (early demo, tested only on Win7 and WinXP(VirtualBox))

edit: fixed taskbar position on minimize
edit: little performance boost
edit: fixed crash on close
When trying to execute your programm my antivirus (Panda solftware) detect "Cheval de troie' malware
User avatar
chi
Addict
Addict
Posts: 1028
Joined: Sat May 05, 2007 5:31 pm
Location: Linz, Austria

Re: mdk - Skinning solution for Windows

Post by chi »

loulou2522 wrote:When trying to execute your programm my antivirus (Panda solftware) detect "Cheval de troie' malware
Must be false positive! Applications calling certain API functions tend to do that. On top of that, the program was packed with SmartPackerPro which also might trigger your AV. There's nothing I can do about it, sorry...
Et cetera is my worst enemy
User avatar
Lunasole
Addict
Addict
Posts: 1091
Joined: Mon Oct 26, 2015 2:55 am
Location: UA
Contact:

Re: mdk - Skinning solution for Windows

Post by Lunasole »

What you already have done looks promising, but it is far from be completed style editor, good luck with future development. You might also be interested to take a look on "Windows Style Builder" (if not already checked it), to implement features it has, that's the most completed style editor I know.

That also reminds me about own experience with windows themes ^^ I've made style for XP years ago using hex-editor, notepad and resource editor.... long fun.
Later did the same for Win7, but also using external style editor (which was not perfect and anyway required manual improvements).
"W̷i̷s̷h̷i̷n̷g o̷n a s̷t̷a̷r"
Post Reply