English
Opportunities and suggestions

future XProfan-versions - Opportunities?

 
- Page 1 -


the Trackmenu  - if i remember rightly - was The procedure always only useable as long as one on the hwnd operates, simply because of the Positionsangabe.

my suggestion, if Trackmenu no Parameter get, then the Trackmenu on Mausposition create.

in the meantime I had me this a Proc written, but me Yes nevertheless Jahrelang gequält (P²4.5=>P7) and so itself others not likewise bait...
CompileMarkSeparation
Proc Trackmenu_bymousepos

    Declare Gmp#,Dx&,Dy&
    Dim Gmp#,8
    External("user32","ClientToScreen",%Hwnd,Gmp#)
    Dx&=Long(Gmp#,0)
    Dy&=Long(Gmp#,4)
    External("user32","GetCursorPos",Gmp#)
    Trackmenu (Long(Gmp#,0)-Dx&),(Long(Gmp#,4)-Dy&)
    Dispose Gmp#

oc

 
09/08/06  
 



 
- Page 4 -



Jörg
Sellmeyer
I would find it well, if Height(%hwnd) too a evtl. available Toolbar berücksichtigt. in the momentum go The Buttons namely simply überdeckt.
Greeting
Jörg
 
Windows XP SP2 XProfan X4
... und hier mal was ganz anderes als Profan ...
10/21/07  
 



...I had too a wish:
If in the program so some Creatiert becomes, must the to that Schluss indeed with Delete..., Destroy... or Dispose... removes go. here would one commands or a function desirable, The I at terminate the Program simply aufrufe and the then the Freischreiben in memory automatically Done.
 
10/23/07  
 




Frank
Abbing

here would one commands or a function desirable, The I at terminate the Program simply aufrufe and the then the Freischreiben in memory automatically Done.


Something like is in new Windowsversionen (ex XP faith I) installed. at that terminate one Program go which memory again released, The it occupied having.
 
10/23/07  
 



@Frank

then wären means command How DeleteObject.. and Dispose... not any more necessary ???
 
10/23/07  
 




RGH
Horst horn
@Frank

then wären means command How DeleteObject.. and Dispose... not any more necessary ???


here irrst You!
In Procedures müßten The local pair nevertheless aimed vernichtet go, so it with häufigem appeal same not to catastrophe comes.

Also should I a management the begot Objects install, so I know which lever To what heard ... and the would XProfan not absolutely speed ...

i'll But time in the back of the head keep. DestroyWindow and DeleteObject were itself but Perhaps to a of both summarize. From Fensterhandles can I The class detect. leaves itself no Fensterklasse detect, must it yes a Objekt his.

Greeting
Roland
 
Intel Duo E8400 3,0 GHz / 4 GB RAM / 1000 GB HDD - ATI Radeon HD 4770 512 MB - Windows 7 Home Premium 32Bit - XProfan X4
10/23/07  
 



@Roland


i'll But time in the back of the head keep.


Have still known, that one with you calculate can
 
10/23/07  
 




Jörg
Sellmeyer

DestroyWindow and DeleteObject were itself but Perhaps to a of both summarize.


Very good idea!

How see it because with others Wish here from the Forum from:
Tray Icons: [web]https://XProfan.com/thread.core?t=5750[/web]
iFs question bzgl Enter: [web]https://XProfan.com/thread.core?t=4635[/web]
and UseFont + LoadBmp: [web]https://XProfan.com/thread.core?t=5760[/web]
my Own Why stay wg. Tranzparenz in Images:


The transparente colour as additional (optionalen) Parameter with whom Bitmap-command and functions!!!
LoadBmp s, X,Y ;N[,$FFFFF]

where with there naturally then too yet desirable would, one Static transparent To make (if the at all goes)

String-Length of getText$: [web]https://XProfan.com/thread.core?t=4631[/web]
not that ichs need would, but Perhaps is here Yes what dran
Unicode: [web]https://www.rgh-soft.de/forum01/read.php?f=9&i=2969&t=2964[/web]
New ChooseDir-dialog:
[web]https://XProfan.com/thread.core?t=2179&start=168[/web]
and How see it with the Callbacks from? I can me remind, that at Subclassing Problems appear.

Greeting
Jörg
 
Windows XP SP2 XProfan X4
... und hier mal was ganz anderes als Profan ...
10/23/07  
 




Jac
de
Lad
and a Parameter, circa Mainwindow transparent to create...
 
Profan² 2.6 bis XProfan 11.1+XPSE+XPIA+XPRR (und irgendwann XIDE)
Core2Duo E8500/T2250, 8192/1024 MB, Radeon HD4850/Radeon XPress 1250, Vista64/XP
10/23/07  
 




Frank
Abbing

then wären means command How DeleteObject.. and Dispose... not any more necessary ???


DeleteObject gives a lever spare. using your Program only a couple of it, is it objectively not necessary, tappt im dunkeln To delete. go but in the Programmablauf ongoing lever reserved, then already, because sometime windows lever-list fully is.
with Dispose behave it itself just as.

your question have I but entnommen, that You on the End of program with a round-circa-shock everything enable want, what reserved watts. ex XP is the really unnecessary, because windows anyhow The Programmspeicher entlädt.
though heard The release to that good tone and ought to of each Programmer undertaken go..
 
10/23/07  
 



@Frank


though heard The release to that good tone and ought to of each Programmer undertaken go..


so sees in a of my programs the good tone to that Schluss from:
CompileMarkSeparation
PROC PROGRAMM_ENDE

    CloseMessages(%hwnd)
    freedll lvdll&
    freedll icon_dll&
    Dispose icons#
    Dispose itemtexts#
    Dispose nurso#
    Dispose bereich#
    Dispose maus_bereich#
    USERMESSAGES 0
    DELETEOBJECT font0%
    DELETEOBJECT font1%
    DELETEOBJECT font2%
    DELETEOBJECT font3%
    Assign #1,tempL$
    ERASE #1
    Assign #2,tempR$
    ERASE #2
    I%=LEN(path1$)
    path1$=LEFT$(path1$,I%-1)
    I%=LEN(path2$)
    path2$=LEFT$(path2$,I%-1)
    Case (I%=3):path2$=LEFT$(path2$,2)
    ASSIGN #5,pfad$+COMM_DATAS+log_name$
    REWRITE #5
    PRINT #5,path1$
    PRINT #5,path2$
    CLOSE #5
    EE%=1

ENDPROC


there are already some things To respect. therefore would it of benefit, if everything in a Slip, How You so correctly. write, bereinigt go could
 
10/23/07  
 




Jörg
Sellmeyer
it would already useful, if eachone this command several Parameter to accept/process would:
CompileMarkSeparation
freedll lvdll&,icon_dll&
Dispose icons#,itemtexts#,nurso#,bereich#,maus_bereich#
USERMESSAGES 0 das kannste Dir ersparen
DELETEOBJECT font0%,font1%,font2%,fon
pre>

one can naturally too a procedure write:
CompileMarkSeparation
Greeting
Jörg
 
Windows XP SP2 XProfan X4
... und hier mal was ganz anderes als Profan ...
10/23/07  
 




Frank
Abbing

USERMESSAGES 0 the kannste you save


sure? I had at End of program time fiese Abstürze, To I the einbaute. since the standing it in each of my Codes.


it would already useful, if eachone this command several Parameter to accept/process would:


in the doing!
 
10/24/07  
 




Answer


Topictitle, max. 100 characters.
 

Systemprofile:

no Systemprofil laid out. [anlegen]

XProfan:

 Posting  Font  Smilies  ▼ 

Please register circa a Posting To verfassen.
 

Topic-Options

20.964 Views

Untitledvor 0 min.
holmol9305/30/13
Stephan Sonneborn03/02/12
Julian Schmidt11/09/11

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