Click here to Skip to main content
15,914,820 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: Is There a way to get notified when network is done or up in VC++? Pin
Anonymous5-Sep-02 8:42
Anonymous5-Sep-02 8:42 
GeneralSource Control Pin
Bugra Barin5-Sep-02 6:25
Bugra Barin5-Sep-02 6:25 
GeneralRe: Source Control Pin
Pavel Klocek5-Sep-02 6:32
Pavel Klocek5-Sep-02 6:32 
GeneralRe: Source Control Pin
Daniel Turini5-Sep-02 10:22
Daniel Turini5-Sep-02 10:22 
GeneralRe: Source Control Pin
Bugra Barin5-Sep-02 11:42
Bugra Barin5-Sep-02 11:42 
GeneralRe: Source Control Pin
Alois Kraus5-Sep-02 20:24
Alois Kraus5-Sep-02 20:24 
GeneralRe: Source Control Pin
Ted Christiansen6-Sep-02 0:50
Ted Christiansen6-Sep-02 0:50 
GeneralCImageList Pin
orcun colak5-Sep-02 6:20
orcun colak5-Sep-02 6:20 
My problem is i can not draw a 24 bit bitmap using a CImageList. The colors get corrupted. This is my code. What am I doing wrong ? Can I use CImageList to draw 24 bit bitmaps because the code below works fine with 16 bit bitmaps.

First create the image list from a 24 bit bitmap
CImageList m_ImageList;
m_ImageList.Create (IDB_BITMAP2,39,2,RGB(255,0,255));

Then draw it in OnPaint method of my class
CPoint pt (0,0);
m_ImageList.Draw(pDC, m_iIndex, pt, ILD_TRANSPARENT);

Thank you very much

Orcun Colak

GeneralRe: CImageList Pin
Chris Losinger5-Sep-02 6:32
professionalChris Losinger5-Sep-02 6:32 
GeneralRe: CImageList Pin
orcun colak5-Sep-02 7:28
orcun colak5-Sep-02 7:28 
Generalshow default in Drop list Pin
jimNLX5-Sep-02 6:09
jimNLX5-Sep-02 6:09 
GeneralRe: show default in Drop list Pin
Pavel Klocek5-Sep-02 6:17
Pavel Klocek5-Sep-02 6:17 
GeneralRe: show default in Drop list Pin
jimNLX5-Sep-02 6:23
jimNLX5-Sep-02 6:23 
GeneralRe: show default in Drop list Pin
Pavel Klocek5-Sep-02 6:22
Pavel Klocek5-Sep-02 6:22 
GeneralSync a PC clock to a more accurate clock. Pin
kakuni5-Sep-02 5:41
kakuni5-Sep-02 5:41 
GeneralRe: Sync a PC clock to a more accurate clock. Pin
Pavel Klocek5-Sep-02 5:50
Pavel Klocek5-Sep-02 5:50 
GeneralRe: Sync a PC clock to a more accurate clock. Pin
JohnnyG5-Sep-02 12:10
JohnnyG5-Sep-02 12:10 
QuestionCompile Error when schedule task? Pin
Anonymous5-Sep-02 5:04
Anonymous5-Sep-02 5:04 
AnswerRe: Compile Error when schedule task? Pin
Tomasz Sowinski5-Sep-02 5:10
Tomasz Sowinski5-Sep-02 5:10 
AnswerRe: Compile Error when schedule task? Pin
Anonymous5-Sep-02 5:08
Anonymous5-Sep-02 5:08 
Generaldatabase data display Pin
danag5-Sep-02 4:57
danag5-Sep-02 4:57 
GeneralRe: database data display Pin
David Salter5-Sep-02 6:37
David Salter5-Sep-02 6:37 
QuestionHow to change the attributes of a file? Pin
Member 476075-Sep-02 4:34
Member 476075-Sep-02 4:34 
AnswerRe: How to change the attributes of a file? Pin
Pavel Klocek5-Sep-02 4:42
Pavel Klocek5-Sep-02 4:42 
AnswerRe: How to change the attributes of a file? Pin
Abin5-Sep-02 4:53
Abin5-Sep-02 4:53 

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.