| |
|
|
| 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. |
|
|
| |
|
|
|
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: CompileMarkSeparationcreate(1000,button,,,,,,,,,,,) > ?
first Param=Long: CtrlID |
|
|
| |
|
|
|
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. |
|
|
| |
|
|
|
RGH | iF
CompileMarkSeparationcreate(1000,button,,,,,,,,,,,) > ?
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 |
|
|
| |
|
|
|
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: 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. ;) |
|
|
| |
|
|
|
Nico Madysa | |
|
| |
|
|
|
| You wiederholtest solely Rolands erstes Posting in this Thread. |
|
|
| |
|
|