Click here to Skip to main content
15,885,546 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralNot the answer that I wanted... Pin
Owner drawn28-Dec-05 19:14
Owner drawn28-Dec-05 19:14 
GeneralRe: Not the answer that I wanted... Pin
vikas amin28-Dec-05 20:31
vikas amin28-Dec-05 20:31 
GeneralRe: Not the answer that I wanted... Pin
Owner drawn28-Dec-05 20:55
Owner drawn28-Dec-05 20:55 
GeneralRe: Not the answer that I wanted... Pin
vikas amin28-Dec-05 22:18
vikas amin28-Dec-05 22:18 
GeneralRe: Not the answer that I wanted... Pin
Owner drawn29-Dec-05 16:54
Owner drawn29-Dec-05 16:54 
QuestionMFC + VC2005 Express? Pin
SPB_BR28-Dec-05 17:08
SPB_BR28-Dec-05 17:08 
QuestionHow to change the Background color of Progress Bar Pin
LaHaHa28-Dec-05 15:38
LaHaHa28-Dec-05 15:38 
AnswerRe: How to change the Background color of Progress Bar Pin
Owner drawn28-Dec-05 16:28
Owner drawn28-Dec-05 16:28 
Subclass it and handle the WM_ERASEBKGND.

Or

If you wanna change the colors used in a progress bar control then you have to handle these two messages

1. PBM_SETBARCOLOR
2. PBM_SETBKCOLOR messages.

or The Easiest

CProgressCtrl myCtrl;

// Create a smooth child progress control.
myCtrl.Create(WS_CHILD|WS_VISIBLE|PBS_SMOOTH, CRect(10,10,200,30), 
   pParentWnd, 1);

// Set the background color to red.
myCtrl.SetBkColor(RGB(255, 0, 0));


Jesus Loves You and Me Smile | :)
<marquee direction="up" height="50" scrolldelay="1" step="1" scrollamount="1" style="background-color:'#44ccff'">
--Owner Drawn
--Nothing special
--Defeat is temporary but surrender is permanent
--Never say quits
--Jesus is Lord


GeneralRe: How to change the Background color of Progress Bar Pin
LaHaHa28-Dec-05 17:34
LaHaHa28-Dec-05 17:34 
GeneralRe: How to change the Background color of Progress Bar Pin
Owner drawn28-Dec-05 18:06
Owner drawn28-Dec-05 18:06 
QuestionMulti-byte Program access UNICODE DLL Pin
FFKONG28-Dec-05 15:30
FFKONG28-Dec-05 15:30 
QuestionHowto Run win32 console c++ app. in a machine without VS 2003? Pin
sree8228-Dec-05 11:32
sree8228-Dec-05 11:32 
AnswerRe: Howto Run win32 console c++ app. in a machine without VS 2003? Pin
Garth J Lancaster28-Dec-05 11:53
professionalGarth J Lancaster28-Dec-05 11:53 
GeneralRe: Howto Run win32 console c++ app. in a machine without VS 2003? Pin
GflPower28-Dec-05 14:23
GflPower28-Dec-05 14:23 
GeneralRe: Howto Run win32 console c++ app. in a machine without VS 2003? Pin
Garth J Lancaster28-Dec-05 14:29
professionalGarth J Lancaster28-Dec-05 14:29 
GeneralRe: Howto Run win32 console c++ app. in a machine without VS 2003? Pin
sree8228-Dec-05 19:24
sree8228-Dec-05 19:24 
QuestionProject Builds With __WIN32_Debug In Dir Name ? Pin
Garth J Lancaster28-Dec-05 10:26
professionalGarth J Lancaster28-Dec-05 10:26 
AnswerRe: Project Builds With __WIN32_Debug In Dir Name ? Pin
Gary R. Wheeler28-Dec-05 11:58
Gary R. Wheeler28-Dec-05 11:58 
GeneralRe: Project Builds With __WIN32_Debug In Dir Name ? Pin
Garth J Lancaster28-Dec-05 12:03
professionalGarth J Lancaster28-Dec-05 12:03 
GeneralRe: Project Builds With __WIN32_Debug In Dir Name ? Pin
Gary R. Wheeler28-Dec-05 12:35
Gary R. Wheeler28-Dec-05 12:35 
QuestionGetting last IP user logged into Pin
John Lomen28-Dec-05 9:36
John Lomen28-Dec-05 9:36 
QuestionMultiple Computers accessing the same file Pin
Joshua Lunsford28-Dec-05 8:48
Joshua Lunsford28-Dec-05 8:48 
AnswerRe: Multiple Computers accessing the same file Pin
David Crow28-Dec-05 9:44
David Crow28-Dec-05 9:44 
GeneralRe: Multiple Computers accessing the same file Pin
JstDaNuGuy28-Dec-05 9:58
JstDaNuGuy28-Dec-05 9:58 
GeneralRe: Multiple Computers accessing the same file ( edit) Pin
Maximilien28-Dec-05 10:05
Maximilien28-Dec-05 10:05 

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.