Click here to Skip to main content
15,901,284 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
AnswerRe: Deleting a line in a text file Pin
Cedric Moonen23-May-06 4:03
Cedric Moonen23-May-06 4:03 
GeneralRe: Deleting a line in a text file Pin
Azghar Hussain23-May-06 4:12
professionalAzghar Hussain23-May-06 4:12 
GeneralRe: Deleting a line in a text file Pin
toxcct23-May-06 4:16
toxcct23-May-06 4:16 
GeneralRe: Deleting a line in a text file Pin
Cedric Moonen23-May-06 4:18
Cedric Moonen23-May-06 4:18 
GeneralRe: Deleting a line in a text file Pin
Azghar Hussain23-May-06 4:25
professionalAzghar Hussain23-May-06 4:25 
GeneralRe: Deleting a line in a text file Pin
led mike23-May-06 6:00
led mike23-May-06 6:00 
Questionhow to change back ground color of slider control Pin
aaaan23-May-06 3:14
aaaan23-May-06 3:14 
AnswerRe: how to change back ground color of slider control Pin
Laxman Auti23-May-06 3:26
Laxman Auti23-May-06 3:26 
nirmal wrote:
how can i change the background color of a slider ctrl.
can anybody help me?

HBRUSH CEttDlg::OnCtlColor(CDC* pDC, CWnd* pWnd, UINT nCtlColor) 
{
	HBRUSH hbr = CDialog::OnCtlColor(pDC, pWnd, nCtlColor);
	
	// TODO: Change any attributes of the DC here
	
	if (pWnd==GetDlgItem(IDC_SLIDER1))
	{
		hbr=CreateSolidBrush(RGB(123,123,13));
	}
	// TODO: Return a different brush if the default is not desired
	return hbr;
}
Here IDC_SLIDER1 is the control ID of Slider control.


Knock out 't' from can't,
You can if you think you can
Cool | :cool:
Questiondata visualisation in command prompt [modified] Pin
McBridou23-May-06 2:45
McBridou23-May-06 2:45 
QuestionDraw transparent bitmap in desktop Pin
Hadi Dayvary23-May-06 2:33
professionalHadi Dayvary23-May-06 2:33 
AnswerRe: Draw transparent bitmap in desktop Pin
_AnsHUMAN_ 23-May-06 2:41
_AnsHUMAN_ 23-May-06 2:41 
GeneralRe: Draw transparent bitmap in desktop Pin
Hadi Dayvary23-May-06 2:58
professionalHadi Dayvary23-May-06 2:58 
GeneralRe: Draw transparent bitmap in desktop Pin
Laxman Auti23-May-06 3:01
Laxman Auti23-May-06 3:01 
AnswerRe: Draw transparent bitmap in desktop Pin
ThatsAlok23-May-06 2:46
ThatsAlok23-May-06 2:46 
GeneralRe: Draw transparent bitmap in desktop Pin
Hadi Dayvary23-May-06 3:00
professionalHadi Dayvary23-May-06 3:00 
QuestionCTreeCtrl Pin
Niro198323-May-06 2:22
Niro198323-May-06 2:22 
Question_bstr_t to char* [modified] Pin
koumodaki23-May-06 2:20
koumodaki23-May-06 2:20 
AnswerRe: _bstr_t to char* [modified] Pin
ThatsAlok23-May-06 2:42
ThatsAlok23-May-06 2:42 
AnswerRe: _bstr_t to char* [modified] Pin
_AnsHUMAN_ 23-May-06 2:43
_AnsHUMAN_ 23-May-06 2:43 
Questionhow i put "" inside "" Pin
Immunity1823-May-06 2:06
Immunity1823-May-06 2:06 
AnswerRe: how i put "" inside "" Pin
toxcct23-May-06 2:12
toxcct23-May-06 2:12 
AnswerRe: how i put "" inside "" Pin
ThatsAlok23-May-06 2:14
ThatsAlok23-May-06 2:14 
AnswerRe: how i put "" inside "" Pin
Cedric Moonen23-May-06 2:17
Cedric Moonen23-May-06 2:17 
GeneralRe: how i put "" inside "" Pin
ThatsAlok23-May-06 2:43
ThatsAlok23-May-06 2:43 
JokeRe: how i put "" inside "" Pin
Cedric Moonen23-May-06 2:54
Cedric Moonen23-May-06 2:54 

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.