Click here to Skip to main content
15,887,683 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
AnswerRe: serialization Pin
Adam Roderick J7-Dec-09 18:24
Adam Roderick J7-Dec-09 18:24 
GeneralRe: serialization Pin
Tim Craig8-Dec-09 21:04
Tim Craig8-Dec-09 21:04 
AnswerRe: serialization Pin
Cedric Moonen7-Dec-09 20:21
Cedric Moonen7-Dec-09 20:21 
QuestionHelp - To draw image as banner with help of co-ordinates. Pin
Le@rner7-Dec-09 17:56
Le@rner7-Dec-09 17:56 
AnswerRe: Help - To draw image as banner with help of co-ordinates. Pin
Cedric Moonen7-Dec-09 20:31
Cedric Moonen7-Dec-09 20:31 
GeneralRe: Help - To draw image as banner with help of co-ordinates. Pin
Le@rner7-Dec-09 23:13
Le@rner7-Dec-09 23:13 
AnswerRe: Help - To draw image as banner with help of co-ordinates. Pin
Cedric Moonen7-Dec-09 23:48
Cedric Moonen7-Dec-09 23:48 
QuestionBitmap [modified] Pin
transoft7-Dec-09 4:00
transoft7-Dec-09 4:00 
Hi
I tried to make a bitmap file from screen drawing. I used following function to get bitmaps data
GetDIBits(dc, hBitmap, StartScan, NumScans, m_pVoid, m_pInfo, Usage);


After I saved bitmap data to a file. I found that Bitmap was "rotated".

If the bitmap should look like: (Sorry, I don't know how to show a real bitmap here).
Each number is a pixel.

1234578
1234578
1234578
1234578
1234578
1234578
1234578

But I got:

5781234
5781234
5781234
5781234
5781234
5781234
5781234

What kind of reason will cause this?

Thanks,

modified on Monday, December 7, 2009 11:13 AM

AnswerRe: Bitmap Pin
Cedric Moonen7-Dec-09 4:27
Cedric Moonen7-Dec-09 4:27 
GeneralRe: Bitmap Pin
transoft7-Dec-09 4:58
transoft7-Dec-09 4:58 
GeneralRe: Bitmap Pin
Cedric Moonen7-Dec-09 5:01
Cedric Moonen7-Dec-09 5:01 
GeneralRe: Bitmap Pin
transoft7-Dec-09 5:06
transoft7-Dec-09 5:06 
AnswerRe: Bitmap Pin
«_Superman_»7-Dec-09 4:31
professional«_Superman_»7-Dec-09 4:31 
GeneralRe: Bitmap Pin
transoft7-Dec-09 5:04
transoft7-Dec-09 5:04 
GeneralRe: Bitmap Pin
«_Superman_»7-Dec-09 5:47
professional«_Superman_»7-Dec-09 5:47 
AnswerRe: Bitmap Pin
loyal ginger7-Dec-09 5:23
loyal ginger7-Dec-09 5:23 
AnswerRe: Bitmap Pin
Iain Clarke, Warrior Programmer8-Dec-09 4:14
Iain Clarke, Warrior Programmer8-Dec-09 4:14 
QuestionRunning a windows service in any other account other than 'SYSTEM' Pin
Kushagra Tiwari7-Dec-09 3:38
Kushagra Tiwari7-Dec-09 3:38 
AnswerRe: Running a windows service in any other account other than 'SYSTEM' Pin
Covean7-Dec-09 4:13
Covean7-Dec-09 4:13 
GeneralRe: Running a windows service in any other account other than 'SYSTEM' Pin
Kushagra Tiwari7-Dec-09 4:22
Kushagra Tiwari7-Dec-09 4:22 
GeneralRe: Running a windows service in any other account other than 'SYSTEM' Pin
Covean7-Dec-09 4:32
Covean7-Dec-09 4:32 
GeneralRe: Running a windows service in any other account other than 'SYSTEM' Pin
Kushagra Tiwari7-Dec-09 5:46
Kushagra Tiwari7-Dec-09 5:46 
GeneralRe: Running a windows service in any other account other than 'SYSTEM' Pin
«_Superman_»7-Dec-09 4:33
professional«_Superman_»7-Dec-09 4:33 
GeneralRe: Running a windows service in any other account other than 'SYSTEM' Pin
Kushagra Tiwari7-Dec-09 5:47
Kushagra Tiwari7-Dec-09 5:47 
QuestionMessage Removed Pin
7-Dec-09 0:26
Elsie7-Dec-09 0:26 

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.