flat assembler
Message board for the users of flat assembler.

Index > Windows > WNDCLASSEX struct in USER64.INC

Author
Thread Post new topic Reply to topic
TightCoderEx



Joined: 14 Feb 2013
Posts: 58
Location: Alberta
TightCoderEx 02 Jul 2013, 00:52
I'm trying to figure out what I'm missing here as if I wanted to use

CS_DROPSHADOW = 0002 0000
Enables the drop shadow effect on a window. The effect is turned on and off through SPI_SETDROPSHADOW. Typically, this is enabled for small, short-lived windows such as menus to emphasize their Z-order relationship to other windows. Windows created from a class with this style must be top-level windows; they may not be child windows.

It is missing from USER64.INC.

Also the following are defined but not documented on this page.


CS_KEYCVTWINDOW = 00004h
CS_NOKEYCVT = 00100h
CS_IME = 10000h
Post 02 Jul 2013, 00:52
View user's profile Send private message Visit poster's website Reply with quote
revolution
When all else fails, read the source


Joined: 24 Aug 2004
Posts: 20363
Location: In your JS exploiting you and your system
revolution 02 Jul 2013, 01:26
What is your question? Are you asking about missing constant definitions? Or are you asking about the meanings of three constants? Something else?
Post 02 Jul 2013, 01:26
View user's profile Send private message Visit poster's website Reply with quote
TightCoderEx



Joined: 14 Feb 2013
Posts: 58
Location: Alberta
TightCoderEx 02 Jul 2013, 03:04
1: Why are these three included when they are undocumented
2: Why was CS_DROPSHADOW left out. Is there a peculiarity between Win 7 / 8 or 2000.

I've included CS_DROPSHADOW in my copy of USER64.INC. Not that I intend of using anytime soon, but at least it's there now.
Post 02 Jul 2013, 03:04
View user's profile Send private message Visit poster's website Reply with quote
revolution
When all else fails, read the source


Joined: 24 Aug 2004
Posts: 20363
Location: In your JS exploiting you and your system
revolution 02 Jul 2013, 04:36
TightCoderEx wrote:
1: Why are these three included when they are undocumented
2: Why was CS_DROPSHADOW left out. Is there a peculiarity between Win 7 / 8 or 2000.
I don't know the reason but I can speculate. When this include file was created I expect all the then current constants were included (probably copied from Win95 constants). Today things have changed. MS stopped supporting older OSes and removed all deprecated constants from their documentation. Meanwhile the include file has not been updated to show newly introduced constants that are used in later version of Windows, or to remove deprecated constants only used in older OSes.

BTW: Using a question mark (?) might help to make your questions more clear. Wink
Post 02 Jul 2013, 04:36
View user's profile Send private message Visit poster's website Reply with quote
TightCoderEx



Joined: 14 Feb 2013
Posts: 58
Location: Alberta
TightCoderEx 02 Jul 2013, 12:24
revolution wrote:
BTW: Using a question mark (?) might help to make your questions more clear. Wink
Is that why I did so poorly in English. Shocked

Thanks and a reasonable assumption too. Would be nice if M$ would document these changes a little more clearly. I suppose if I was using NET and VS 2012 everything would be alright. Rolling Eyes
Post 02 Jul 2013, 12:24
View user's profile Send private message Visit poster's website Reply with quote
bitRAKE



Joined: 21 Jul 2003
Posts: 4050
Location: vpcmpistri
bitRAKE 02 Jul 2013, 19:15
Documentation life cycle:

1) undocumented
2) documented poorly
3) deprecated

Welcome to the minefield which is Windows. Actually, it will plague most any sufficiently large software project. There is always a gap between what code does and what is communicated about what code does.
Post 02 Jul 2013, 19:15
View user's profile Send private message Visit poster's website Reply with quote
Display posts from previous:
Post new topic Reply to topic

Jump to:  


< Last Thread | Next Thread >
Forum Rules:
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You cannot attach files in this forum
You can download files in this forum


Copyright © 1999-2024, Tomasz Grysztar. Also on GitHub, YouTube.

Website powered by rwasa.