English
Forum

GetControlParas

 
- Page 1 -



ByteAttack
Hello Community,

i want gladly whom Click in a ListView evaluate.
though have I yet others inquire walk, sodas one WaitInput for my WhileNot Loop not question comes. I must everything with GetMessage make.
example:
WhileNot appexit%

    GetMessage
    ... others inquire
    y&=GetControlParas(klick#)

    If y&<>0

        handle&=Long(klick#,0)

        if handle&=left&

            locate 1,1

            if y&=2

                print "Left rights Maustaste"

            elseif y&=1

                print "Left linker doppelklick"

            endif

        endif

    EndIf

    Clear klick#

wend


the functions too lovely, still unfortunately scrolls then the ListView with my Cursor always with... the happens with WaitInput but not
 
Website:  [...] 
Facebook:  [...] 
05/13/05  
 



 
- Page 2 -


Perhaps one second GetControlParas  Frank?

salvo.
 
05/16/05  
 




Jörg
Sellmeyer
[quote:92bc8dc0ae=Frank Abbing]Hi,

want You a Dll-Version without?[/quote:92bc8dc0ae]
[AUFSPRING_HUEPF]i will too a!![/AUFSPRING_HUEPF]
 
Windows XP SP2 XProfan X4
... und hier mal was ganz anderes als Profan ...
05/16/05  
 




ByteAttack
means if you The Messages  eh not for necessary hälst, throw tappt im dunkeln still generally from the ListView.dll  out - or
 
Website:  [...] 
Facebook:  [...] 
05/17/05  
 



The Message has sure your Legitimacy - therefore my I Yes it would Perhaps meaningfully of Frank simply one second GetControlParas  To invent.

or it building a Stopper - which to Getmessage  laid would.

salvo.
 
05/17/05  
 




Frank
Abbing
Hi,

The Message use I different to put in the Dll and generally is tappt im dunkeln very meaningfully and even unablässig. only on this place went it too without.
iFs Schalteridee find I but yet rather, therefore I will these time ex Version 1.7 install

Marc-Gordon: I personally would always WaitInput with Timer use, instead of GetMessages. so I had yet never any Problems, what about me use it really often...
 
05/17/05  
 



Waitinput with Timer is still but sooner not recommendable - considerate one - the always The Messages geklaut go. whenever I NEN Timer einsetzte - then went z.B. the close only yet To 99% - almost independent of Timerwert. the Timernutzen find I is Real ne Notlösung. therefore have I Yes The Thread.Pcu  written - there Gibts no Messageklauereien More - and one can so much time How one wants - too with very very small Timerwerten in the Echtzeitbereich.

salvo.
 
05/17/05  
 




Frank
Abbing
Hi,

I have The announced function installed. in the next Version becomes tappt im dunkeln available stand:

ForbidScrollMessage(F)

Prevented the automatic Scrolling of only to that part visible Items.

F : Long - Flag

on some to put uses The List view.dll a Message, which only partly visible Entries complete into List view einschiebt.
the can but once in a while To unwanted shifts lead, namely always then, if in the Message-Loop not Waitinput using becomes. concerned hiervon are then The functions SelectLine(), GetControlParas() and GetOwnControlParas().
ForbidScrollMessage() is moreover virtual, the automatic Sichtscrolling short-term auszuschalten, if these functions in the program using and be The Message-Loop no WaitInput contain. short-term therefore, because the betroffene Message namely in Edit- and Drag&Drop mode using and is in the switched off status otherwise very unerwünschte effects produzieren becomes!
F=0 is the Normalzustand. is F=1, then is the Autoscrolling deaktiviert.

ForbidScrollMessage(1)
y&=Getcontrolparas(area#)
ForbidScrollMessage(0)
If y&<>0
...

> Waitinput with Timer is still but sooner not
> recommendable - considerate one - the always
> The Messages geklaut go. whenever
> I NEN Timer einsetzte - then went z.B.
> the close only yet To 99% - almost independent
> of Timerwert. the Timernutzen find I
> is Real ne Notlösung. therefore have I
> Yes The Thread.Pcu  written - there
> Gibts no Messageklauereien More - and
> one can so much time How one wants - too
> with very very small Timerwerten in the Echtzeitbereich.

Threads are here but neither The Ideallösung, there tappt im dunkeln one Program still heavy brake. with one additional Thread has my Hauptprogramm only yet 50% Power. with two Threads quite only 33% etc.
my programs with Timern works anyhow less with Messages, and if, then use I The User Messages, The in each drop get by (see my SpriteRotator) or yet rather my Message.dll, The in the Subclassing stick and each yet so small Message registered. The Dll stops I personally for Ideallösung...
 
05/17/05  
 



is of course offtopic - but with the Thread.Pcu behave it itself differently. I integrate Threads in Callbacks - set above another intelligente management - and these deals The Thread.Do. with gekonnter management inside the Thread.Do by the Programmer is the additional Processor load utterly beside the point - sozusagen hardly spürbar. The art bestand hold therein The Possibility To create - in XProfan Threadähnlich program to - with the benefit the everything inside the own Program happens - circa z.B. on any variables/Procedures zurückgreifen to. The Thread.Pcu is means sooner one very gelungener and fehlerfreier ambulation on Messers cut - and a pure Vorteilsmaschine. :/:

salvo.
 
05/17/05  
 



 
- Page 3 -



ByteAttack
On The idea with the Timer be so did i already come, has me but nevertheless the ListView gescrollt. or make I now something Flasch
Proc ISNeu

    X%=%WinRight-%WinLeft
    Y%=%WinBottom-%WinTop
    Casenote X%=MerkeX%:Update
    Casenote Y%=MerkeY%:Update

ENDPROC

SetTimer 10

WhileNot prgexit%

    waitinput
    Case %Umessage=16:prgexit%=1
    Case %wmtimer:ISNeu
    Clear area#
    y&=GetControlParas(area #)

    If y&<>0

        handle&=Long(area#,0)   List view lever
        Text$=String $(area#,64) Itemtext
        Window Title Text$

    EndIf

Wend

 
Website:  [...] 
Facebook:  [...] 
05/17/05  
 



whether the List view scrolls can only Frank with a Fix eliminating.

there helps nothing XProfan - alike whether setTimer  or Thread.Pcu .

salvo.
 
05/17/05  
 




Frank
Abbing
Hi,

is correct. here for short Time The Betaversion with the new function.
The right Version 1.7 follows in Kürze.

31 kB
Hochgeladen:05/17/05
Downloadcounter68
Download
 
05/17/05  
 




ByteAttack

Frank - you are and stay my hero. super -functions tadellos.
 
Website:  [...] 
Facebook:  [...] 
05/17/05  
 




Answer


Topictitle, max. 100 characters.
 

Systemprofile:

no Systemprofil laid out. [anlegen]

XProfan:

 Posting  Font  Smilies  ▼ 

Please register circa a Posting To verfassen.
 

Topic-Options

9.015 Views

Untitledvor 0 min.
RudiB.04/10/21
iF09/28/20
Jörg Sellmeyer05/15/18
Uwe Lang06/22/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