English
Forum

smaller ones Umsetzungsprobleme

 
- Page 1 -



liveFamilie
Hello Fangemeinde of Profan,
i'm by a known on eure Page punched. have me here The V8 and the V11free Downloaded.
at that experiment have I then fixes, the The V8 not everything can what The V11 can (is indeed logical).
Since I my attempt in the V11free probiert have, need I eure Help circa this into gängiges stature for V8 To Change, I verzweifle thereby.
and so I The V8 take ? because there one Compiler is circa a lauffähige exe to create. nothing against The others versions, but I would like still first see, whether it me succeed something brauchbares to create and whether I thereby stay before I on höherwertige versions umsteige.
therefore already time one rechtherzlichen Thanks on whom program the it one these chance einräumt.

now To my Problemen. I put you my recent code here available. it should a portable Version his. yet have I only these Programming and suitable ini-Files and Graphics.
No dll etc. I hope your comes so clear.

trouble 1
As I said it hapert on the Umsetzung the it in V8 runs and compaliert go can.
trouble 2
in the begot Window is a Hintergrundgrafik as jpg. The V8 can but this stature not reading. How get to the there ? because my Graphics lying in jpg to.
trouble 3
If I the window verkleinere or vergrößere, flackert kurzzeitig the Wallpapers. is the normal or have I there what forget ?
trouble 4
It should some Menupunkte ausgegraut his, if no File loaded is. tappt im dunkeln should first active go if a File loaded is, How I get this there ?

I bedanke me Schonmal beforehand, for the your you certainly trouble give, where I dran verzweifle.

Greeting
Toni

12 kB
Kurzbeschreibung: code
Hochgeladen:01/05/12
Downloadcounter215
Download
 
XProfan 8
"Profan das Besondere"
was auch in einem gewissen Alter noch Spass macht und Fit hält.
01/05/12  
 



 
- Page 1 -



Dietmar
Horn
Hello Toni,

Perhaps should You you as Beginner first of all time my small XProfan-Textbook look at.

Download:  [...] 

so could into past years anyway already several generations of XProfanern in my XProfan-Kursen successful whom Entry into Windowsprogrammierung create.

The most things and Example Programs there klappen too with the Freewareversion XProfan 8.

Greeting
Dietmar
 
Multimedia für Jugendliche und junge Erwachsene - MMJ Hoyerswerda e.V.  [...] 

Windows 95 bis Windows 7
Profan² 6.6 bis XProfan X2 mit XPSE

Das große XProfan-Lehrbuch:  [...] 
01/06/12  
 




Julian
Schmidt
@ Toni:
I have integrally overlooking that you a View source angehangen have.
otherwise had I To trouble 1 & 3 warscheinlich More say can.

Werd it me tommorrow time standing.

good night in a body
 
XProfan X2
Win7 Home Premium, SP1, AMD Athlon(tm) II Neo K125 Processor

˗˗˗˗˗˗˗˗˗˗˗˗˗˗˗˗˗˗˗˗˗˗˗˗˗˗˗˗˗˗˗˗˗˗˗˗˗˗˗˗˗˗˗˗˗˗˗˗˗˗˗˗˗˗˗˗˗˗˗˗
Webseite [...] 
01/06/12  
 




Julian
Schmidt
Untitled (06.01.12)
To trouble 3 XPSE, comment the time one Beginner and How setting I it one or circa ?
trouble 3, I can one other Image of my ini select and over the code becomes it read and then displayed (infos are in the code, everywhere where Wallpapers standing)


in your View source verwendest You apparently a Bitmap-Control to spending, what Schonmal positively is. rather get You it through normales XProfan neither there.
with XPSE is the sure possible, though can I you lest help, because myself not so intimate be.
best ask You iF.
here one Link To XPSE...[...] 

Untitled (06.01.12)
To trouble 1, integrally simply, read I the code in V8 one and compaliere it, dive Fehlermeldungen on, on this Points need I Help there not everyone used commands in the V8 usage finds


unfortunately have I the View source because of missing Background graphics, Folder structures and Initialisierungsdateien not yet entire running brought (Weder under V8,V11.). so is it very heavy The Error auszumerzen....

on the best everything Upload
 
XProfan X2
Win7 Home Premium, SP1, AMD Athlon(tm) II Neo K125 Processor

˗˗˗˗˗˗˗˗˗˗˗˗˗˗˗˗˗˗˗˗˗˗˗˗˗˗˗˗˗˗˗˗˗˗˗˗˗˗˗˗˗˗˗˗˗˗˗˗˗˗˗˗˗˗˗˗˗˗˗˗
Webseite [...] 
01/06/12  
 



XPSE lying in Version 11.x to and is therefore with XProfan 11 einzusetzen -

if it XProfan 8 uses then can it XPSE not bring into action.

for what very becomes another Solution sought?
 
01/06/12  
 




liveFamilie
Hello iF

trouble 1 is yet open.
"Problem 1, integrally simply, read I the code in V8 one and compaliere it, dive Fehlermeldungen on, on this Points need I Help there not everyone used commands in the V8 usage findet"

trouble2, try whom suggestion of Peter umzusetzen
"Beispiel lying with V8 bei"

trouble 3 is yet open (there would the suggestion for XPSE)
"If I the window verkleinere or vergrößere, flackert kurzzeitig the Wallpapers. is the normal or have I there what forget ?"

trouble 4, try whom suggestion of Julian57
"EnableMenu (for ausgrauen of Menu) will be time nachschauen whether it whom commands in the V8 gives, unless must I weitersuchen"

it made too whom suggestion API. What is API ?

@Dietmar
How you see have I a crowd code created (in V11free runs it too), have thereby Examples from the Forum and the Handbüchern and other Internetseiten taken.
still unfortunately have I do not attention and everything properly for V11free made.
there but some command The V8 not knows, Search I umgehungslösungen for.
circa me over ands over again to eyes hold to how far I already come be. and whether I in my old yet lernfähig be and itself one umstieg on höhere versions rewards.

Greeting
Toni

PS:
@Julian
try today at the latest tommorrow time everything ready here einzustellen, so it evtl. leichter is me To help. THANK YOU
 
XProfan 8
"Profan das Besondere"
was auch in einem gewissen Alter noch Spass macht und Fit hält.
01/06/12  
 




liveFamilie
Hello Julian57,

here time the whole pkg as zipper File.

I give To it would beautiful if of/ one whom code complete umsetzt for V8 (have I less work).
but so learn I nothing, Hilfestellungen How z.b. with the the jpg Image V8 reading (of Peter) are good Approaches.

Greeting
Toni

PS:
I hope the code construction is too verständlich and so i.O., if I something forget have or übersah Please report.
THANK YOU

1.030 kB
Kurzbeschreibung: Versuch_1
Hochgeladen:01/07/12
Downloadcounter101
Download
 
XProfan 8
"Profan das Besondere"
was auch in einem gewissen Alter noch Spass macht und Fit hält.
01/07/12  
 




Julian
Schmidt
thanks Toni,
I Have me your View source time durchgelesen. You seem the Wallpapers in the Hauptschleife to each Waitinput on The Fenstergröße To skallieren and To aktuallisieren. therefore comes the Flackern at minimize, maximize and each klick.
my suggestion moreover would %hWnd To subclassen and on wmsize or wmsizing abzufragen, then would the flackern relatively eingegrenzt.
though there in XProfan8 none Subclass-Proc.
in a whether it a alternative to that Subclass-Proc gives.
i hope so gives another couple XProfan The with XProfan 8 program and help can

LG

Julian57
 
XProfan X2
Win7 Home Premium, SP1, AMD Athlon(tm) II Neo K125 Processor

˗˗˗˗˗˗˗˗˗˗˗˗˗˗˗˗˗˗˗˗˗˗˗˗˗˗˗˗˗˗˗˗˗˗˗˗˗˗˗˗˗˗˗˗˗˗˗˗˗˗˗˗˗˗˗˗˗˗˗˗
Webseite [...] 
01/07/12  
 



 
- Page 2 -


Julian57 (07.01.12)
though there in XProfan8 none Subclass-Proc.
in a whether it a alternative to that Subclass-Proc gives.


except User Messages nothing absturzsicheres.
 
01/07/12  
 




Julian
Schmidt
so I Have it now for XProfan 8 umprogrammiert.
Download

LG

Julian57

1.159 kB
Hochgeladen:01/07/12
Downloadcounter93
Download
 
XProfan X2
Win7 Home Premium, SP1, AMD Athlon(tm) II Neo K125 Processor

˗˗˗˗˗˗˗˗˗˗˗˗˗˗˗˗˗˗˗˗˗˗˗˗˗˗˗˗˗˗˗˗˗˗˗˗˗˗˗˗˗˗˗˗˗˗˗˗˗˗˗˗˗˗˗˗˗˗˗˗
Webseite [...] 
01/07/12  
 




Thomas
Freier
i'd on place the NVIEWLIB.DLL The twjpeg.dll take. The Bildaufbau is ruhiger.
CompileMarkSeparation
 $H windows.ph
'###############################################
'TWJpeg.Dll - Interface (angepaßt von Dietmar Horn)
'Freeware-Dll
'Speziell für Jpg-Files und Profan²
'Da einige Jpg-Files von der Nviewlib nicht geladen
'werden koennen wurde diese Dll entwickelt.
'Unterstützung für :
'                   JPG,JPEG
'                   Twain-Geräte ( Scanner - Kamera )
'                   externe Module (Dll,EXE)
'                   progressiv und normal gespeicherte Jpg's
'Lädt und speichert Jpg-Bitmaps
'                   progressiv oder normal
'                   mit Angabe der Kompressions-Qualität
'###############################################
'Teil-Funktionen der DLL
'###############################################
DEF TWJ_LoadJpeg(3) ! "TwJpeg.dll","TWJ_LoadJpeg"
'Parameter :
'1 = Zeiger auf Filename
'2 = Zeiger auf LongInt der die Breite aufnimmt
'3 = Zeiger auf LongInt der die Höhe aufnimmt
'Rueckgabe = Bitmap-Handle
'###############################################
'API-Hilfsfunktionen
DEF SelectObject(2) ! "gdi32","SelectObject"
DEF DeleteObject(1) ! "gdi32","DeleteObject"
DEF CreateCompatibleDC(1) ! "gdi32","CreateCompatibleDC"
DEF StretchBlt(11)  ! "gdi32","StretchBlt"
DEF DeleteDC(1)     ! "gdi32","DeleteDC"
'Globale Deklarationen
Declare Image#,Breite#,Hoehe#

Proc StretchLoad_Jpg

    'Laedt ein JPG-Bitmap ins Hauptfenster
    'verhält sich wie LoadSizedBmp
    Parameters Filename$,X&,Y&,W&,H&
    Declare Jpg_Handle&,MemDC&,Bild&
    Dim Image#,260
    Dim Breite#,4
    Dim Hoehe#,4
    String Image#,0 = Filename$
    Let Jpg_Handle& = TWJ_LoadJpeg(Image#,Breite#,Hoehe#)
    Let MemDC& = CreateCompatibleDC(%HDC)
    Let Bild& = SelectObject(MemDC&,Jpg_Handle&)
    StretchBlt(%HDC,  X&, Y&, W&, H&, MemDC&, 0, 0, Long(Breite#,0), Long(Hoehe#,0), $CC0020)
    StretchBlt(%HDC2, X&, Y&, W&, H&, MemDC&, 0, 0, Long(Breite#,0), Long(Hoehe#,0),$CC0020)
    DeleteDC(MemDC&)
    DeleteObject(Bild&)
    DeleteObject(Jpg_Handle&)
    Dispose Image#
    Dispose Breite#
    Dispose Hoehe#

EndProc

'Beispiel :
cls
~SetClassLong(%hwnd, ~GCL_STYLE, (~GetClassLong(%hwnd, ~GCL_STYLE)- ~CS_HREDRAW - ~CS_VREDRAW))
StretchLoad_Jpg "ELK.JPG",0,0,@Width(%hwnd),@Height(%hwnd)

while 1

    waitinput
    case %key=2:BREAK
    case %key=4:StretchLoad_Jpg "ELK.JPG",0,0,@Width(%hwnd),@Height(%hwnd)

Wend class=s4 href='./../../Function-References/XProfan/end/'>end

94 kB
Hochgeladen:01/08/12
Downloadcounter123
Download
13 kB
Hochgeladen:01/08/12
Downloadcounter119
Download
 
Gruß Thomas
Windows XP SP2, XProfan X2
01/08/12  
 




liveFamilie
Erstmal one herzliches THANK YOU all.
I wisely of course now not very where I anfange and aufhöre.
I must me now first eure Tipps any umsetzen for me.
One besonderer DANK on Julian57, even if I now first look must what You everything changed have.
i'll now first a couple days engage his. therefore schließe I the whole it must Yes not absolutely lasting weeks open his.

new Problems new inquire and this time then particular (have learnt iF) is really rather.

plenty joke and success wish I you

Toni
 
XProfan 8
"Profan das Besondere"
was auch in einem gewissen Alter noch Spass macht und Fit hält.
01/08/12  
 




Julian
Schmidt
no trouble!
changed have I do not plenty. only The thing with the User Messages & The Bildausgabe On the home screen, Mainwindow.
 
XProfan X2
Win7 Home Premium, SP1, AMD Athlon(tm) II Neo K125 Processor

˗˗˗˗˗˗˗˗˗˗˗˗˗˗˗˗˗˗˗˗˗˗˗˗˗˗˗˗˗˗˗˗˗˗˗˗˗˗˗˗˗˗˗˗˗˗˗˗˗˗˗˗˗˗˗˗˗˗˗˗
Webseite [...] 
01/08/12  
 




Answer


Topictitle, max. 100 characters.
 

Systemprofile:

no Systemprofil laid out. [anlegen]

XProfan:

 Posting  Font  Smilies  ▼ 

Please register circa a Posting To verfassen.
 

Topic-Options

15.003 Views

Untitledvor 0 min.
Andreas Koch09/14/15
Peter Max Müller06/01/15
Jochen Roxlau05/04/15
mein05/31/13
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