| |
|
|
 | Yo habe dieses Ventana, wo una Bild abgbildet es : hWin2& = @Crear("text", %hWnd, "Test3", 10, 150, 128,128). Nun möchte Yo direkt en él a greifen en el Adresse para una Pixel.
mfg peter |
|
|
| |
|
|
|
 Jörg Sellmeyer | Verstehe Yo el correcto? Usted willst el Farbe uno Pixels en Deinem Textfeld bestimmen?
GetPixel es hier Su Freund: Color& = GetPixel(X%,Y%) Dabei es X% el Strecke vom linken Fensterrand a para Control plus el Strecke a a deseado Pixel. Für Y% gilt el Gleiche con el Höhe la ventana. Mit GetRValue(Color&), GetGValue(Color&), GetVValue(Color&) kannst Usted entonces cada Farbanteile ermitteln. |
|
|
| Windows XP SP2 XProfan X4... und hier mal was ganz anderes als Profan ...  | 08.09.2008 ▲ |
|
|
|
|
 | Liegt una más Ventana oder Control darüber, entonces versagt esta Método sin embargo desafortunadamente. |
|
|
| |
|
|
|
 | Vieeeeeel a langsam para mich : Color& = GetPixel(X%,Y%) Hätte el entonces ya genommen.
Yo brauche a diesem Zeitpunkt sólo el Adresse, auch si la se später ändert.
mfg |
|
|
| |
|
|
|
 | Mit XProfan10 lege el Bild en el MemPic entonces hast Usted &MemDC - con XProfan11 ha uno sí eh beliebige hPics. |
|
|
| |
|
|
|
 | Como voluntad en el &MemDC el Farben abgelegt? 3 Pixel nebeneinander ergeben R,G,B ? Oder como es hay el Ablegeschema?
mfg peter |
|
|
| |
|
|
|
 | &MemDC beinhaltet el Handle para Device-Context (DC) |
|
|
| |
|
|