|
-
Apr 20th, 2000, 06:32 AM
#1
i search for the syntax of a left shift, i know the right shift is: \ &H but can't find how to make a left one.
Also i don't understand why a right **** of 16 is: \&H10000
why it isn't: \ &H10 ?
By the way, i've tried to replace the setwindowtext by a sendmessage(hWnd, WM_SETTEXT, 0, "text to write"), but it doesn't work where a setwindowtext work, where is the error?
thx for any help or advices you could provide
-
Apr 20th, 2000, 09:20 AM
#2
New Member
i don't recall what the syntax is right now, search for it in the msdn data base thindy that comes with visual studio. it's in there. as for the next part, &H10000 means hex 10000, which in binary is 1 followed by fifeteen zeros!
-
Apr 20th, 2000, 03:20 PM
#3
So, if i understand well, a shift of 4 would be &H10 and a shift of 5 &H20 right?
-
Apr 20th, 2000, 09:23 PM
#4
Fanatic Member
Hex
Hex code is base 16. The 'numbers' go like this:
0 = 0
1 = 1
2 = 2
3 = 3
4 = 4
5 = 5
6 = 6
7 = 7
8 = 8
9 = 9
A = 10
B = 11
D = 12
D = 13
E = 14
F = 15
10 = 16
11 = 17
12 = 18
13 = 19
14 = 20
15 = 21
16 = 22
17 = 23
18 = 24
19 = 25
1A = 26
1B = 27
1C = 28
1D = 29
1E = 30
1F = 31
20 = 32
And so on.
So &H10 + 1 = &H11
I think.
Bye.
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|