Click here to Skip to main content
16,005,552 members
Home / Discussions / Graphics
   

Graphics

 
QuestionPartially redraw Image Pin
invader824-Apr-08 3:31
invader824-Apr-08 3:31 
GeneralRe: Partially redraw Image Pin
Luc Pattyn4-Apr-08 3:41
sitebuilderLuc Pattyn4-Apr-08 3:41 
GeneralRe: Partially redraw Image Pin
invader824-Apr-08 3:50
invader824-Apr-08 3:50 
GeneralGDI+ - Disposing Pin
molcaobarman30-Mar-08 7:14
molcaobarman30-Mar-08 7:14 
GeneralRe: GDI+ - Disposing Pin
Mark Salsbery30-Mar-08 9:40
Mark Salsbery30-Mar-08 9:40 
GeneralRe: GDI+ - Disposing Pin
Luc Pattyn30-Mar-08 10:24
sitebuilderLuc Pattyn30-Mar-08 10:24 
GeneralRe: GDI+ - Disposing Pin
molcaobarman1-Apr-08 21:23
molcaobarman1-Apr-08 21:23 
GeneralRe: GDI+ - Disposing Pin
Luc Pattyn1-Apr-08 23:38
sitebuilderLuc Pattyn1-Apr-08 23:38 
Hi,

your class XXX should implement Dispose() when it uses unmanged memory or other system
resources, because you either do native calls to that effect, or use objects that offer
a Dispose() themselves.

the above holds true in general; you could forget about providing Dispose() if the
class is used in one app only, where you need all objects of class XXX up to the end
of the app execution (so you would call Dispose only on exit, which is not that useful
since the system would clean up then anyway).

Smile | :)

Luc Pattyn [Forum Guidelines] [My Articles]

This month's tips:
- before you ask a question here, search CodeProject, then Google;
- the quality and detail of your question reflects on the effectiveness of the help you are likely to get;
- use PRE tags to preserve formatting when showing multi-line code snippets.


GeneralRe: GDI+ - Disposing Pin
molcaobarman2-Apr-08 0:16
molcaobarman2-Apr-08 0:16 
QuestionSemi Transparent UserControl Pin
maxatlis30-Mar-08 0:04
maxatlis30-Mar-08 0:04 
GeneralRe: Semi Transparent UserControl [modified] Pin
Rob Smiley18-Apr-08 9:48
Rob Smiley18-Apr-08 9:48 
GeneralFlashy GDI+ Pin
Reelix28-Mar-08 0:58
Reelix28-Mar-08 0:58 
GeneralRe: Flashy GDI+ Pin
Christian Graus6-Apr-08 16:30
protectorChristian Graus6-Apr-08 16:30 
QuestionTemplate Matching? Pin
jamilkhan00727-Mar-08 21:45
jamilkhan00727-Mar-08 21:45 
QuestionHighest quality text using TextRender Pin
danreber18-Mar-08 6:16
danreber18-Mar-08 6:16 
GeneralRe: Highest quality text using TextRender Pin
Rob Smiley18-Apr-08 11:43
Rob Smiley18-Apr-08 11:43 
QuestionErasing a line C# Pin
Denver Thomas17-Mar-08 20:32
Denver Thomas17-Mar-08 20:32 
GeneralRe: Erasing a line C# Pin
Pete O'Hanlon18-Mar-08 11:33
mvePete O'Hanlon18-Mar-08 11:33 
QuestionWhat thing is done from IStream::Read to IWMReaderCallbackAdvanced::OnStreamSample? Pin
markliu-codeproject16-Mar-08 22:14
markliu-codeproject16-Mar-08 22:14 
GeneralCreateDIBitmap with 32bits RGBA data Pin
Vlasta_12-Mar-08 23:02
Vlasta_12-Mar-08 23:02 
GeneralRe: CreateDIBitmap with 32bits RGBA data Pin
Mark Salsbery13-Mar-08 7:32
Mark Salsbery13-Mar-08 7:32 
GeneralRe: CreateDIBitmap with 32bits RGBA data Pin
Vlasta_13-Mar-08 8:24
Vlasta_13-Mar-08 8:24 
GeneralRe: CreateDIBitmap with 32bits RGBA data Pin
Mark Salsbery13-Mar-08 8:28
Mark Salsbery13-Mar-08 8:28 
GeneralRe: CreateDIBitmap with 32bits RGBA data Pin
Michael Dunn13-Mar-08 10:30
sitebuilderMichael Dunn13-Mar-08 10:30 
GeneralRe: CreateDIBitmap with 32bits RGBA data Pin
Vlasta_13-Mar-08 10:53
Vlasta_13-Mar-08 10: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.