Re: Kleine API-Fragen
Moin Shareholder,
ich weiss nicht, was Du willst ;-) Der von Dir genannte Wert ist hexadezimal 94CA0000. Die Werte der Konstanten sind (hex) 0000 0000 (WS_OVERLAPPED) 0008 0000 (WS_SYSMENU) 0002 0000 (WS_GROUP) 0040 0000 (WS_DLGFRAME) Macht zusammen: 004A 0000 00C0 0000 ist gleich 0080 0000 or 0040 0000 also sind alle Styles in dem Wert enthalten. Der Winspector scheint nicht richtig zu funktionieren. |
Re: Kleine API-Fragen
Sorry, ich bin wohl zu blöd. :wall:
Wie kommst du auf "0080 0000 or 0040 0000" ? :drunken: |
Re: Kleine API-Fragen
Moin Shareholder,
der Wert enthält an der dritten Stelle hexadezimal C (12 dezimal). Ich wollte nur deutlich machen, dass dort die 4 enthalten ist. |
Re: Kleine API-Fragen
Wie kommst du überhaupt auf
Zitat:
http://de.selfhtml.org/helferlein/dezhex.htm gibt mir dabei eine Fehlermeldung aus. :gruebel: |
Re: Kleine API-Fragen
Moin Shareholder,
ob negativ oder positiv ist reine Interpretationssache. Bei integer wird das höchstwertige Bit als Vorzeichen interpretiert, bei cardinal (bzw. in diesem Falle DWORD) nicht. Der Windowsrechner kann das problemlos (warum auch nicht). Lass Dir den Wert mal mit IntToHex ausgeben.
Delphi-Quellcode:
ShowMessage(IntToHex(-1798701056,8));
|
Re: Kleine API-Fragen
Super Christian! :=)
Habe übrigens gerade das ganze jetzt mit einem Programm hier aus dem Forum getestet (Spy++) Jetzt wird mir von den 4 Styles (weiter oben im Thread) jeder bis auf WS_GROUP angezeigt. Zitat:
|
Re: Kleine API-Fragen
Sind die Konstanten eigentlich (Ich meine die Werte der Konstanten) in jeder Version gleich.
Also, haben diese sich seit Windows95 nicht geändert? Danke! :thumb: |
Re: Kleine API-Fragen
Moin Shareholder,
die WS_* Konstanten sind in allen Windows Versionen gleich. (zumindest ist es nicht anders dokumentiert ;-)) |
Re: Kleine API-Fragen
Danke, wieso haben eigentlich eigentlich OVERLAPPED und TILED beide den Wert 0?
|
Alle Zeitangaben in WEZ +1. Es ist jetzt 23:30 Uhr. |
Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
LinkBacks Enabled by vBSEO © 2011, Crawlability, Inc.
Delphi-PRAXiS (c) 2002 - 2023 by Daniel R. Wolf, 2024 by Thomas Breitkreuz