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

C / C++ / MFC

 
GeneralRe: problem with threads Pin
David Crow17-Jan-05 3:52
David Crow17-Jan-05 3:52 
QuestionWhat SW_HIDE is ShowWindow does? Pin
Dimitris Vikeloudas17-Jan-05 2:52
Dimitris Vikeloudas17-Jan-05 2:52 
AnswerRe: What SW_HIDE is ShowWindow does? Pin
Martin Koorts17-Jan-05 3:22
Martin Koorts17-Jan-05 3:22 
Generalproblem with threads Pin
doneirik17-Jan-05 2:34
doneirik17-Jan-05 2:34 
GeneralDirectShow - custom StretchBlt Pin
fukehot17-Jan-05 2:25
fukehot17-Jan-05 2:25 
GeneralGDI and GDIplus Pin
Anonymous17-Jan-05 1:45
Anonymous17-Jan-05 1:45 
GeneralRe: GDI and GDIplus Pin
Martin Koorts17-Jan-05 5:53
Martin Koorts17-Jan-05 5:53 
GeneralRe: GDI and GDIplus Pin
PJ Arends17-Jan-05 8:41
professionalPJ Arends17-Jan-05 8:41 
Yes they can coexist. But the trick is getting the HDC for GDI drawing. You have to first create the Gdiplus::Graphics object that you will do all your drawing on, then call Graphics::GetHDC to get the HDC you need for your GDI calls.

If you draw on a HDC with GDI and then try to attach a Graphics object to the same HDC the Graphics constructor will erase all the drawing you have done.

Lookup Graphics::GetHDC and Graphics::ReleaseHDC in MSDN for more info.



"You're obviously a superstar." - Christian Graus about me - 12 Feb '03

"Obviously ???  You're definitely a superstar!!!" mYkel - 21 Jun '04

Within you lies the power for good - Use it!
Honoured as one of The Most Helpful Members of 2004

GeneralImage preview file class Pin
Anonymous17-Jan-05 1:33
Anonymous17-Jan-05 1:33 
GeneralLogoff XP error caused by VC++ Program Pin
vikas vaish17-Jan-05 1:31
vikas vaish17-Jan-05 1:31 
GeneralRe: Logoff XP error caused by VC++ Program Pin
Martin Koorts17-Jan-05 5:04
Martin Koorts17-Jan-05 5:04 
GeneralRe: Logoff XP error caused by VC++ Program Pin
vikas vaish17-Jan-05 21:21
vikas vaish17-Jan-05 21:21 
GeneralRe: Logoff XP error caused by VC++ Program Pin
Martin Koorts17-Jan-05 22:30
Martin Koorts17-Jan-05 22:30 
Generaldatabase and recordbinding Pin
Anonymous17-Jan-05 0:50
Anonymous17-Jan-05 0:50 
GeneralUnique key generation on a network Pin
Giles17-Jan-05 0:39
Giles17-Jan-05 0:39 
GeneralRe: Unique key generation on a network Pin
Martin Koorts17-Jan-05 1:38
Martin Koorts17-Jan-05 1:38 
GeneralRe: Unique key generation on a network Pin
Giles17-Jan-05 2:24
Giles17-Jan-05 2:24 
GeneralRe: Unique key generation on a network Pin
Martin Koorts17-Jan-05 2:56
Martin Koorts17-Jan-05 2:56 
Generalmodify the height of header of a list control Pin
Member 166038517-Jan-05 0:35
Member 166038517-Jan-05 0:35 
GeneralRe: modify the height of header of a list control Pin
Martin Koorts17-Jan-05 1:55
Martin Koorts17-Jan-05 1:55 
Questionhow to convert BYTE to String Pin
doneirik17-Jan-05 0:18
doneirik17-Jan-05 0:18 
AnswerRe: how to convert BYTE to String Pin
Mahendra_78617-Jan-05 0:38
Mahendra_78617-Jan-05 0:38 
AnswerRe: how to convert BYTE to String Pin
doneirik17-Jan-05 2:24
doneirik17-Jan-05 2:24 
GeneralSave part of Bitmap in File / Crop Pin
guf-cryptkeeper17-Jan-05 0:15
guf-cryptkeeper17-Jan-05 0:15 
GeneralRe: Save part of Bitmap in File / Crop Pin
guf-cryptkeeper17-Jan-05 23:04
guf-cryptkeeper17-Jan-05 23:04 

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.