Click here to Skip to main content
15,884,986 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: AfxConnectionAdvise retuning false Pin
Prakash Nadar15-Feb-04 19:51
Prakash Nadar15-Feb-04 19:51 
GeneralRe: AfxConnectionAdvise retuning false Pin
Abhi Lahare15-Feb-04 20:02
Abhi Lahare15-Feb-04 20:02 
GeneralRe: AfxConnectionAdvise retuning false Pin
Prakash Nadar15-Feb-04 20:11
Prakash Nadar15-Feb-04 20:11 
GeneralRe: AfxConnectionAdvise retuning false Pin
Abhi Lahare15-Feb-04 20:42
Abhi Lahare15-Feb-04 20:42 
GeneralRe: AfxConnectionAdvise retuning false Pin
Prakash Nadar15-Feb-04 22:03
Prakash Nadar15-Feb-04 22:03 
GeneralCStatic background color problem Pin
Coremn15-Feb-04 19:32
Coremn15-Feb-04 19:32 
GeneralRe: CStatic background color problem Pin
Prakash Nadar15-Feb-04 19:55
Prakash Nadar15-Feb-04 19:55 
GeneralRe: CStatic background color problem Pin
Coremn16-Feb-04 11:45
Coremn16-Feb-04 11:45 
Mr.Prakash wrote:
return hbr;

You retruning the brush with the old screen color rite, then how is the color going to change ?


hbr is the background screen color, in my case black. This colors in the excess space in the CStatic where there is no text, I.E making the unused space blend in with the background, I want the space behind the actual text to be colored, this is done by not using pDC->SetBkColor(Clr); in the method OnCtlColor. But I dont know how to change this from light gray.

---
GeneralRe: CStatic background color problem Pin
Prakash Nadar16-Feb-04 16:40
Prakash Nadar16-Feb-04 16:40 
GeneralSave Bitmap from Device Context to File Pin
Okeno Palmer15-Feb-04 17:14
Okeno Palmer15-Feb-04 17:14 
GeneralRe: Save Bitmap from Device Context to File Pin
Johann Gerell15-Feb-04 20:14
Johann Gerell15-Feb-04 20:14 
GeneralWeird toolbar behaviour Pin
Deian15-Feb-04 16:18
Deian15-Feb-04 16:18 
GeneralHelp...program passes input as 13... Pin
kfresh15-Feb-04 15:47
kfresh15-Feb-04 15:47 
GeneralRe: Help...program passes input as 13... Pin
Andrew Walker15-Feb-04 16:37
Andrew Walker15-Feb-04 16:37 
General.ico corruption and CVS Pin
Jon Sagara15-Feb-04 15:30
Jon Sagara15-Feb-04 15:30 
GeneralRe: .ico corruption and CVS Pin
Mike Dimmick16-Feb-04 2:42
Mike Dimmick16-Feb-04 2:42 
GeneralRe: .ico corruption and CVS Pin
Jon Sagara16-Feb-04 2:48
Jon Sagara16-Feb-04 2:48 
GeneralAddPicture Pin
Member 73893815-Feb-04 15:10
Member 73893815-Feb-04 15:10 
GeneralFree Unix OS download.. Pin
IrishSonic15-Feb-04 14:41
IrishSonic15-Feb-04 14:41 
GeneralRe: Free Unix OS download.. Pin
Maxwell Chen15-Feb-04 15:14
Maxwell Chen15-Feb-04 15:14 
GeneralRe: Free Unix OS download.. Pin
Anonymous15-Feb-04 19:37
Anonymous15-Feb-04 19:37 
GeneralRe: Free Unix OS download.. Pin
Okeno Palmer16-Feb-04 1:23
Okeno Palmer16-Feb-04 1:23 
GeneralRe: Free Unix OS download.. Pin
IrishSonic17-Feb-04 13:22
IrishSonic17-Feb-04 13:22 
GeneralA simple problem Pin
deniz79s15-Feb-04 6:10
deniz79s15-Feb-04 6:10 
GeneralRe: A simple problem Pin
Mike Dimmick16-Feb-04 2:59
Mike Dimmick16-Feb-04 2:59 

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.