Jump to content

Sky Slate Blueberry Blackcurrant Watermelon Strawberry Orange Banana Apple Emerald Chocolate
Photo

Windows Constants


  • Please log in to reply
31 replies to this topic
TLM
  • Administrators
  • 3864 posts
  • Last active:
  • Joined: 21 Aug 2006
Unary min consts when toggling styles ;)..

Posted Image

don't duplicate, iterate!


jaco0646
  • Moderators
  • 3165 posts
  • Last active: Apr 01 2014 01:46 AM
  • Joined: 07 Oct 2006
LVN_* messages are notifications though, not styles. :?:

TLM
  • Administrators
  • 3864 posts
  • Last active:
  • Joined: 21 Aug 2006
!LVN :?:

:lol: sry was generalizing..

Posted Image

don't duplicate, iterate!


vogelsberger
  • Members
  • 3 posts
  • Last active: Aug 05 2010 06:47 AM
  • Joined: 14 Jul 2010
@Tuncay

Thanks for your work.
Unfortunately, there is a problem with the win32constlib.zip archive. I can´t open it with WinRar ....

Could you just upload it again, cause I need one of these constant, but I don´t know how to get it ;-))

thanks for your help guys !

P.S.: Could someone else explain me how to get one of these constants ?
In this case I need the constant "Horzsize" (GetDeviceCaps(HORZSIZE))
It should be the physical screen width !

SKAN
  • Administrators
  • 9115 posts
  • Last active:
  • Joined: 26 Dec 2005
It is available in Zed Gecko's posts!
HORZSIZE = 4

TLM
  • Administrators
  • 3864 posts
  • Last active:
  • Joined: 21 Aug 2006
Need the constant for: ECM_FIRST

from here: http://msdn.microsof...7(v=VS.85).aspx

Any ideas?

Posted Image

don't duplicate, iterate!


MasterFocus
  • Moderators
  • 4323 posts
  • Last active: Jan 28 2016 01:38 AM
  • Joined: 08 Apr 2009
According to Google:

ECM_FIRST = 0x1500
aka
ECM_FIRST = &H1500

-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------

Antonio França -- git.io -- github.com -- ahk4.net -- sites.google.com -- ahkscript.org

Member of the AHK community since 08/Apr/2009. Moderator since mid-2012.


TLM
  • Administrators
  • 3864 posts
  • Last active:
  • Joined: 21 Aug 2006
Thats just what the doctor ordered ;)

Thanks MasterFocus!

Posted Image

don't duplicate, iterate!


TLM_nli
  • Guests
  • Last active:
  • Joined: --
LVIF_GROUPID = #100

jaco0646
  • Moderators
  • 3165 posts
  • Last active: Apr 01 2014 01:46 AM
  • Joined: 07 Oct 2006
First, SKAN has created a script incorporating a much larger list of constants: Crazy Scripting : List of Win32 CONSTANTS.

Second, I have made several modifications to Tuncay's original script (here's my version) because I've been using it for so long. The biggest changes were simply removing all the quotation marks and replacing all the # signs with 0x.

Third, if anyone is feeling ambitious, it would be a nice idea to compare the two lists (using a script) to determine whether the constants in this thread are all included in SKAN's. My text compare script may be of some use?

TLM
  • Administrators
  • 3864 posts
  • Last active:
  • Joined: 21 Aug 2006
Hey jaco0646,
I think you gave me a link to the original list cause I had it saved locally
( reposted here: <!-- m -->http://demotemplate....32Constants.htm<!-- m --> ).

Do you remember where that original came from?
I'd rather not eat unnecessary bandwidth ( coming from me thats lolz :lol: )..
Was lurking the googs w no luck..

thnx mate

Posted Image

don't duplicate, iterate!


jaco0646
  • Moderators
  • 3165 posts
  • Last active: Apr 01 2014 01:46 AM
  • Joined: 07 Oct 2006
It's been too long... I don't remember if I ever had another list. The vast majority of constants I've looked up are in this small version, so I haven't even had the need to migrate to SKAN's. Between this thread and his there are several links to other sites though. I would think Microsoft should keep an updated list available; maybe it's just buried in an SDK somewhere.

TLM
  • Administrators
  • 3864 posts
  • Last active:
  • Joined: 21 Aug 2006
Funny I was just curious about x64,
low and behold I need one missing from most lists
PBM_GETSTEP
Shear coincidence :lol:

It could be WM_USER+9 ( others are doc'd )
but then again there are some others missing so 9 is a wild guess.
*sigh

Posted Image

don't duplicate, iterate!


jaco0646
  • Moderators
  • 3165 posts
  • Last active: Apr 01 2014 01:46 AM
  • Joined: 07 Oct 2006
Specifically for learning about the APIs of standard GUI controls, Microsoft has a wonderfully handy little tool called Control Spy; but I don't think it includes anything x64.

TLM
  • Administrators
  • 3864 posts
  • Last active:
  • Joined: 21 Aug 2006
<!-- m -->http://www.autohotke...pic.php?t=58550<!-- m -->
;) Wasnt aware it revealed the constants tho.. Taking another looky..

thnx

Posted Image

don't duplicate, iterate!