Click here to Skip to main content
15,899,754 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralPrevent ALT F4 Pin
Søren Alsbjerg Hørup15-Jun-03 13:33
Søren Alsbjerg Hørup15-Jun-03 13:33 
GeneralRe: Prevent ALT F4 Pin
Harsha Gopal15-Jun-03 15:27
Harsha Gopal15-Jun-03 15:27 
GeneralRe: Prevent ALT F4 Pin
Anonymous15-Jun-03 17:34
Anonymous15-Jun-03 17:34 
GeneralRe: Prevent ALT F4 Pin
Ryan Binns15-Jun-03 17:50
Ryan Binns15-Jun-03 17:50 
GeneralRe: Prevent ALT F4 Pin
Joan M16-Jun-03 0:48
professionalJoan M16-Jun-03 0:48 
GeneralRe: Prevent ALT F4 Pin
Ryan Binns16-Jun-03 1:01
Ryan Binns16-Jun-03 1:01 
GeneralCouple of questions concerning bits Pin
georgiek5015-Jun-03 11:27
georgiek5015-Jun-03 11:27 
GeneralRe: Couple of questions concerning bits Pin
adamUK15-Jun-03 11:52
adamUK15-Jun-03 11:52 
georgiek50 wrote:
eg. 0x1F << 2 = 0xC0

but it equals 0x7C0



georgiek50 wrote:
Why is this?

Because it is the right answer.

0x1F = 0001 1111

shift it left a coupla times and put zeros in on the right

0111 1100 = 0x7C

0000 = 0
0001 = 1
0010 = 2
0011 = 3
0100 = 4
0101 = 5
0110 = 6
0111 = 7
1000 = 8
1001 = 9
1010 = A
1011 = B
1100 = C
1101 = D
1110 = E
1111 = F

cheers!!

Adam.

My world tour
What I do now..

"I spent a lot of my money on booze, birds and fast cars. The rest I just squandered"
George Best.
GeneralRe: Couple of questions concerning bits Pin
Toni7815-Jun-03 12:07
Toni7815-Jun-03 12:07 
GeneralRe: Couple of questions concerning bits Pin
georgiek5015-Jun-03 12:58
georgiek5015-Jun-03 12:58 
GeneralRe: Couple of questions concerning bits Pin
Harsha Gopal15-Jun-03 15:42
Harsha Gopal15-Jun-03 15:42 
GeneralRe: Couple of questions concerning bits Pin
georgiek5015-Jun-03 15:53
georgiek5015-Jun-03 15:53 
GeneralRe: Couple of questions concerning bits Pin
peterchen15-Jun-03 23:49
peterchen15-Jun-03 23:49 
GeneralText Object Model(Urgent) Pin
Asad Rasheed15-Jun-03 11:22
Asad Rasheed15-Jun-03 11:22 
GeneralRe: Text Object Model(Urgent) Pin
Ryan Binns15-Jun-03 17:55
Ryan Binns15-Jun-03 17:55 
QuestionHow Can i detect a radion button is clicked Pin
snipes15-Jun-03 11:14
snipes15-Jun-03 11:14 
AnswerRe: How Can i detect a radion button is clicked Pin
adamUK15-Jun-03 11:58
adamUK15-Jun-03 11:58 
GeneralRe: How Can i detect a radion button is clicked Pin
basementman16-Jun-03 4:20
basementman16-Jun-03 4:20 
GeneralWeb Browser control (questions) Pin
Member 43908315-Jun-03 10:29
Member 43908315-Jun-03 10:29 
GeneralRe: Web Browser control (questions) Pin
Tarundeep Singh Kalra16-Jun-03 3:53
Tarundeep Singh Kalra16-Jun-03 3:53 
GeneralRe: Web Browser control (questions) Pin
Member 43908316-Jun-03 13:07
Member 43908316-Jun-03 13:07 
GeneralRe: Web Browser control (questions) Pin
Neville Franks16-Jun-03 12:14
Neville Franks16-Jun-03 12:14 
GeneralRe: Web Browser control (questions) Pin
knappbl16-Jun-03 13:01
knappbl16-Jun-03 13:01 
GeneralRe: Web Browser control (questions) Pin
Member 43908316-Jun-03 13:08
Member 43908316-Jun-03 13:08 
GeneralRe: Web Browser control (questions) Pin
Neville Franks16-Jun-03 14:34
Neville Franks16-Jun-03 14:34 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.