| |
|
|
 | 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 |
|
|
| |
|
|
|
 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. |
|
|
| |
|
|
|
 | 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 |
|
|
| |
|
|
|
 | with XProfan10 lay the image in that MemPic then have You &MemDC - with XProfan11 has one Yes eh arbitrary hPics. |
|
|
| |
|
|
|
 | 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 |
|
|
| |
|
|
|
 | &MemDC contain the lever to that Device-Context (DC) |
|
|
| |
|
|