Click here to Skip to main content
15,914,074 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: Multi-threading/multi-instances with same thread function Pin
22-Apr-02 17:28
suss22-Apr-02 17:28 
GeneralRe: Multi-threading/multi-instances with same thread function Pin
Albert Pascual23-Apr-02 6:26
sitebuilderAlbert Pascual23-Apr-02 6:26 
GeneralRe: Multi-threading/multi-instances with same thread function Pin
Tim Smith23-Apr-02 2:24
Tim Smith23-Apr-02 2:24 
GeneralRe: Multi-threading/multi-instances with same thread function Pin
Tim Smith23-Apr-02 2:25
Tim Smith23-Apr-02 2:25 
GeneralRe: Multi-threading/multi-instances with same thread function Pin
23-Apr-02 16:26
suss23-Apr-02 16:26 
GeneralRe: Multi-threading/multi-instances with same thread function -- I got it !! Pin
23-Apr-02 18:46
suss23-Apr-02 18:46 
GeneralUsing MSDN.... Pin
SilverShalkin22-Apr-02 16:41
SilverShalkin22-Apr-02 16:41 
GeneralRe: Using MSDN.... Pin
Paul M Watt22-Apr-02 18:55
mentorPaul M Watt22-Apr-02 18:55 
SetBkColor is not related to the console. It looks like you looked up a function from MFC, and MFC is only useful for developing windows applications.

SilverShalkin wrote:
How do i read this and use it?

If you were using MFC, you would create a CDC object. Then you would be able to call the member function of CDC called SetBKColor. One more thing to note, is that a COLORREF can be created
with the RGB() macro, were you provide the RGB color combinations to create a new color.
If you wanted to set the background color to red, you would do this:

void DoSomething (CDC *dc)
{
dc->SetBkColor(RGB(255,0,0));
...
}

I am sorry I do not know console programming well enough to tell you how to change the background color.



Build a man a fire, and he will be warm for a day
Light a man on fire, and he will be warm for the rest of his life!

GeneralRe: Using MSDN.... Pin
Mike Nordell22-Apr-02 19:22
Mike Nordell22-Apr-02 19:22 
GeneralMSDN Pin
SilverShalkin23-Apr-02 3:01
SilverShalkin23-Apr-02 3:01 
GeneralRe: MSDN Pin
Mike Nordell23-Apr-02 10:19
Mike Nordell23-Apr-02 10:19 
QuestionHow to pass handle to stl container? Pin
Todd Smith22-Apr-02 15:37
Todd Smith22-Apr-02 15:37 
AnswerRe: How to pass handle to stl container? Pin
Paul M Watt22-Apr-02 15:52
mentorPaul M Watt22-Apr-02 15:52 
GeneralRe: How to pass handle to stl container? Pin
Christian Graus22-Apr-02 16:06
protectorChristian Graus22-Apr-02 16:06 
GeneralSpeeding Up Display Time in CEditView :: MFC Pin
valikac22-Apr-02 15:27
valikac22-Apr-02 15:27 
GeneralRe: Speeding Up Display Time in CEditView :: MFC Pin
Paul M Watt22-Apr-02 16:02
mentorPaul M Watt22-Apr-02 16:02 
GeneralRe: Speeding Up Display Time in CEditView :: MFC Pin
valikac22-Apr-02 16:36
valikac22-Apr-02 16:36 
GeneralRe: Speeding Up Display Time in CEditView :: MFC Pin
Paul M Watt22-Apr-02 18:47
mentorPaul M Watt22-Apr-02 18:47 
GeneralRe: Speeding Up Display Time in CEditView :: MFC Pin
valikac22-Apr-02 19:13
valikac22-Apr-02 19:13 
GeneralCFormView resizing Pin
22-Apr-02 13:58
suss22-Apr-02 13:58 
GeneralRe: CFormView resizing Pin
Roger Allen22-Apr-02 21:51
Roger Allen22-Apr-02 21:51 
GeneralRe: CFormView resizing Pin
ErrN023-Apr-02 1:12
ErrN023-Apr-02 1:12 
GeneralGet an HICON from a running process Pin
22-Apr-02 13:33
suss22-Apr-02 13:33 
GeneralRe: Get an HICON from a running process Pin
Paul M Watt22-Apr-02 13:48
mentorPaul M Watt22-Apr-02 13:48 
GeneralRe: Get an HICON from a running process Pin
22-Apr-02 16:35
suss22-Apr-02 16:35 

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.