Click here to Skip to main content
16,011,702 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: GDI Objects Pin
BlitzPackage4-Jan-07 5:28
BlitzPackage4-Jan-07 5:28 
GeneralRe: GDI Objects Pin
Mark Salsbery4-Jan-07 6:14
Mark Salsbery4-Jan-07 6:14 
GeneralRe: GDI Objects Pin
BlitzPackage4-Jan-07 6:21
BlitzPackage4-Jan-07 6:21 
GeneralRe: GDI Objects Pin
Mark Salsbery4-Jan-07 6:47
Mark Salsbery4-Jan-07 6:47 
GeneralRe: GDI Objects Pin
BlitzPackage4-Jan-07 11:53
BlitzPackage4-Jan-07 11:53 
GeneralRe: GDI Objects Pin
Mark Salsbery4-Jan-07 12:21
Mark Salsbery4-Jan-07 12:21 
GeneralGDI Objects Pin
BlitzPackage4-Jan-07 12:53
BlitzPackage4-Jan-07 12:53 
GeneralRe: GDI Objects Pin
Mark Salsbery4-Jan-07 13:06
Mark Salsbery4-Jan-07 13:06 
BlitzPackage wrote:
Is there another image class I can use that would make it easier


No matter what class you wrap them in you'll still have the same issue, so use whatever is best
for your situation I'd say Smile | :) .

If your plan is to share one copy application-wide then yes, you'll probably want an implementation similar to a smart pointer. You'll also need a way to track when a bitmap is "in use" (selected into a DC). You could wrap them in a class that combines smart-pointer
functionality with some kind of indicator or sync object for thread syncronization if necessary.
GeneralRe: GDI Objects Pin
BlitzPackage4-Jan-07 13:51
BlitzPackage4-Jan-07 13:51 
Questionscreen drawing application Pin
_tasleem4-Jan-07 2:37
_tasleem4-Jan-07 2:37 
AnswerRe: screen drawing application Pin
Chris Losinger4-Jan-07 2:57
professionalChris Losinger4-Jan-07 2:57 
GeneralRe: screen drawing application Pin
Stephen Hewitt4-Jan-07 12:09
Stephen Hewitt4-Jan-07 12:09 
AnswerRe: screen drawing application Pin
2249174-Jan-07 3:04
2249174-Jan-07 3:04 
AnswerRe: screen drawing application Pin
Mark Salsbery4-Jan-07 5:30
Mark Salsbery4-Jan-07 5:30 
AnswerRe: screen drawing application Pin
Stephen Hewitt4-Jan-07 12:11
Stephen Hewitt4-Jan-07 12:11 
QuestionDisplaying a ToolTip Pin
ajitatif angajetor4-Jan-07 1:12
ajitatif angajetor4-Jan-07 1:12 
AnswerRe: Displaying a ToolTip Pin
toxcct4-Jan-07 1:20
toxcct4-Jan-07 1:20 
QuestionRe: Displaying a ToolTip Pin
prasad_som4-Jan-07 1:34
prasad_som4-Jan-07 1:34 
AnswerRe: Displaying a ToolTip Pin
ajitatif angajetor4-Jan-07 2:27
ajitatif angajetor4-Jan-07 2:27 
GeneralRe: Displaying a ToolTip Pin
prasad_som4-Jan-07 19:41
prasad_som4-Jan-07 19:41 
GeneralRe: Displaying a ToolTip Pin
ajitatif angajetor4-Jan-07 20:05
ajitatif angajetor4-Jan-07 20:05 
QuestionATL Service registration .... Pin
Sakthiu4-Jan-07 0:46
Sakthiu4-Jan-07 0:46 
AnswerRe: ATL Service registration .... Pin
James R. Twine4-Jan-07 3:36
James R. Twine4-Jan-07 3:36 
QuestionHow to restart MFC application from within itself Pin
Vinod Moorkkan4-Jan-07 0:25
Vinod Moorkkan4-Jan-07 0:25 
QuestionRe: How to restart MFC application from within itself Pin
prasad_som4-Jan-07 0:36
prasad_som4-Jan-07 0:36 

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.