Click here to Skip to main content
15,922,696 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralSory copy wrong. FTP (MS explore ) is OK Pin
lewislewis_lewis14-Jun-05 9:41
lewislewis_lewis14-Jun-05 9:41 
GeneralRe: Sory copy wrong. FTP (MS explore ) is OK Pin
David Crow14-Jun-05 9:56
David Crow14-Jun-05 9:56 
Generalerror code is 12003 Pin
lewislewis_lewis14-Jun-05 10:21
lewislewis_lewis14-Jun-05 10:21 
GeneralRe: error code is 12003 Pin
David Crow14-Jun-05 10:27
David Crow14-Jun-05 10:27 
GeneralHow is go on? Pin
lewislewis_lewis14-Jun-05 10:37
lewislewis_lewis14-Jun-05 10:37 
GeneralRe: How is go on? Pin
David Crow14-Jun-05 11:02
David Crow14-Jun-05 11:02 
GeneralTest Site: Pin
lewislewis_lewis14-Jun-05 11:11
lewislewis_lewis14-Jun-05 11:11 
GeneralRe: Test Site: Pin
David Crow15-Jun-05 3:35
David Crow15-Jun-05 3:35 
GeneralThanks You every much,. but have somequestion? Pin
lewislewis_lewis15-Jun-05 5:25
lewislewis_lewis15-Jun-05 5:25 
GeneralDisabling toolbutton Pin
laiju14-Jun-05 0:20
laiju14-Jun-05 0:20 
GeneralRe: Disabling toolbutton Pin
David Crow14-Jun-05 1:33
David Crow14-Jun-05 1:33 
GeneralRe: Disabling toolbutton Pin
laiju17-Jun-05 0:32
laiju17-Jun-05 0:32 
GeneralA very small performance issue in C++ Pin
Jagadeesh VN14-Jun-05 2:27
Jagadeesh VN14-Jun-05 2:27 
GeneralRe: A very small performance issue in C++ Pin
Dezhi Zhao14-Jun-05 3:32
Dezhi Zhao14-Jun-05 3:32 
GeneralRe: A very small performance issue in C++ Pin
Bob Stanneveld14-Jun-05 1:28
Bob Stanneveld14-Jun-05 1:28 
Generalcopy jpg to clipboard Pin
Stirfie14-Jun-05 2:08
Stirfie14-Jun-05 2:08 
GeneralRe: copy jpg to clipboard Pin
David Crow14-Jun-05 3:12
David Crow14-Jun-05 3:12 
GeneralRe: copy jpg to clipboard Pin
Stirfie14-Jun-05 23:24
Stirfie14-Jun-05 23:24 
GeneralRe: copy jpg to clipboard Pin
David Crow15-Jun-05 3:09
David Crow15-Jun-05 3:09 
Generalsaving a bitmap Pin
Arrun14-Jun-05 1:30
Arrun14-Jun-05 1:30 
GeneralRe: saving a bitmap Pin
Christian Graus14-Jun-05 2:01
protectorChristian Graus14-Jun-05 2:01 
Generalconverting byte to bit Pin
Arrun14-Jun-05 1:24
Arrun14-Jun-05 1:24 
GeneralRe: converting byte to bit Pin
Christian Graus14-Jun-05 1:29
protectorChristian Graus14-Jun-05 1:29 
Use && and || to combine and mask values, instead of + or =. For example, FF && F0 == F0. If you take an 8 bit number and set it to equal itself && 15, you get only the low four bits, && 240 gives you the high four. In that way, you can set one pixel to zero. Then if you want to set the pixel in the low four bits, you just put oldVal || newval, that copies it in. to copy into the high four, do this: oldval || ( newVal << 4). this shifts the values up four bits first. To just set two pixels do this (pixelLeft << 4) + pixelRight. You can use plus here, because you're replacing both values.

Christian Graus - Microsoft MVP - C++
GeneralRe: converting byte to bit Pin
PJ Arends14-Jun-05 7:08
professionalPJ Arends14-Jun-05 7:08 
GeneralRe: converting byte to bit Pin
Christian Graus14-Jun-05 13:49
protectorChristian Graus14-Jun-05 13:49 

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.