![]() |
VC++ HIWORD/LOWORD
Hallo Leute!
Ne VC++ Frage: Kann mir jemand die Makros HIWORD und LOWORD erklären, oder nen Link schicken. Was ist das, wozu braucht man das, wie les ich es aus, etc. etc. In der VC++ Hilfe und in meinen Büchern find ich nix thxG |
hallo
ein DWORD ist ein 32bit Datentyp,WORD 16bit. wenn du ein DWORD d=0xAAAABBBB hast, dann gibt dir LOWORD(d) 0xBBBB zurück, HIWORD(d) 0xAAAA. g DR |
Lösung
MSDN
WPARAM type changes, in Win32 Changing Message Handles wParam The low-order word of wParam identifies the command ID of the menu item, control, or accelerator. The high-order word of wParam specifies the notification message if the message is from a control. If the message is from an accelerator, the high-order word is 1. If the message is from a menu, the high-order word is 0. lParam Identifies the control that sends the message if the message is from a control. Otherwise, lParam is 0. G |
Alle Zeitangaben in WEZ +2. Es ist jetzt 18:28 Uhr. |
Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
© 2009 FSL Verlag