GaryFrost Posted April 19, 2005 Posted April 19, 2005 need to be able to put 2 values into a word 1st value goes into the low-order of the word 2nd value goes into the high order of the word Haven't a clue how to do this. SciTE for AutoItDirections for Submitting Standard UDFs Don't argue with an idiot; people watching may not be able to tell the difference.
jpm Posted April 19, 2005 Posted April 19, 2005 need to be able to put 2 values into a word1st value goes into the low-order of the word2nd value goes into the high order of the wordHaven't a clue how to do this.<{POST_SNAPBACK}>You certainly mean in a double worddword= hiword* 65536 + loworddword has the same size as an integer
GaryFrost Posted April 19, 2005 Author Posted April 19, 2005 (edited) here's what the documentation says: lParam The low-order word specifies the zero-based index of the first item to select. The high-order word specifies the zero-based index of the last item to select. This message can select a range only within the first 65,536 items Edit: yep that worked thanks jpm. Edited April 19, 2005 by gafrost SciTE for AutoItDirections for Submitting Standard UDFs Don't argue with an idiot; people watching may not be able to tell the difference.
jpm Posted April 19, 2005 Posted April 19, 2005 here's what the documentation says:lParamThe low-order word specifies the zero-based index of the first item to select. The high-order word specifies the zero-based index of the last item to select.This message can select a range only within the first 65,536 items<{POST_SNAPBACK}>so my formula is correct provided hiword and loword is less than 65535 and greater or equal to 0
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now