Click here to Skip to main content
15,923,087 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: Flickering Problem in Dialog base application Pin
Anonymous23-Mar-04 17:36
Anonymous23-Mar-04 17:36 
GeneralRe: Flickering Problem in Dialog base application Pin
Prakash Nadar23-Mar-04 19:22
Prakash Nadar23-Mar-04 19:22 
GeneralRe: Flickering Problem in Dialog base application Pin
David Crow23-Mar-04 3:55
David Crow23-Mar-04 3:55 
GeneralRe: Flickering Problem in Dialog base application Pin
Anonymous23-Mar-04 4:04
Anonymous23-Mar-04 4:04 
GeneralRe: Flickering Problem in Dialog base application Pin
David Crow23-Mar-04 4:17
David Crow23-Mar-04 4:17 
GeneralRe: Flickering Problem in Dialog base application Pin
Anonymous23-Mar-04 17:45
Anonymous23-Mar-04 17:45 
GeneralFlickering Error in Dialog base application Pin
Mayank Kumar23-Mar-04 1:42
Mayank Kumar23-Mar-04 1:42 
GeneralCHtmlView CMainFrame Border Color Pin
AssemblySoft23-Mar-04 1:26
AssemblySoft23-Mar-04 1:26 
I have an app using the CHtmlView to drive the user inteface.
I have a web page black.html, which is exactly that, a plain black page.
I have maximized the mainframe window but there is still a thin white border around the page. - How do i set this to black?

I have tried:
Overriding OnEraseBkGround - for both CHtmlView + MainFrame

<br />
<br />
      CBrush backBrush(RGB(0,0,0));<br />
<br />
      // Save old brush<br />
      CBrush* pOldBrush = pDC->SelectObject(&backBrush);<br />
<br />
      CRect rect;<br />
      pDC->GetClipBox(&rect);     // Erase the area needed<br />
<br />
      pDC->PatBlt(rect.left, rect.top, rect.Width(), rect.Height(),<br />
          PATCOPY);<br />
      pDC->SelectObject(pOldBrush);<br />
<br />


I still can't get rid of the thin white border - please help D'Oh! | :doh:

Carl
GeneralRe: CHtmlView CMainFrame Border Color Pin
Ravi Bhavnani23-Mar-04 3:00
professionalRavi Bhavnani23-Mar-04 3:00 
GeneralRe: CHtmlView CMainFrame Border Color Pin
AssemblySoft24-Mar-04 22:21
AssemblySoft24-Mar-04 22:21 
GeneralCPrimaryKey and CForeignKey Help Pin
Chris Ulliott23-Mar-04 1:09
Chris Ulliott23-Mar-04 1:09 
GeneralRe: CPrimaryKey and CForeignKey Help Pin
Steve S23-Mar-04 1:56
Steve S23-Mar-04 1:56 
GeneralRe: CPrimaryKey and CForeignKey Help Pin
Chris Ulliott23-Mar-04 2:09
Chris Ulliott23-Mar-04 2:09 
GeneralRe: CPrimaryKey and CForeignKey Help Pin
Steve S23-Mar-04 2:51
Steve S23-Mar-04 2:51 
GeneralRe: CPrimaryKey and CForeignKey Help Pin
Chris Ulliott4-Jun-04 0:32
Chris Ulliott4-Jun-04 0:32 
QuestionHow to disable a menu button Pin
Caoimh23-Mar-04 0:16
Caoimh23-Mar-04 0:16 
AnswerRe: How to disable a menu button Pin
RChin23-Mar-04 0:24
RChin23-Mar-04 0:24 
AnswerRe: How to disable a menu button Pin
Steve S23-Mar-04 2:07
Steve S23-Mar-04 2:07 
GeneralRe: How to disable a menu button Pin
Caoimh23-Mar-04 2:32
Caoimh23-Mar-04 2:32 
QuestionHow to create chm format files? Pin
wood22-Mar-04 23:57
wood22-Mar-04 23:57 
AnswerRe: How to create chm format files? Pin
RChin23-Mar-04 0:20
RChin23-Mar-04 0:20 
GeneralRe: How to create chm format files? Pin
wood23-Mar-04 13:57
wood23-Mar-04 13:57 
QuestionHow to get the current item in combo box? Pin
ansontong22-Mar-04 23:51
ansontong22-Mar-04 23:51 
AnswerRe: How to get the current item in combo box? Pin
ansontong22-Mar-04 23:58
ansontong22-Mar-04 23:58 
AnswerRe: How to get the current item in combo box? Pin
Monty223-Mar-04 0:19
Monty223-Mar-04 0:19 

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.