| |
|
|
Normann Strübli | with XProfan Ownerdraw-Menüs create...
X-Menu ver. 1.2 is ready...
each exhaust can a Own type / Formatierung allocated go. Icons or Check boxes are no trouble function to that inquire / settle the Check boxes any colours are now completely! anpassbar an scheduler with Abkürzungstasten becomes automatically prepares the Menu can one Wallpapers allocated go
plenty Fun so |
|
|
| |
|
|
|
| Hello Normann...
your Demos You this INC (be random above stumbled) see KLASSE from! the could I very well use, unfortunately work I but with Profan² 7.5 and find none suitable Substitute for SIZEOF and can therefore in the moment neither at Weiterentwickeln give a hand . circa from scratch to begin and SIZEOF simply rauszuschmeißen missing me too The Time.... son Mist! Please work moreover dran! find I just well! |
|
|
| |
|
|
|
| the part is wonderful! I habs time aufstruktoriert, no idea why: |
|
|
| |
|
|
|
| so, again I.
The following, i'd the X-Menu gladly, because it so gernial is, into Funktionsumfang the XPSE with yielding.
the hieße, the the Progger The X-Menu INC having must, with XPSE however only instead of
appendmenu
in example
xappendmenu
and instead of
popup
hold
xpopup
To Disposal has.
XPSE should then from the xappendmenu, xpopup etc. The suitable Passagen from the X-Menu bring into action.
points I my? I custom there naturally your Help.
in the Result ought to it possible his, z.B. the following write to: CompileMarkSeparation is only an example How XPSE The Sonderattribute parsen could, Perhaps there there too yet something eleganteres.
iF |
|
|
| |
|
|
|
Rolf Koch | |
|
| |
|
|
|
Normann Strübli | thanks for your positives Feedback
having unfortunately forget To allude that I of last friday to date on the way was and so unfortunately not Answer could.
the part is wonderful! I habs time aufstruktoriert, no idea why:
Weils hold a little bit unübersichtlich was... thanks iF.
Related to the XPSE can We also gladly in forward line take but Have yet (not integrally) understood How I you there best help can...
Greeting Normann |
|
|
| |
|
|
|
| OK, lez begin
means, the Simplest what the Profaner Yes employ can is still eigendlich one: CompileMarkSeparation this 2-Zeiler opens one Fensterchen and wait a Click ex.
now moreover: CompileMarkSeparation now, the is Yes yet clear, but could you ne INC building, which the following Ermöglicht (first without jeglichen Schnickschnak): CompileMarkSeparation so, if your INC means NEN XPopup and NEN Xappendmenue had, then ought to in this example no Difference to that Pop and Appendmenu of XProfan visible his!
The extensions make we later, ok?
so can we the XProfan Step by Step procure, ownerdraw-menüs darzustellen. but everything to the voluntarily Motto. that is if someone his Prog compiliert, and (then Yes later) The XMenu.inc with eincompiliert, then ought to first of all no Difference To remember his. but then, if it z.B. (and the must we then among themselves turn off) Xappendmenu 101,men2:disabled:pic=pic.bmp bla bla bla having the Progger The Possibility with plainer Syntax its Menüs tidy aufzupeppen!
but first To step 1.
To denne, iF |
|
|
| |
|
|
|
Normann Strübli | Hi,
jaja The Time... (The me instantly missing) :| gives unfortunately not plenty new though solltet your the new Version runterladen The of course no new functions provides for but a Error less contains.
If to the Menu with ALT+? called has watts the markierte exhaust defective displayed. (If the yet none notice???)
@iF: don't be cross with me but I think still i'll first on whom yet missing functions works and if then everything is done can we circa a Integration in the XPSE concern... I Have there of course with started but if I on the INC yet what change müsstest You indeed always mitändern and this is Yes somehow double work...
Greeting Normann |
|
|
| |
|
|
|
Normann Strübli | one Update comes seldom alone...
Have now time simple Check boxes in the Menu realized The with XgetChecked / XsetChecked quizzed and staid go can.
Also contains The zipper now a new File for verwendeten Icons. Desweiteren watts The Optik the Icons by a adjusted size heavy correct.
Ausführliche Doku follows later.
Please testing!!
alas and on the side: white someone random How I one Icon not 2-bit SW separate in Graustufen transfiguring can???
Greeting Normann |
|
|
| |
|
|
|
Normann Strübli | Mist Have what forget:
IF can You BÜDDE time your Posting so far edit the one here no SCROLLKRAMPF at reading get |
|
|
| |
|
|
|
| With the whom Scrollkrampf, gg, habs Done.
^^
Normann Strübli
white someone random How I one Icon not 2-bit SW separate in Graustufen transfiguring can??? Greeting Normann
Meinst now yourself calculate PixByPix, or Apileierei?
To denne, iF |
|
|
| |
|
|
|
Frank Abbing | Hi,
Icons gray dye from of my Buddelkiste (here in the Context with Buttonsimages). CompileMarkSeparationEine Methode, um Icons grau zu färben.
(C) 2004 Frank Abbing.
Declare bild&,text$,neu&,array&,x&,y&,z&,but&,pseudobitmap&,bitmap&,wert&,x%,y%,z%
Def SelectObject(2) !GDI32,SelectObject
Def CreateCompatibleBitmap(3) !GDI32,CreateCompatibleBitmap
Def GetSysColor(1) !USER32,GetSysColor
SetTrueColor 1
Window 0,0-800,600
Cls GetSysColor(15)
Originales Icon mit Profanmitteln ins Fenster laden.
text$=globus.ico
DrawLibIcon text$,0,40,40
Originales Icon mit Profanmitteln im Hintergrundsspeicher laden.
x&=32
y&=32
MCLS x&,y&
Startpaint -1
Cls GetSysColor(15)
DrawLibIcon text$,0,0,0
Icon grau färben
y%=0
Whileloop 32
x%=0
Whileloop 32
z&=GetPixel(x%,y%)
If z&<>GetSysColor(15)
z%=(GetRValue(z&)+GetGValue(z&)+GetBValue(z&))/3
SetPixel x%,y%,Rgb(z%,z%,z%)
EndIf
Inc x%
EndWhile
Inc y%
EndWhile
Pseudobitmap erstellen. BM_SETIMAGE funktioniert nur mit Bitmaps, die keinem HDC zugeordnet sind.
pseudobitmap&=CreateCompatibleBitmap(%hdc,x&,y&)
Pseudobitmap unserem HDC zuordnen
Als Ergebnis bekommen wir unsere losgelöste Bitmap zurück !
bitmap&=SelectObject(%hdc,pseudobitmap&)
EndPaint
Button erstellen via Control / die Create(Button,...) Methode funktioniert nicht ohne weiteres
Button noch nicht sichtbar !
but&=@Control(Button,,$40000080,40,100,48,48,%hwnd,1001,%Hinstance)
Bitmap dem Button zuordnen
Sendmessage(but&,$F7,0,bitmap&) BM_SETIMAGE
Button sichtbar machen
ShowWindow(but&,1)
WaitKey
- Button zerstören, damit die Bitmap wieder frei wird
- Bitmap löschen
DestroyWindow(but&)
DeleteObject bitmap&
4 href='./../../funcion-referencias/XProfan/end/'>End
Have too another ProSpeed-Variante, The very plenty faster operates, but Please... |
|
|
| |
|
|