vb@rchiv
VB Classic
VB.NET
ADO.NET
VBA
C#
SEPA-Dateien erstellen inkl. IBAN-, BLZ-/Kontonummernprüfung  
 vb@rchiv Quick-Search: Suche startenErweiterte Suche starten   Impressum  | Datenschutz  | vb@rchiv CD Vol.6  | Shop Copyright ©2000-2025
 
zurück

 Sie sind aktuell nicht angemeldet.Funktionen: Einloggen  |  Neu registrieren  |  Suchen

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.
alle Nachrichten anzeigenGesamtübersicht  |  Zum Thema  |  Suchen

 ThemaViews  AutorDatum
appface ohne button698groovi05.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

Funktionen:  Zum Thema  |  GesamtübersichtSuchen 

nach obenzurück
 
   

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