WCM - Das österreichische Computer Magazin Forenübersicht
 

Zurück   WCM Forum > Rat & Tat > Programmierung

Programmierung Rat & Tat für Programmierer

Microsoft KARRIERECAMPUS

Antwort
 
Themen-Optionen Ansicht
Alt 31.10.2002, 13:59   #1
zenit
Jr. Member
 
Registriert seit: 17.05.2001
Alter: 52
Beiträge: 80


Standard 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
____________________________________
> > > Bei mir gib\'s keine Viren ich hab ne Putzfrau < < <
zenit ist offline   Mit Zitat antworten
Alt 31.10.2002, 16:05   #2
delphirocks
bitte Mailadresse prüfen!
 
Registriert seit: 17.03.2002
Beiträge: 198


Standard

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
delphirocks ist offline   Mit Zitat antworten
Alt 05.11.2002, 15:58   #3
zenit
Jr. Member
 
Registriert seit: 17.05.2001
Alter: 52
Beiträge: 80


Idee 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
____________________________________
> > > Bei mir gib\'s keine Viren ich hab ne Putzfrau < < <
zenit ist offline   Mit Zitat antworten
Antwort


Aktive Benutzer in diesem Thema: 1 (Registrierte Benutzer: 0, Gäste: 1)
 

Forumregeln
Es ist Ihnen nicht erlaubt, neue Themen zu verfassen.
Es ist Ihnen nicht erlaubt, auf Beiträge zu antworten.
Es ist Ihnen nicht erlaubt, Anhänge hochzuladen.
Es ist Ihnen nicht erlaubt, Ihre Beiträge zu bearbeiten.

BB-Code ist an.
Smileys sind an.
[IMG] Code ist an.
HTML-Code ist aus.

Gehe zu


Alle Zeitangaben in WEZ +2. Es ist jetzt 10:09 Uhr.


Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Forum SEO by Zoints
© 2009 FSL Verlag