Click here to Skip to main content
15,889,281 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: How to convert char** to char array Pin
Gofur Halmurat11-Mar-08 2:31
Gofur Halmurat11-Mar-08 2:31 
QuestionRe: How to convert char** to char array Pin
Rajkumar R11-Mar-08 2:45
Rajkumar R11-Mar-08 2:45 
GeneralRe: How to convert char** to char array Pin
Gofur Halmurat11-Mar-08 2:48
Gofur Halmurat11-Mar-08 2:48 
GeneralRe: How to convert char** to char array Pin
Rajkumar R11-Mar-08 5:40
Rajkumar R11-Mar-08 5:40 
GeneralRe: How to convert char** to char array Pin
David Crow11-Mar-08 5:34
David Crow11-Mar-08 5:34 
GeneralBitmaps in View Pin
Anu_Bala11-Mar-08 1:28
Anu_Bala11-Mar-08 1:28 
GeneralRe: Bitmaps in View Pin
ptr_Electron11-Mar-08 1:52
ptr_Electron11-Mar-08 1:52 
GeneralRe: Bitmaps in View [modified] Pin
Rajkumar R11-Mar-08 2:02
Rajkumar R11-Mar-08 2:02 
It seems you are using MFC, CImage is easy to use.
Have a look into CImage::Load, CImage::Draw.

And May be Timer messages can be used to change the image. have look at CWnd::SetTimer() and make the view to update the new image in its paint message. For that set a flag and call CWnd::InvalidateRect or CWnd::RedrawWindow() or CDocument::UpdateAllViews in the timer handler. And in your paint handler check whether image change (check flag) and draw changed image otherwise the current image.

Always try to draw only in paint handlers.

modified on Tuesday, March 11, 2008 8:20 AM

GeneralRe: Bitmaps in View Pin
ptr_Electron11-Mar-08 2:06
ptr_Electron11-Mar-08 2:06 
GeneralLdap Auth Pin
ika211-Mar-08 1:28
ika211-Mar-08 1:28 
QuestionWeb Programming in C++? Pin
Wamuti11-Mar-08 0:22
Wamuti11-Mar-08 0:22 
GeneralRe: Web Programming in C++? Pin
Christian Graus11-Mar-08 0:26
protectorChristian Graus11-Mar-08 0:26 
GeneralRe: Web Programming in C++? Pin
Nemanja Trifunovic11-Mar-08 3:34
Nemanja Trifunovic11-Mar-08 3:34 
GeneralRe: Web Programming in C++? Pin
Wamuti11-Mar-08 21:12
Wamuti11-Mar-08 21:12 
GeneralRe: Web Programming in C++? Pin
Demian Panello11-Mar-08 2:58
Demian Panello11-Mar-08 2:58 
GeneralRe: Web Programming in C++? Pin
Nemanja Trifunovic11-Mar-08 3:37
Nemanja Trifunovic11-Mar-08 3:37 
QuestionHOW TO USE DLL FUNCTIONS Pin
bhat11-Mar-08 0:21
bhat11-Mar-08 0:21 
AnswerRe: HOW TO USE DLL FUNCTIONS Pin
Maxwell Chen11-Mar-08 0:23
Maxwell Chen11-Mar-08 0:23 
AnswerRe: HOW TO USE DLL FUNCTIONS Pin
CPallini11-Mar-08 0:27
mveCPallini11-Mar-08 0:27 
AnswerRe: HOW TO USE DLL FUNCTIONS Pin
Christian Graus11-Mar-08 0:37
protectorChristian Graus11-Mar-08 0:37 
AnswerRe: HOW TO USE DLL FUNCTIONS Pin
Rajkumar R11-Mar-08 6:11
Rajkumar R11-Mar-08 6:11 
Questionabout middle function Pin
savitri11-Mar-08 0:11
savitri11-Mar-08 0:11 
GeneralRe: about middle function Pin
Maxwell Chen11-Mar-08 0:16
Maxwell Chen11-Mar-08 0:16 
GeneralRe: about middle function Pin
Rajesh R Subramanian11-Mar-08 0:20
professionalRajesh R Subramanian11-Mar-08 0:20 
GeneralRe: about middle function Pin
Maxwell Chen11-Mar-08 0:22
Maxwell Chen11-Mar-08 0:22 

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.