English
Opportunities and suggestions

wish: ItemID's instead of ControlHandles

 
i wish me ...

...the one with whom CreateBefehlen a ItemID indicate can so one not always the lever remember must - wonach one explicit less variables bräuchte - only Konstanten.
 
07/19/07  
 




RGH
means so about How SetItemID(handle&, &id).
then could You on The Variable for the lever dispense:
CompileMarkSeparation
sound meaningfully!

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
07/19/07  
 



Ah You scheust you certainly to nem additional Parameter because Create eh different-many Params has - Have there ne idea!

first Param of Create is imho always of type String. how'bout with:
CompileMarkSeparation
create(1000,button,,,,,,,,,,,)
>
?

first Param=Long: CtrlID
 
07/19/07  
 




Jörg
Sellmeyer
well Yes - so GEHTS but already long or?
CompileMarkSeparation
SubProc Create.IdBtn

    Parameters ID&,hwnd&,t$,x%,y%,b%,h%
    Return Control(Button,t$,$54010000,x%,y%,b%,h%,hwnd&,ID&,%hinstance)

EndProc

Def &Btn1 1000
Declare h&
Cls
print ItemID(Create(IdBtn,&Btn1,%hwnd,Test,10,100,60,24))
print GetHandle(%hwnd,&Btn1)
put
 
Windows XP SP2 XProfan X4
... und hier mal was ganz anderes als Profan ...
07/19/07  
 



so behelfe I me indeed - only mach the times for any vorhandenen XProfan-Controls and you have NEN Rattenschwanz on Styles To mind etc - means ca. 100 zeilen code. Roland against need vlt. only 30 Lines nativen Delphicode add what indeed ne Performancefrage is.
 
07/19/07  
 




RGH
iF


The first Parameter of/ one Containerfunktion, How z.B. Create or Set or .... must the name the Subfunktion his. (otherwise functions the whole system the Containerfunktionen and Subfunktionen not any more.)

what speaks against the SetItemId? its moreover yet universeller, there one it too for others already erstellte Controls, about from Ressourcen, use can.

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
07/19/07  
 




Dieter
Zornow
On the lever would I do not dispense want, need one it still for many items setwindowpos
destroywindow and much More. Zusätzliches Create is ok.

greetings from Bangkok

Dieter
 
Er ist ein Mann wie ein Baum. Sie nennen ihn Bonsai., Win 7 32 bit und Win 7 64 bit, mit XProfan X2
07/19/07  
 




GDL
Hi,
close me dieter on.

Hello
Georg
 
Windows7 Xprofan 8,9,10 [...]  [...] 
07/19/07  
 




Nico
Madysa
for a few individual cases likes SetItemID sure meaningfully his, but I be through XProfan already so on Handles gewöhnt, i want The not at all More missen.
Also: ex XProfan 11 there still termless many variables, there's it still alike, whether one more or less need, or?
 
Nico Madysa
07/20/07  
 



@Nico: Beautiful the You on it gewöhnt are - gives but too people The with XProfan explicit More as only Schnickschnack program. If These people then to years a wish express then could You consider whether not möglicherweise something behind it stick what itself you not immediate erschließt. ;)
 
07/20/07  
 




Nico
Madysa
and how'bout with so what?
CompileMarkSeparation
Reicht so what not?
 
Nico Madysa
07/20/07  
 



You wiederholtest solely Rolands erstes Posting in this Thread.
 
07/20/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

8.665 Views

Untitledvor 0 min.
Jörg Sellmeyer06/02/18
Erfurt12/19/16
iF03/16/12

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