Click here to Skip to main content
15,908,675 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
Questionneed help on a simple question Pin
murphdx31-Jan-07 13:57
murphdx31-Jan-07 13:57 
AnswerRe: need help on a simple question Pin
Christian Graus31-Jan-07 15:04
protectorChristian Graus31-Jan-07 15:04 
GeneralRe: need help on a simple question Pin
Stephen Hewitt31-Jan-07 15:56
Stephen Hewitt31-Jan-07 15:56 
GeneralRe: need help on a simple question Pin
murphdx1-Feb-07 11:44
murphdx1-Feb-07 11:44 
QuestionCString Pin
Laing,James31-Jan-07 12:40
Laing,James31-Jan-07 12:40 
AnswerRe: CString Pin
James R. Twine31-Jan-07 15:11
James R. Twine31-Jan-07 15:11 
GeneralRe: CString Pin
Laing,James1-Feb-07 9:00
Laing,James1-Feb-07 9:00 
Questionviewing and updating bitmaps Pin
kitty531-Jan-07 12:08
kitty531-Jan-07 12:08 
I've created an MDI application where when I open one dialog it shows a bitmap from my C:/ by:
<br />
void Image::showPicture(BYTE bfr[], DWORD size)<br />
{<br />
	HBITMAP m_bitmap = NULL;<br />
	CImage image;<br />
	CJpeg2kDecoder imDec;<br />
	<br />
	image = imDec.Open(bfr, size);<br />
	m_bitmap = (HBITMAP)image;<br />
	m_nCam1img.SetBitmap(m_bitmap);<br />
	if (m_bitmap) DeleteObject(m_bitmap);<br />

However, when I open another dialog to do commanding (this dialog will partially cover the bitmap dialog) then go back to view my bitmap the portion of the bitmap dialog covered up by the commanding dialog is GONE!

What do i need to do so that when I go back to view the bitmap dialog that the whole picture will still be displayed?
Thanks!

Kitty5

AnswerRe: viewing and updating bitmaps Pin
Christian Graus31-Jan-07 15:05
protectorChristian Graus31-Jan-07 15:05 
QuestionRe: viewing and updating bitmaps Pin
kitty51-Feb-07 2:14
kitty51-Feb-07 2:14 
AnswerRe: viewing and updating bitmaps Pin
Christian Graus1-Feb-07 9:16
protectorChristian Graus1-Feb-07 9:16 
AnswerRe: viewing and updating bitmaps Pin
Hamid_RT31-Jan-07 19:37
Hamid_RT31-Jan-07 19:37 
QuestionRe: viewing and updating bitmaps Pin
kitty51-Feb-07 2:16
kitty51-Feb-07 2:16 
AnswerRe: viewing and updating bitmaps Pin
Mark Salsbery1-Feb-07 11:24
Mark Salsbery1-Feb-07 11:24 
QuestionGhosting out a whole groupbox? Pin
CoffeeAddict1931-Jan-07 11:02
CoffeeAddict1931-Jan-07 11:02 
AnswerRe: Ghosting out a whole groupbox? Pin
Mark Salsbery31-Jan-07 11:40
Mark Salsbery31-Jan-07 11:40 
AnswerRe: Ghosting out a whole groupbox? Pin
Mark Salsbery31-Jan-07 11:43
Mark Salsbery31-Jan-07 11:43 
AnswerRe: Ghosting out a whole groupbox? Pin
Mark Salsbery31-Jan-07 12:03
Mark Salsbery31-Jan-07 12:03 
GeneralRe: Ghosting out a whole groupbox? Pin
CoffeeAddict1931-Jan-07 13:03
CoffeeAddict1931-Jan-07 13:03 
QuestionThe Windows GDI and Regions Pin
TheDelChop31-Jan-07 10:05
TheDelChop31-Jan-07 10:05 
AnswerRe: The Windows GDI and Regions Pin
Stephen Hewitt31-Jan-07 11:35
Stephen Hewitt31-Jan-07 11:35 
AnswerRe: The Windows GDI and Regions Pin
Hamid_RT31-Jan-07 20:14
Hamid_RT31-Jan-07 20:14 
Questionvideo Pin
viliam31-Jan-07 9:28
viliam31-Jan-07 9:28 
AnswerRe: video Pin
Mark Salsbery31-Jan-07 12:09
Mark Salsbery31-Jan-07 12:09 
QuestionIs it possible to add extra options into a third party commercial software [modified] Pin
Khoramdin31-Jan-07 9:03
Khoramdin31-Jan-07 9:03 

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.