Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Incorporate Skinning thourgh Stardock DirectSkin
I don't want to design custom controls for every little thing but there are many pre-made custom skins that could be applied to entire exe dialogs I have made through QM.
In DirecSkin, there are instructions for how to apply in

The demo shows sample code for COM controls in C#, C/C++ and Visual Basic. Since QM has interfaces with these, I think it would be theoretically possible to use that code through QM but not sure how much work this is.

Thoughts? Interest by others?

From pdf's:

DirectSkin easily integrates with all major programming languages that support ActiveX (COM) controls, including: .Net, C#, C/C++ and Visual Basic.

DirectSkin works on the following Windows platforms:
32-bit Windows 10/8/7/Vista/XP
64-bit Windows 10/8/7/Vista

Download and install the DirectSkin demo.
Then use code like this in your dialogs.

Macro dialog_DirectSkin
Copy      Help

typelib WBOCXLib {52BD8A52-B792-4C45-A4D9-245CC945AC34} 1.0

str dd=
;0 "" 0x90C80AC8 0x0 0 0 224 136 "Dialog"
;940 ActiveX 0x54030000 0x0 64 36 96 48 "WBOCXLib.Wbocx {55D94814-5664-4D04-9804-74DD038D4BA3} data:FF3B93B57DCD0595FDC248CD079B4CD6FEB4AEEC2770020B0DBA498E57D90EE6021BB8759574391802"
;1 Button 0x54030001 0x4 116 116 48 14 "OK"
;2 Button 0x54030000 0x4 168 116 48 14 "Cancel"
;DIALOG EDITOR: "" 0x2040701 "*" "" "" ""

if(!ShowDialog(dd &sub.DlgProc 0)) ret

#sub DlgProc
function# hDlg message wParam lParam

WBOCXLib.Wbocx- wb

sel message
,if wb=0
,,wb._getcontrol(id(940 hDlg))
,case WM_COMMAND goto messages2
sel wParam
,case IDOK
ret 1

;main_function  dialog_DirectSkin
That is so amazing!!!!
To change themes I had to close QM and restart. Ifigure it is writing to registry.
I will play around a bit more to see how to use it better after I register software - i.e. get rid of splashscreen, etc.
Very very very cool!!!
Thanks so much!,

Forum Jump:

Users browsing this thread: 1 Guest(s)