| |
|
|
- Página 1 - |
|
 Martin Kempf | Yo sería gerne encima Subclassing obige Message abfragen, ya que auch con ~wm_keydown funktioniert. El Windows.ph y Messages.ph Yo drin, aber el Mousewheel scheint woanders a ser... welche Headerdatei muss Yo angeben? |
|
|
| |
|
|
 |
« Dieser Contribución wurde como Solución gekennzeichnet. » |
|
 Matthias Arlt | Sí, ya klar. Usted puede entweder el ~WM_MOUSEWHEEL en el Programa por el entsprechenden HexWert (also $20A) sustituir...
oder
el vorgenannte Línea en el PH einfügen, como ellos hay no drin es...
oder
al Anfang Deines Programms valor incluso definieren, bspw. como folgt: DEF &WM_MOUSEWHEEL $20A
y luego en lugar de ~WM_MOUSEWHEEL eben &WM_MOUSEWHEEL escribir. |
|
|
| WinXP SP2, Win7 - XProfan 10/11/FreeProfan32 - Xpia | 11.02.2016 ▲ |
|
|
 |
|
|
 Matthias Arlt | |
|
| WinXP SP2, Win7 - XProfan 10/11/FreeProfan32 - Xpia | 11.02.2016 ▲ |
|
|
|
|
 Martin Kempf | así weit komme Yo no - beim Aufruf des Programms en el Interpreter kommt el Fehlermeldung: Definition en el Encabezamiento fehlt: WM_MOUSEWHEEL. eingebundene Encabezamiento: $H Windows.ph $H Messages.ph |
|
|
| |
|
|
|
 Matthias Arlt | Sí, ya klar. Usted puede entweder el ~WM_MOUSEWHEEL en el Programa por el entsprechenden HexWert (also $20A) sustituir...
oder
el vorgenannte Línea en el PH einfügen, como ellos hay no drin es...
oder
al Anfang Deines Programms valor incluso definieren, bspw. como folgt: DEF &WM_MOUSEWHEEL $20A
y luego en lugar de ~WM_MOUSEWHEEL eben &WM_MOUSEWHEEL escribir. |
|
|
| WinXP SP2, Win7 - XProfan 10/11/FreeProfan32 - Xpia | 11.02.2016 ▲ |
|
|
|
|
 Martin Kempf | thxalot, ahora tener ego verstanden. |
|
|
| |
|
|
|
 | Martin Kempf (11.02.2016)
Yo sería gerne encima Subclassing obige Message abfragen
Diese Nachricht mejor por Mensajes del usuario verarbeiten.
El SubClassProc kann hierbei desafortunadamente kleine aber möglicherweise spürbare Ausfälle verursachen - salvo lo wäre una wProc en una nProc. |
|
|
| |
|
|
|
 Martin Kempf | ok, danke para el Referencia. Cuestión todavía: El Richtung, en el el Rollrad bewegt se, bekomme Yo encima el Vorzeichen de UwParam. Was se me con UlParam transferencia? Dieser Valor verändert se, si yo el Rad rápidamente drehe. |
|
|
| |
|
|
|
 | Schau veces el es hier direkt de MS erklärt: [...] 
wParam
The high-order word indicates the distance the wheel is rotated, expressed en multiples or divisions of WHEEL_DELTA, which is 120. A positive value indicates that the wheel qué rotated forward, away from the user; a negative value indicates that the wheel qué rotated backward, toward the user.
The low-order word indicates whether various virtual keys are down. This parameter can be one or more of the following values.
lParam
The low-order word specifies the x-coordinate of the pointer, relative to the upper-left corner of the screen.
The high-order word specifies the y-coordinate of the pointer, relative to the upper-left corner of the screen.
|
|
|
| |
|
|
|
 Martin Kempf | |
|
| |
|
|