Click here to Skip to main content
15,895,656 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
AnswerRe: There is a kind of tiff image(wang tiff),and photoshop can not open it.what is this? Pin
leo-zhang28-Mar-07 4:04
leo-zhang28-Mar-07 4:04 
GeneralRe: There is a kind of tiff image(wang tiff),and photoshop can not open it.what is this? Pin
Mark Salsbery28-Mar-07 6:43
Mark Salsbery28-Mar-07 6:43 
GeneralRe: There is a kind of tiff image(wang tiff),and photoshop can not open it.what is this? Pin
leo-zhang28-Mar-07 20:12
leo-zhang28-Mar-07 20:12 
QuestionQuery about strsafe.h and afxv_32.h Pin
gan_esh26-Mar-07 21:29
gan_esh26-Mar-07 21:29 
AnswerRe: Query about strsafe.h and afxv_32.h Pin
Steve S28-Mar-07 2:55
Steve S28-Mar-07 2:55 
GeneralRe: Query about strsafe.h and afxv_32.h Pin
gan_esh28-Mar-07 22:48
gan_esh28-Mar-07 22:48 
QuestionOptimizing the Code Pin
narayanagvs26-Mar-07 20:45
narayanagvs26-Mar-07 20:45 
AnswerRe: Optimizing the Code Pin
Nibu babu thomas26-Mar-07 23:38
Nibu babu thomas26-Mar-07 23:38 
narayanagvs wrote:
So any suggetions to Optimize my code would be helpful.


I haven't gone through your code but I would like to suggest a memory bitmap.

Write a dedicated class called CMemDc and ask it to do the stuff for you. Search google with "Memory DC VC++".

Directly doing the drawing into this dc and dumping the drawing will help in reducing flicker. Saving this drawing will help further. But you will have to take care of other things.

These are some quick suggestions. Smile | :)


Nibu thomas
A Developer

Programming tips[^]  My site[^]

AnswerRe: Optimizing the Code Pin
Mark Salsbery27-Mar-07 7:40
Mark Salsbery27-Mar-07 7:40 
QuestionHow to get the drives name and type? Pin
PS@Codeproj26-Mar-07 19:44
PS@Codeproj26-Mar-07 19:44 
AnswerRe: How to get the drives name and type? [modified] Pin
Programm3r26-Mar-07 21:22
Programm3r26-Mar-07 21:22 
AnswerRe: How to get the drives name and type? Pin
PS@Codeproj27-Mar-07 2:03
PS@Codeproj27-Mar-07 2:03 
AnswerRe: How to get the drives name and type? Pin
David Crow27-Mar-07 3:15
David Crow27-Mar-07 3:15 
Questionthrow() Pin
vibindia26-Mar-07 19:14
vibindia26-Mar-07 19:14 
AnswerRe: throw() [modified] Pin
prasad_som26-Mar-07 19:33
prasad_som26-Mar-07 19:33 
GeneralRe: throw() Pin
Stephen Hewitt26-Mar-07 19:46
Stephen Hewitt26-Mar-07 19:46 
GeneralRe: throw() Pin
prasad_som26-Mar-07 19:52
prasad_som26-Mar-07 19:52 
GeneralRe: throw() Pin
vibindia26-Mar-07 19:55
vibindia26-Mar-07 19:55 
AnswerRe: throw() Pin
Stephen Hewitt26-Mar-07 19:48
Stephen Hewitt26-Mar-07 19:48 
AnswerRe: throw() Pin
Nemanja Trifunovic27-Mar-07 2:04
Nemanja Trifunovic27-Mar-07 2:04 
QuestionHow to load error icon on DialogBox at run time? Pin
Atul2326-Mar-07 19:06
Atul2326-Mar-07 19:06 
AnswerRe: How to load error icon on DialogBox at run time? Pin
prasad_som26-Mar-07 19:24
prasad_som26-Mar-07 19:24 
GeneralRe: How to load error icon on DialogBox at run time? Pin
Atul2326-Mar-07 21:38
Atul2326-Mar-07 21:38 
AnswerRe: How to load error icon on DialogBox at run time? Pin
prasad_som27-Mar-07 0:15
prasad_som27-Mar-07 0:15 
QuestionError : CommandLineToArgvW is not a member of '`global namespace'' Pin
harshadha26-Mar-07 18:48
harshadha26-Mar-07 18:48 

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.