I have subclassed a control and am trying to work out what the messages mean...is there anyway to back convert??? :D
Woka
Printable View
I have subclassed a control and am trying to work out what the messages mean...is there anyway to back convert??? :D
Woka
I'd say MerrionComputing is the man to talk to
Use the API viewer from AllAPI Guide's http://www.allapi.net.
What do you mean by back convert?
Their is a list of constants they can be compared to...
Eg: Ok, for a treeview, I want to know what the Msg 4110 is???
ALLAPI does not back convert, you find theconstant then it gives you the value, not the other way round...:(
Woka
[Edit] Took out the constant declarations :rolleyes:
Um, just find the hex value for the message passed, and go looksie :)
Nope, it's none of them :(
One of the many I am looking for is 8270 = &H204E...?
Woka
http://www.google.com/search?hl=en&i...+API+Constants
Guess what?
40,900 Results :D
Has that solved your problem wokawidget? :confused:
errrrr....no :(
Woka
Ok, you need to convert the value in question into hex...
The easiest way to do this is open the windows calculator, type in the decimal value, open the scientific section and click the hex button..
Take this value and find it in the list of constants that axion supplied...
if you can't tell me and ill try to find it for you.
Basically what I am trying to do is to subclass a treeview, trap when a label edit is started, get the handle to the label edit textbox, find out it's dimensions and replace it with another control...
Woka
Try doing a google search on &H204E...
:mad:
Woka
But the listview has a before label edit event, why dont you just use this..
I am trying to keep this thread simple as not to confuse anyone, maybe I shouldn't :)
Trust me, I need to subclass it...I also want to do other things as well...with small animals...Oooops, wrong web site...:D
Woka
Just wondering :confused:
Could U not code a quick parser on the Win32API.txt and spit out the corresponding "WM_****" for a given Hex or Long value ?
:confused:
Now u're talking :D Why didn't I think of that...*YAWN* :)
Cheers...Will have a go, will let you know how I get on...
Gonna write an app which allows you to work backwards using the API txt file :)
Cheers,
Woka
Clicked 40,900 links, took 52 Views, and 15 replies................
Christ! I am very slow.........:o :o :D
Now know why I didn't do it like that :(
VB's API view is crap and doesn't have much in it, and AllAPI's viewer is saved in it's own format :(
Woka
Ok.......
Do U know how a Type Library is formatted?
G'buh?
U know win32.tlb? It has everything neatly "enum"ed. All functions, subs, constants, etc...
Note that messages above WM_USER are application defined messages...so won't have an associated WM_ constant.
Currently WM_USER = &H400
Quick and dirty utility attached....