English
Forum

WindowFromPoint

 

Martin
Heller
I Have straight attempts The API WindowfromPoint To using, only unfortunately there always a Zugriffverletztung. i think the Error lying with the area, but really is it so How in the Win32.hlp described. can of/ one whom Error discern?
CompileMarkSeparation
Def WFP(1) !"User32", "WindowFromPoint"

Proc WinFromPoint

    Parameters x%, y%
    Declare points#
    Dim points#, 4
    Long points#, 0 = x%
    Long points#, 2 = y%
    return WFP(points#)

EndProc

Cls
print WinFromPoint(10, 10)
08/18/04  
 




Michael
Dell
WindowFromPoint expects none area to Übergabe separate two Long values.

so ought to it gehn:
CompileMarkSeparation
Def WinFromPoint(2) !"User32", "WindowFromPoint"
Cls
print Add$(WinFromPoint(10,10)," WinFromPoint (10,10)")
print Add$(Str$(%HWnd)," %HWnd")
print
print Add$(WinFromPoint(780,10)," WinFromPoint (780,10)")
waitinp

Greeting

Michael
 
Salu Michael...

Hab zwar krumme Fieß awer dofir e' ecklich Gsicht! 
08/18/04  
 




Martin
Heller
thanks Michael,
wundert me only, there in the Win32.hlp something a Pointstrukur standing.

Martin
 
08/18/04  
 



Nö Martin the goes plenty plainer:
CompileMarkSeparation
Def WFP(2) !"User32", "WindowFromPoint"
print WFP(10,10)e>
To denne, iF
Nachtrag: hmpf, Michael was faster.
 
08/18/04  
 




Michael
Dell
Yes, has me too gewundert.

to that Happiness give ApiGuide, the can itself well to that comparison ranziehen.
[...] 

the part has already often as very useful erwiesen, ifs too really for VB is.

Greeting

Michael
 
Salu Michael...

Hab zwar krumme Fieß awer dofir e' ecklich Gsicht! 
08/18/04  
 



Answer


Topictitle, max. 100 characters.
 

Systemprofile:

no Systemprofil laid out. [anlegen]

XProfan:

 Posting  Font  Smilies  ▼ 

Please register circa a Posting To verfassen.
 

Topic-Options

4.550 Views

Untitledvor 0 min.
Jörg Sellmeyer05/30/18
helpself01/29/13

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