English
Forum

Start address of a window point for graphics

 
I have this Window, where a Image abgbildet is : hWin2& = @Create("text", %hWnd, "Test3", 10, 150, 128,128). now would like I directly on it To grab on The address for a Pixel.

mfg
peter
 
09/08/08  
 




Jörg
Sellmeyer
understand I the right? You want The colour one Pixels in Your Text box to determine?

GetPixel is here your friend:
Color& = GetPixel(X%,Y%)
thereby is X% The way of left Fensterrand until Control plus The way up to desired Pixel. for Y% counts the same with the Höhe the Fensters.
with GetRValue(Color&), GetGValue(Color&), GetVValue(Color&) can You then each Farbanteile detect.
 
Windows XP SP2 XProfan X4
... und hier mal was ganz anderes als Profan ...
09/08/08  
 



lying one other Window or Control above, then fail these method however unfortunately.
 
09/09/08  
 



Vieeeeeel too slow for me : Color& = GetPixel(X%,Y%)
would have been The then already taken.

I need To this Time only The address, even if which later changes.

mfg
 
09/09/08  
 



with XProfan10 lay the image in that MemPic then have You &MemDC - with XProfan11 has one Yes eh arbitrary hPics.
 
09/09/08  
 



How go in the &MemDC The colours stored?
3 Pixel next to each other yield R,G,B ?
or How is there the Ablegeschema?

mfg
peter
 
09/09/08  
 



&MemDC contain the lever to that Device-Context (DC)
 
09/09/08  
 



Answer


Topictitle, max. 100 characters.
 

Systemprofile:

no Systemprofil laid out. [anlegen]

XProfan:

 Posting  Font  Smilies  ▼ 

Please register circa a Posting To verfassen.
 

Topic-Options

3.207 Views

Untitledvor 0 min.
Daniel Mittermeier10/23/12
funkheld03/31/12
Uwe Lang03/27/12

Themeninformationen

this Topic has 3 subscriber:

unbekannt (3x)
iF (3x)
Jörg Sellmeyer (1x)


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