Click here to Skip to main content
15,924,036 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
QuestionRe: MFC Programming Problem. Pin
Mark Salsbery11-Sep-08 8:43
Mark Salsbery11-Sep-08 8:43 
AnswerRe: MFC Programming Problem. Pin
kaushal kishore sharma11-Sep-08 9:01
kaushal kishore sharma11-Sep-08 9:01 
GeneralRe: MFC Programming Problem. Pin
Mark Salsbery11-Sep-08 9:18
Mark Salsbery11-Sep-08 9:18 
GeneralRe: MFC Programming Problem. Pin
kaushal kishore sharma11-Sep-08 9:23
kaushal kishore sharma11-Sep-08 9:23 
GeneralRe: MFC Programming Problem. Pin
Mark Salsbery11-Sep-08 9:29
Mark Salsbery11-Sep-08 9:29 
GeneralRe: MFC Programming Problem. Pin
kaushal kishore sharma11-Sep-08 9:32
kaushal kishore sharma11-Sep-08 9:32 
GeneralRe: MFC Programming Problem. Pin
David Crow11-Sep-08 10:21
David Crow11-Sep-08 10:21 
AnswerRe: MFC Programming Problem. Pin
followait11-Sep-08 15:15
followait11-Sep-08 15:15 
Take care of the stride?

For example,
the bimap is 8 bit per pixel, and 10*10 in size.
It is not neccesarry that every line contains 8*10 bits.
You might use stride to locate the pixel in the bitmap data.

MSDN:
GDI+ BitmapData

Stride INT Offset, in bytes, between consecutive scan lines of the bitmap. If the stride is positive, the bitmap is top-down. If the stride is negative, the bitmap is bottom-up.

system

QuestionReading text from an activated view... Pin
PankajB11-Sep-08 5:52
PankajB11-Sep-08 5:52 
AnswerRe: Reading text from an activated view... Pin
enhzflep11-Sep-08 6:04
enhzflep11-Sep-08 6:04 
GeneralRe: Reading text from an activated view... Pin
James R. Twine11-Sep-08 8:51
James R. Twine11-Sep-08 8:51 
GeneralRe: Reading text from an activated view... Pin
enhzflep11-Sep-08 15:30
enhzflep11-Sep-08 15:30 
GeneralRe: Reading text from an activated view... Pin
PankajB11-Sep-08 17:22
PankajB11-Sep-08 17:22 
GeneralRe: Reading text from an activated view... Pin
PankajB11-Sep-08 18:01
PankajB11-Sep-08 18:01 
GeneralRe: Reading text from an activated view... Pin
enhzflep11-Sep-08 23:07
enhzflep11-Sep-08 23:07 
GeneralRe: Reading text from an activated view... Pin
PankajB11-Sep-08 23:54
PankajB11-Sep-08 23:54 
GeneralRe: Reading text from an activated view... Pin
James R. Twine12-Sep-08 7:52
James R. Twine12-Sep-08 7:52 
GeneralRe: Reading text from an activated view... Pin
PankajB14-Sep-08 19:38
PankajB14-Sep-08 19:38 
QuestionBasic MFC SDI question Pin
Klive811-Sep-08 4:30
Klive811-Sep-08 4:30 
AnswerRe: Basic MFC SDI question Pin
Mark Salsbery11-Sep-08 5:35
Mark Salsbery11-Sep-08 5:35 
QuestionRe: Basic MFC SDI question Pin
led mike11-Sep-08 5:39
led mike11-Sep-08 5:39 
AnswerOT Pin
CPallini11-Sep-08 5:46
mveCPallini11-Sep-08 5:46 
AnswerRe: Basic MFC SDI question Pin
Mark Salsbery11-Sep-08 6:02
Mark Salsbery11-Sep-08 6:02 
AnswerRe: Basic MFC SDI question Pin
CPallini11-Sep-08 5:45
mveCPallini11-Sep-08 5:45 
AnswerRe: Basic MFC SDI question Pin
bob1697211-Sep-08 6:38
bob1697211-Sep-08 6:38 

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.