Click here to Skip to main content
16,005,120 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: Resource ID not found even though exists Pin
Iain Clarke, Warrior Programmer13-May-08 5:06
Iain Clarke, Warrior Programmer13-May-08 5:06 
GeneralRe: Resource ID not found even though exists Pin
kildareflare13-May-08 5:12
kildareflare13-May-08 5:12 
GeneralRe: Resource ID not found even though exists -RESOLVED Pin
kildareflare15-May-08 4:58
kildareflare15-May-08 4:58 
Questioncreate bitmap out of bytearray and display it on dialog ??? Pin
cmos12-May-08 23:45
cmos12-May-08 23:45 
AnswerRe: create bitmap out of bytearray and display it on dialog ??? Pin
Rajkumar R13-May-08 0:26
Rajkumar R13-May-08 0:26 
AnswerRe: create bitmap out of bytearray and display it on dialog ??? Pin
Mark Salsbery13-May-08 6:05
Mark Salsbery13-May-08 6:05 
GeneralRe: create bitmap out of bytearray and display it on dialog ??? [modified] Pin
cmos24-May-08 4:18
cmos24-May-08 4:18 
GeneralRe: create bitmap out of bytearray and display it on dialog ??? Pin
Mark Salsbery27-May-08 5:22
Mark Salsbery27-May-08 5:22 
Are you letting a picture control draw the bitmap or are you rendering
the bitmap yourself?

If a picture control, then you need to set the control's image with the
STM_SETIMAGE message (not in OnPaint()!).

If you're rendering yourself, then in your OnPaint() code, select the created
bitmap into your MemDC then use BitBlt()/StretchBlt() to render the bitmap
from the memory DC to the paint DC.


cmos wrote:
Have been looking for hours for a
solution.


Maybe hours that would have been better spent doing a little reading about basic GDI Smile | :)


Mark

Mark Salsbery
Microsoft MVP - Visual C++

Java | [Coffee]

QuestionNeed Help regarding regular expressions in VC 6.0 Pin
Member 372884112-May-08 23:43
Member 372884112-May-08 23:43 
AnswerRe: Need Help regarding regular expressions in VC 6.0 Pin
Rajkumar R12-May-08 23:59
Rajkumar R12-May-08 23:59 
QuestionCan't display dialogbox? Pin
ritz123412-May-08 23:07
ritz123412-May-08 23:07 
AnswerRe: Can't display dialogbox? Pin
ERLN13-May-08 0:15
ERLN13-May-08 0:15 
QuestionRe: Can't display dialogbox? Pin
David Crow13-May-08 2:58
David Crow13-May-08 2:58 
QuestionDoubt in DLL Pin
Hungry Developer12-May-08 22:57
Hungry Developer12-May-08 22:57 
AnswerRe: Doubt in DLL Pin
Cedric Moonen12-May-08 23:09
Cedric Moonen12-May-08 23:09 
AnswerRe: Doubt in DLL Pin
Rajkumar R12-May-08 23:10
Rajkumar R12-May-08 23:10 
GeneralRe: Doubt in DLL Pin
Hungry Developer13-May-08 1:14
Hungry Developer13-May-08 1:14 
AnswerRe: Doubt in DLL Pin
CPallini12-May-08 23:15
mveCPallini12-May-08 23:15 
GeneralRe: Doubt in DLL Pin
Hungry Developer13-May-08 1:15
Hungry Developer13-May-08 1:15 
GeneralYou're welcome Pin
CPallini13-May-08 1:45
mveCPallini13-May-08 1:45 
AnswerRe: Doubt in DLL Pin
toxcct13-May-08 2:12
toxcct13-May-08 2:12 
GeneralRe: Doubt in DLL Pin
Hungry Developer14-May-08 1:37
Hungry Developer14-May-08 1:37 
QuestionFill color ListView Pin
john563212-May-08 21:16
john563212-May-08 21:16 
AnswerRe: Fill color ListView Pin
Rajkumar R12-May-08 21:22
Rajkumar R12-May-08 21:22 
AnswerRe: Fill color ListView [modified] Pin
Iain Clarke, Warrior Programmer12-May-08 22:08
Iain Clarke, Warrior Programmer12-May-08 22:08 

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.