Click here to Skip to main content
15,920,708 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: Showing memory contents into a HTMLView? Pin
Ravi Bhavnani4-Dec-02 10:38
professionalRavi Bhavnani4-Dec-02 10:38 
GeneralRe: Showing memory contents into a HTMLView? Pin
J Patel4-Dec-02 10:47
J Patel4-Dec-02 10:47 
GeneralRe: Showing memory contents into a HTMLView? Pin
Ravi Bhavnani4-Dec-02 11:58
professionalRavi Bhavnani4-Dec-02 11:58 
GeneralRe: Showing memory contents into a HTMLView? Pin
Joan M4-Dec-02 20:46
professionalJoan M4-Dec-02 20:46 
GeneralRe: Showing memory contents into a HTMLView? Pin
J Patel5-Dec-02 4:00
J Patel5-Dec-02 4:00 
AnswerRe: Showing memory contents into a HTMLView? Pin
David Salter4-Dec-02 12:12
David Salter4-Dec-02 12:12 
GeneralControl not showing immediately Pin
Brigg Thorp4-Dec-02 1:19
Brigg Thorp4-Dec-02 1:19 
QuestionBitBlt not working? Pin
S O S4-Dec-02 0:38
S O S4-Dec-02 0:38 
Using MFC in a MDI program.
The view has no background, so nothing is painted automatically.
I have this BitBlt on the OnDraw function of a view.

CRect r;<br />
pDC->GetClipBox(&r);<br />
<br />
pDC->BitBlt(r.left, r.top, r.Width(), r.Height(), &pDoc->m_map.m_canvas,<br />
		r.left, r.top, SRCCOPY);


But it doesn't seem to do anything! Not a pixel gets painted.
I tried a FillSolidRect too here and that worked fine.

m_canvas is a DC created with CreateCompatibleDC(NULL)
the rect r seems to be correct and the m_canvas seems to be a valid canvas too.
Oh and the BitBlt returns 1, so it's not failing internally it seems...
AnswerRe: BitBlt not working? Pin
Christian Graus4-Dec-02 0:43
protectorChristian Graus4-Dec-02 0:43 
GeneralRe: BitBlt not working? Pin
S O S4-Dec-02 5:22
S O S4-Dec-02 5:22 
GeneralRe: BitBlt not working? Pin
KaЯl4-Dec-02 5:30
KaЯl4-Dec-02 5:30 
GeneralRe: BitBlt not working? Pin
S O S4-Dec-02 5:50
S O S4-Dec-02 5:50 
GeneralRe: BitBlt not working? Pin
KaЯl4-Dec-02 6:03
KaЯl4-Dec-02 6:03 
GeneralRe: BitBlt not working? Pin
S O S4-Dec-02 7:46
S O S4-Dec-02 7:46 
GeneralRe: BitBlt not working? Pin
KaЯl4-Dec-02 13:35
KaЯl4-Dec-02 13:35 
GeneralRepaint slider channel Pin
Neha3-Dec-02 23:46
Neha3-Dec-02 23:46 
GeneralRe: Repaint slider channel Pin
KaЯl3-Dec-02 23:58
KaЯl3-Dec-02 23:58 
GeneralRe: MyListCtrl.SetSelectionMark doesn't call OnItemChangedLCtrl(...) Pin
MFC is the Best4-Dec-02 0:15
MFC is the Best4-Dec-02 0:15 
Generaltext from edit to list box Pin
xxhimanshu3-Dec-02 23:21
xxhimanshu3-Dec-02 23:21 
GeneralRe: text from edit to list box Pin
Michael P Butler3-Dec-02 23:48
Michael P Butler3-Dec-02 23:48 
GeneralRe: text from edit to list box Pin
Joan M3-Dec-02 23:54
professionalJoan M3-Dec-02 23:54 
GeneralRe: text from edit to list box Pin
xxhimanshu4-Dec-02 0:06
xxhimanshu4-Dec-02 0:06 
GeneralProblems with data conversion Pin
Gian3-Dec-02 22:57
Gian3-Dec-02 22:57 
GeneralRe: Problems with data conversion Pin
Hans Ruck4-Dec-02 0:50
Hans Ruck4-Dec-02 0:50 
GeneralRe: Problems with data conversion Pin
Gian4-Dec-02 3:02
Gian4-Dec-02 3:02 

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.