|
| |

VB.NET - Fortgeschrittene| appface ohne button | |  | | Autor: groovi | | Datum: 05.10.06 00:56 |
| hallo,
hat jemand schon mal appface ausprobiert, son skinmaker?
ich habe alles gemacht. in (nutze vsstudio 2005 win xp prof)
in den debug ordner die appface.dll und die *.urf
dann ein modul addiert
darin folgender code:
Imports System.Runtime.InteropServices
Module Module1
Declare Auto Sub SkinStartW Lib "appface.dll" _
(ByVal SkinFile As String, ByVal nDefWinType As Integer, ByVal CheckSum As String, ByVal nType As Integer, ByVal hInstance As Integer, ByVal nLen As Integer)
Declare Auto Sub SkinStart Lib "appface.dll" _
(ByVal SkinFile As String, ByVal nDefWinType As Integer, ByVal CheckSum As String, ByVal nType As Integer, ByVal hInstance As Integer, ByVal nLen As Integer)
Declare Auto Sub SkinWindowSet Lib "appface.dll" (ByVal hWnd As IntPtr, ByVal nSkinType As Integer)
Declare Auto Sub SkinThread Lib "appface.dll" ()
Declare Auto Sub SkinRemove Lib "appface.dll" ()
Declare Auto Sub SkinWindowSetExW Lib "appface.dll" _
(ByVal hWnd As IntPtr, _
ByVal nSkinType As Integer, _
ByVal nResourceId As Integer, _
ByVal nType As Integer, _
ByVal SkinFile As String, _
ByVal hInstance As Integer, _
ByVal nLen As Integer)
Declare Auto Sub SkinWindowSetEx Lib "appface.dll" _
(ByVal hWnd As IntPtr, _
ByVal nSkinType As Integer, _
ByVal nResourceId As Integer, _
ByVal nType As Integer, _
ByVal SkinFile As String, _
ByVal hInstance As Integer, _
ByVal nLen As Integer)
Sub Main()
'For AppFace
SkinStart(Application.StartupPath + "\blue.urf", 0, 0, 1, 0, 0)
Dim fMainForm = New Form1
fMainForm.ShowDialog()
SkinRemove()
End Sub
End Module
------------
und im solution explorer unter aplication type "windows service"
und bei startup objekt "modul1"
das form 1 ist nur ein standard form mit einem button
alles klar, fenster öffnet mit der skin, nur der button ist wie im windows 3.11
was mache ich da nur falsch??
habe alle button flat style properties schon durch mit gleichem resultat.
HILFE...
gruß uwe. |  |
 appface ohne button | 698 | groovi | 05.10.06 00:56 |
 | Sie sind nicht angemeldet! Um auf diesen Beitrag zu antworten oder neue Beiträge schreiben zu können, müssen Sie sich zunächst anmelden.
Einloggen | Neu registrieren |
  |
|
Neu! sevEingabe 3.0 
Einfach stark!
Ein einziges Eingabe-Control für alle benötigten Eingabetypen und -formate, inkl. Kalender-, Taschenrechner und Floskelfunktion, mehrspaltige ComboBox mit DB-Anbindung, ImageComboBox u.v.m. Weitere InfosTipp des Monats TOP Entwickler-Paket 
TOP-Preis!!
Mit der Developer CD erhalten Sie insgesamt 24 Entwickler- komponenten und Windows-DLLs. Die Einzelkomponenten haben einen Gesamtwert von 1866.50 EUR...
Jetzt nur 979,00 EURWeitere Infos
|
| |
|
Copyright ©2000-2025 vb@rchiv Dieter Otter Alle Rechte vorbehalten.
Microsoft, Windows und Visual Basic sind entweder eingetragene Marken oder Marken der Microsoft Corporation in den USA und/oder anderen Ländern. Weitere auf dieser Homepage aufgeführten Produkt- und Firmennamen können geschützte Marken ihrer jeweiligen Inhaber sein.
Diese Seiten wurden optimiert für eine Bildschirmauflösung von mind. 1280x1024 Pixel
|
|