Sign in to follow this  
Followers 0
GaryFrost

Looking for Values for the Following Constants

15 posts in this topic

#1 ·  Posted (edited)

BCN_DROPDOWN

MCS_NOTRAILINGDATES

MCS_SHORTDAYSOFWEEK

MCS_NOSELCHANGEONNAV

MCM_GETCALENDARBORDER

MCM_GETCALENDARCOUNT

MCM_GETCALENDARGRIDINFO

MCM_GETCALID

MCM_GETCURRENTVIEW

MCM_SETCALENDARBORDER

MCM_SETCALID

MCM_SETCURRENTVIEW

HDM_GETFOCUSEDITEM

HDM_GETITEMDROPDOWNRECT

HDM_GETOVERFLOWRECT

HDM_SETFOCUSEDITEM

HDS_NOSIZING

HDS_OVERFLOW

LVM_GETEMPTYTEXT

LVM_GETFOCUSEDGROUP

LVM_GETFOOTERINFO

LVM_GETFOOTERITEM

LVM_GETFOOTERITEMRECT

LVM_GETFOOTERRECT

LVM_GETGROUPCOUNT

LVM_GETGROUPINFOBYINDEX

LVM_GETGROUPRECT

LVM_GETGROUPSTATE

LVM_GETITEMINDEXRECT

LVM_GETNEXTITEMINDEX

LVM_ISITEMVISIBLE

LVM_SETITEMINDEXSTATE

LVN_COLUMNDROPDOWN

LVN_COLUMNOVERFLOWCLICK

LVN_INCREMENTALSEARCH

Thanks,

Gary

Edited by GaryFrost

SciTE for AutoItDirections for Submitting Standard UDFs

 

Don't argue with an idiot; people watching may not be able to tell the difference.

 

Share this post


Link to post
Share on other sites



For the LVM_* I can't find any constants. Just Messages.

http://msdn2.microsoft.com/en-us/library/b...606(VS.85).aspx


George

Question about decompiling code? Read the decompiling FAQ and don't bother posting the question in the forums.

Be sure to read and follow the forum rules. -AKA the AutoIt Reading and Comprehension Skills test.***

The PCRE (Regular Expression) ToolKit for AutoIT - (Updated Oct 20, 2011 ver:3.0.1.13) - Please update your current version before filing any bug reports. The installer now includes both 32 and 64 bit versions. No change in version number.

Visit my Blog .. currently not active but it will soon be resplendent with news and views. Also please remove any links you may have to my website. it is soon to be closed and replaced with something else.

"Old age and treachery will always overcome youth and skill!"

Share this post


Link to post
Share on other sites

For the LVM_* I can't find any constants. Just Messages.

http://msdn2.microsoft.com/en-us/library/b...606(VS.85).aspx

Not much help there GEO, I know they are messages but I need the Value of the Message Constants (for Vista)


SciTE for AutoItDirections for Submitting Standard UDFs

 

Don't argue with an idiot; people watching may not be able to tell the difference.

 

Share this post


Link to post
Share on other sites

#5 ·  Posted (edited)

Gary,

I found reference to commctrl.h ; but nobody has posted a version online that I'm aware of.

It is not in my copy of ms visual c++

I did a quick google groups search to no avail....

edit: Add'l thought...

I wonder if MS Visual Studio 2008 has it -- is there an express version of that you could download that would have the new headers....?

Edited by flyingboz

Reading the help file before you post... Not only will it make you look smarter, it will make you smarter.

Share this post


Link to post
Share on other sites

Gary,

I found reference to commctrl.h ; but nobody has posted a version online that I'm aware of.

It is not in my copy of ms visual c++

I did a quick google groups search to no avail....

edit: Add'l thought...

I wonder if MS Visual Studio 2008 has it -- is there an express version of that you could download that would have the new headers....?

I have Visual Studio 2008 but I don't have Vista yet, so I don't think it installed what I need.

I should have Vista pretty soon, then maybe.


SciTE for AutoItDirections for Submitting Standard UDFs

 

Don't argue with an idiot; people watching may not be able to tell the difference.

 

Share this post


Link to post
Share on other sites

#7 ·  Posted (edited)

Your getting Vista Gary? What a nightmare. Vista, doesnt have near as much power, nor does it suppost alot of programs.

BUT...i'll look into finding those constants...they're here somewhere :)

Edited by Swift

Share this post


Link to post
Share on other sites

Your getting Vista Gary? What a nightmare. Vista, doesnt have near as much power, nor does it suppost alot of programs.

BUT...i'll look into finding those constants...they're here somewhere :)

Don't have a choice at work, but at home it'll be in VPC


SciTE for AutoItDirections for Submitting Standard UDFs

 

Don't argue with an idiot; people watching may not be able to tell the difference.

 

Share this post


Link to post
Share on other sites

Thanks anyways people, found them in the Platform SDK that came with 2008. Was in a completely different folder than the compiler.


SciTE for AutoItDirections for Submitting Standard UDFs

 

Don't argue with an idiot; people watching may not be able to tell the difference.

 

Share this post


Link to post
Share on other sites

Hello,

if someone else needs ....

Global Const $BCN_DROPDOWN = ($BCN_FIRST + 0x0002)

Global Const $MCS_NOTRAILINGDATES = 0x0040
Global Const $MCS_SHORTDAYSOFWEEK = 0x0080
Global Const $MCS_NOSELCHANGEONNAV = 0x0100
Global Const $MCM_GETCALENDARBORDER = ($MCM_FIRST + 31)
Global Const $MCM_GETCALENDARCOUNT = ($MCM_FIRST + 23)
Global Const $MCM_GETCALENDARGRIDINFO = ($MCM_FIRST + 24)
Global Const $MCM_GETCALID = ($MCM_FIRST + 27)
Global Const $MCM_GETCURRENTVIEW = ($MCM_FIRST + 22)
Global Const $MCM_SETCALENDARBORDER = ($MCM_FIRST + 30)
Global Const $MCM_SETCALID = ($MCM_FIRST + 28)
Global Const $MCM_SETCURRENTVIEW = ($MCM_FIRST + 32)

Global Const $HDM_GETFOCUSEDITEM = ($HDM_FIRST+27)
Global Const $HDM_GETITEMDROPDOWNRECT = ($HDM_FIRST+25)
Global Const $HDM_GETOVERFLOWRECT = ($HDM_FIRST+26)
Global Const $HDM_SETFOCUSEDITEM = ($HDM_FIRST+28)
Global Const $HDS_NOSIZING = 0x0800
Global Const $HDS_OVERFLOW = 0x1000

Global Const $LVM_GETEMPTYTEXT = ($LVM_FIRST + 204)
Global Const $LVM_GETFOCUSEDGROUP = ($LVM_FIRST + 93)
Global Const $LVM_GETFOOTERINFO = ($LVM_FIRST + 206)
Global Const $LVM_GETFOOTERITEMRECT = ($LVM_FIRST + 207)
Global Const $LVM_GETFOOTERITEM = ($LVM_FIRST + 208)
Global Const $LVM_GETFOOTERITEMRECT = ($LVM_FIRST + 207)
Global Const $LVM_GETFOOTERRECT = ($LVM_FIRST + 205)
Global Const $LVM_GETGROUPCOUNT = ($LVM_FIRST + 152)
Global Const $LVM_GETGROUPINFOBYINDEX = ($LVM_FIRST + 153)
Global Const $LVM_GETGROUPRECT = ($LVM_FIRST + 98)
Global Const $LVM_GETGROUPSTATE = ($LVM_FIRST + 92)
Global Const $LVM_GETITEMINDEXRECT = ($LVM_FIRST + 209)
Global Const $LVM_GETNEXTITEMINDEX = ($LVM_FIRST + 211)
Global Const $LVM_ISITEMVISIBLE = ($LVM_FIRST + 182)
Global Const $LVM_SETITEMINDEXSTATE = ($LVM_FIRST + 210)

Global Const $LVN_COLUMNDROPDOWN = ($LVN_FIRST-64)
Global Const $LVN_COLUMNOVERFLOWCLICK = ($LVN_FIRST-66)

Global Const $LVN_INCREMENTALSEARCHA = ($LVN_FIRST-62)
Global Const $LVN_INCREMENTALSEARCHW = ($LVN_FIRST-63)

If @AutoItUnicode Then
   Global Const $LVN_INCREMENTALSEARCH = $LVN_INCREMENTALSEARCHW
Else
   Global Const $LVN_INCREMENTALSEARCH = $LVN_INCREMENTALSEARCHA
EndIf

Share this post


Link to post
Share on other sites

Wouldn't do this being the control can be changed to Ansi and Back at run time:

If @AutoItUnicode Then
   Global Const $LVN_INCREMENTALSEARCH = $LVN_INCREMENTALSEARCHW
Else
   Global Const $LVN_INCREMENTALSEARCH = $LVN_INCREMENTALSEARCHA
EndIf

SciTE for AutoItDirections for Submitting Standard UDFs

 

Don't argue with an idiot; people watching may not be able to tell the difference.

 

Share this post


Link to post
Share on other sites

Thanks anyways people, found them in the Platform SDK that came with 2008. Was in a completely different folder than the compiler.

What folder were they in Gary? I still can't find them.

George

Question about decompiling code? Read the decompiling FAQ and don't bother posting the question in the forums.

Be sure to read and follow the forum rules. -AKA the AutoIt Reading and Comprehension Skills test.***

The PCRE (Regular Expression) ToolKit for AutoIT - (Updated Oct 20, 2011 ver:3.0.1.13) - Please update your current version before filing any bug reports. The installer now includes both 32 and 64 bit versions. No change in version number.

Visit my Blog .. currently not active but it will soon be resplendent with news and views. Also please remove any links you may have to my website. it is soon to be closed and replaced with something else.

"Old age and treachery will always overcome youth and skill!"

Share this post


Link to post
Share on other sites

What folder were they in Gary? I still can't find them.

On my system: C:\Program Files\Microsoft SDKs\Windows\v6.0A\Include\CommCtrl.h


SciTE for AutoItDirections for Submitting Standard UDFs

 

Don't argue with an idiot; people watching may not be able to tell the difference.

 

Share this post


Link to post
Share on other sites

On my system: C:\Program Files\Microsoft SDKs\Windows\v6.0A\Include\CommCtrl.h

Thanks Gary. Found it.

George

Question about decompiling code? Read the decompiling FAQ and don't bother posting the question in the forums.

Be sure to read and follow the forum rules. -AKA the AutoIt Reading and Comprehension Skills test.***

The PCRE (Regular Expression) ToolKit for AutoIT - (Updated Oct 20, 2011 ver:3.0.1.13) - Please update your current version before filing any bug reports. The installer now includes both 32 and 64 bit versions. No change in version number.

Visit my Blog .. currently not active but it will soon be resplendent with news and views. Also please remove any links you may have to my website. it is soon to be closed and replaced with something else.

"Old age and treachery will always overcome youth and skill!"

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!


Register a new account

Sign in

Already have an account? Sign in here.


Sign In Now
Sign in to follow this  
Followers 0