English
DLLs

XFrame-Dll

 

Andreas
Miethe


Hello together,

I had time again pleasure on the Appearance of my XProfan-Fensters To screwing.
Herausgekommen is thereby a small DLL, The the for me manage can.
I lann so welt and Titelleiste change.
see Image.

Download



I have The Dll of course extensively tested, ex if the an or others a little play would like, then go ahead.
Perhaps there Yes yet suggestions moreover.

the Test-Program is for latest Freeware-Full Version XProfan8 written.

Please absolutely The PDF-File reading.

35 kB
Hochgeladen:01/06/10
Downloadcounter322
Download
1.035 kB
Hochgeladen:07/17/12
Downloadcounter235
Download
 
Gruss
Andreas
________ ________ ________ ________ _
Profan 3.3 - XProfanX2
Win 95,98,ME,2000,XP,Vista - Win 7 32 / 64 Bit
ASUS X93S - Intel Core I7-NVIDIA GForce 540M 8GB Arbeitsspeicher
Homepage :  [...] 
01/06/10  
 




Rolf
Koch
means by me under Win7 works it correct. Beauty thing, straight for Gestaltungsfreaks so How I of/ one be.
in the Testprogramm are change 3 and change 4 same? there happens nothing.
 
01/06/10  
 




Andreas
Miethe


Rolf Koch, Beitrag=55759, Zeitpunkt=06.01.2010
means by me under Win7 works it correct. Beauty thing, straight for Gestaltungsfreaks so How I of/ one be.
in the Testprogramm are change 3 and change 4 same? there happens nothing.


really should with 4 the two Systembuttons vanish, The have I but none displayed, habs simply forget at paraphrase to XProfan8.
 
Gruss
Andreas
________ ________ ________ ________ _
Profan 3.3 - XProfanX2
Win 95,98,ME,2000,XP,Vista - Win 7 32 / 64 Bit
ASUS X93S - Intel Core I7-NVIDIA GForce 540M 8GB Arbeitsspeicher
Homepage :  [...] 
01/06/10  
 




Christian
Schneider
sees really nice from and the Testprogramm runs by me without Problems.

to that yourself play I will unfortunately to end january not come (habs but definitiv on ToDo).
 
XProfan 11| Vista(64) SP2
01/06/10  
 



something umständlich in the management, but super thing.

Irgendwas but... (Vista)



means The Popups of Menu are To deeply and with whom Buttons missing supra initially a Pixelreihe.

7 kB
Hochgeladen:01/06/10
Downloadcounter190
Download
 
01/06/10  
 




Andreas
Miethe


iF, Beitrag=55767, Zeitpunkt=06.01.2010

means The Popups of Menu are To deeply and with whom Buttons missing supra initially a Pixelreihe.


Yes, is at paraphrase to XProfan8 happens. I had already utterly forget How is a Toolbar by Api anlegt.

here one other example. so power to the Toolbarmenü transparent.
CompileMarkSeparation
 $H windows.ph
 $H messages.ph
 $I XFrameDll.Inc
Struct TBBUTTON = iBitmap&,idCommand&,fsState#(1),fsStyle#(1),bReserved#(2),dwData&,iString&
Struct Rect = left&,top&,right&,bottom&
Declare Ende&,Dll&
Declare TB_Buttonstrings$,TB&,TBS&
Declare Rebar&,RebarBandInfo#
Dll& = UseDll("XFrame.dll")
Windowstyle 20
windowtitle "OwnerDraw-Frame"
cls $FFFFD7
Usermessages ~wm_close
UseIcon "Eis"
Ende& = 0
#################
DLL vorbereiten
#################
SetButtonIndent(2)
SetTextIndent(4)
SetProgIcon(0)
SetOnTop(%hwnd,1)
SetButtons(0,0)
AdjustWindow(80,12,18,$FFFF)
SetOnlycaption(0)
SetAddImage(0)
Var T$ = "durchsichtiges Menü mit Rebarcontrol"
SetAddText(Addr(T$),Create("FONT","ARIAL",24,0,1,0,0),$FFFF,~DT_RIGHT)
SetButtonImages(Create("hPic",-1,GetDir$("@")+"\Pics\Allbuttons6.bmp"))
SetBackGroundImage(Create("hPic",-1,GetDir$("@")+"\Pics\BackGround3.bmp"))
SetLogoImage(Create("hPic",-1,GetDir$("@")+"\Pics\xprofande.bmp"),~DT_LEFT)
#################
#################
Dll initialisieren
#################
Init(%hwnd)
UpdateFrame(%hwnd)
#################
Menu aus Toolbar
#################
TB_ButtonStrings$ = "DateizBerarbeitenzHilfezz"
TB& = Create("Toolbar",%hwnd,-1,-1,-1,-1,1)
Var MenuFont& = Create("FONT","Arial",18,0,0,0,0)
SendMessage(TB&,~WM_SETFONT,MenuFont&,1)
SendMessage(tb&,$400+28,0,Addr(TB_ButtonStrings$))
tbs& = SendMessage(tb&,$400+57,0,0)Style holen
tbs& = tbs& | $1000 | $800 | $100 | $10  Style ändern
SendMessage(TB&,($400+56),0,tbs&)Style setzen
SendMessage(TB&,($400+32),0,Makelong(0,0))Icon-Grösse = 0,0
Buttonstil setzen, kein Icon,Stil
Declare TBB#
Dim TBB#,TBBUTTON
TBB#.iBitmap& = -1
Byte TBB#,8 = 4 , $800 | $40 | $10
Button 1 , CommandID , Text-Index
TBB#.idCommand& = -3000
TBB#.iString& = 0
SendMessage(tb&,($400+21),-1,TBB#)
Button 2 , CommandID , Text-Index
TBB#.idCommand& = -3001
TBB#.iString& = 1
SendMessage(tb&,($400+21),-1,TBB#)
Button 3 , CommandID , Text-Index
TBB#.idCommand& = -3002
TBB#.iString& = 2
SendMessage(tb&,($400+21),-1,TBB#)
Dispose TBB#
#################
########################
ReBar-Control anlegen
########################
ReBar& = Control("ReBarWindow32","",$50000040,0,0,0,0,%Hwnd,2000,%hinstance)
Set("Errorlevel",-1)
External("UxTheme.dll","SetWindowTheme",ReBar&,0)
Set("Errorlevel",0)
Dim RebarBandInfo#,80
Long RebarBandInfo#,0=80       UINT        cbSize
Long RebarBandInfo#,4=$000008B3UINT        fMask;
Long RebarBandInfo#,8=$00000100UINT        fStyle;
Long RebarBandInfo#,32=TB&     HWND        hwndChild;
Var rr# = New(Rect)
Sendmessage(TB&,$041D,1,rr#)Buttonhöhe holen
Var h% = rr#.Bottom&Buttonhoehe
Dispose rr#
Long RebarBandInfo#,40=h%      UINT        cyMinChild;
Var BackPic& = Create("hPic",-1,GetDir$("@")+"\Pics\BackGround3.bmp")
Long RebarBandInfo#,48=BackPic&hBitmap     hbmBack
sendmessage(TB&,$0438,0,$5000896D)Toolbarstyle setzen
Sendmessage (ReBar&,$0401,-1,RebarBandInfo#)Toolbar in ReBar
SetWindowPos ReBar& = 0,0- width(%hwnd),0
########################
SetToolbarAutosize(TB&)
Set("MenuBackCol",$FFFFFF)
Set("MenuBorderCol",$FFFFFF)
SubClass %HWnd, 1
Var r1# = New(Rect)

whilenot ende&

    Waitinput

    If %Umessage = ~wm_close

        exit()
        Dispose r1#
        DeleteObject BackPic&
        DeleteObject MenuFont&
        FreeDll Dll&
        Ende& = 1

    Endif

    If MenuItem(3000)

        CreateMenu
        AppendMenu 100,"&Laden",0
        AppendMenu 101,"&Speichern",0
        AppendMenu 102,"Speichern &als",0
        Rechteck des Buttons holen
        SendMessage(tb&,$400+29,0,r1#)
        TrackMenu r1#.left&,Height(TB&)

    Elseif Menuitem(3001)

        CreateMenu
        AppendMenu 100,"&Kopieren",0
        AppendMenu 101,"&Ausschneiden",0
        AppendMenu 102,"&Einfügen",0
        SendMessage(tb&,$400+29,1,r1#)
        TrackMenu r1#.left&,Height(TB&)

    Elseif Menuitem(3002)

        CreateMenu
        AppendMenu 100,"&Hilfe",0
        SendMessage(tb&,$400+29,2,r1#)
        TrackMenu r1#.left&,Height(TB&)
        Case MenuItem(100) : Messagebox("Hilfe gibt es hier nicht","...",0)

    Endif

EndWhile

SubClassProc

    If SubClassMessage(%hWnd, ~wm_size)

        SetWindowPos ReBar& = 0,0- width(%hwnd),0
        Set("WinProc", 0)

class=s4 href='./../../Function-References/XProfan/endif/'>EndIf ENDPROC

52 kB
Hochgeladen:01/06/10
Downloadcounter246
Download
 
Gruss
Andreas
________ ________ ________ ________ _
Profan 3.3 - XProfanX2
Win 95,98,ME,2000,XP,Vista - Win 7 32 / 64 Bit
ASUS X93S - Intel Core I7-NVIDIA GForce 540M 8GB Arbeitsspeicher
Homepage :  [...] 
01/06/10  
 




Stefan
M.
Caillet
Hello Andreas,
Real tolles part.
by me becomes the window, if I it maximiere circa some Bildpunkte To far supra displayed, so the Icon in the Titelleiste supra cut becomes: likewise go The Grossbuchstaben the Fenstertitels To to oberkannte the lower case cut. too lying it circa some Pixel zuweit left. have this effect in the example "TEST" under Win7/64bit with the Original-dissolution 1386 x 768 the TFT erlebt. there are no Textvergrösserungen o.ä. tuned
can You there yet what make?
Thank you.
greeting Stefan.

83 kB
Hochgeladen:01/07/10
Downloadcounter271
Download
 
Ich habe grosses Glück, weil ich Mitmenschen helfen darf.
Entwicklungsumgebung:
XProfan11 , Win XP Pro 32Bit , Win XP Home ,Win7 HomePremium 64Bit
PC: P4/3GHz , 2GB RAM , 1700GB HD
Laptop: Intel Core 2 Duo /2,2GHz , 4GB RAM , 500GB HD
01/07/10  
 




Andreas
Miethe


Stefan M. Caillet, Beitrag=55773, Zeitpunkt=07.01.2010
Hello Andreas,
Real tolles part.
by me becomes the window, if I it maximiere circa some Bildpunkte To far supra displayed


Hello Stefan,

thanks for Info. is changed.
Update uploaded.
 
Gruss
Andreas
________ ________ ________ ________ _
Profan 3.3 - XProfanX2
Win 95,98,ME,2000,XP,Vista - Win 7 32 / 64 Bit
ASUS X93S - Intel Core I7-NVIDIA GForce 540M 8GB Arbeitsspeicher
Homepage :  [...] 
01/07/10  
 




Stefan
M.
Caillet
Hello Andreas,
thanks. utterly perfect!
greeting Stefan
 
Ich habe grosses Glück, weil ich Mitmenschen helfen darf.
Entwicklungsumgebung:
XProfan11 , Win XP Pro 32Bit , Win XP Home ,Win7 HomePremium 64Bit
PC: P4/3GHz , 2GB RAM , 1700GB HD
Laptop: Intel Core 2 Duo /2,2GHz , 4GB RAM , 500GB HD
01/07/10  
 



Zur DLL


Topictitle, max. 100 characters.
 

Systemprofile:

no Systemprofil laid out. [anlegen]

XProfan:

 Posting  Font  Smilies  ▼ 

Please register circa a Posting To verfassen.
 

Topic-Options

10.285 Views

Untitledvor 0 min.
Axel Berse08/13/23
Walter04/30/23
Normann Strübli02/06/23
Manfred Barei02/04/23
More...

Themeninformationen



Admins  |  AGB  |  Applications  |  Authors  |  Chat  |  Privacy Policy  |  Download  |  Entrance  |  Help  |  Merchantportal  |  Imprint  |  Mart  |  Interfaces  |  SDK  |  Services  |  Games  |  Search  |  Support

One proposition all XProfan, The there's!


My XProfan
Private Messages
Own Storage Forum
Topics-Remember-List
Own Posts
Own Topics
Clipboard
Log off
 Deutsch English Français Español Italia
Translations

Privacy Policy


we use Cookies only as Session-Cookies because of the technical necessity and with us there no Cookies of Drittanbietern.

If you here on our Website click or navigate, stimmst You ours registration of Information in our Cookies on XProfan.Net To.

further Information To our Cookies and moreover, How You The control above keep, find You in ours nachfolgenden Datenschutzerklärung.


all rightDatenschutzerklärung
i want none Cookie