Click here to Skip to main content
16,016,814 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
AnswerRe: Update the Window.. [modified] Pin
gothic_coder13-Nov-08 19:04
gothic_coder13-Nov-08 19:04 
QuestionRe: Update the Window.. Pin
bob1697214-Nov-08 4:18
bob1697214-Nov-08 4:18 
AnswerRe: Update the Window.. Pin
gothic_coder14-Nov-08 20:32
gothic_coder14-Nov-08 20:32 
GeneralRe: Update the Window.. Pin
bob1697215-Nov-08 8:36
bob1697215-Nov-08 8:36 
GeneralRe: Update the Window.. Pin
gothic_coder16-Nov-08 20:41
gothic_coder16-Nov-08 20:41 
GeneralRe: Update the Window.. Pin
gothic_coder17-Nov-08 2:40
gothic_coder17-Nov-08 2:40 
QuestionCheckBox and Static control problem Pin
Dhiraj kumar Saini12-Nov-08 23:48
Dhiraj kumar Saini12-Nov-08 23:48 
AnswerRe: CheckBox and Static control problem Pin
gothic_coder13-Nov-08 0:02
gothic_coder13-Nov-08 0:02 
You might want this.

case WM_CTLCOLORDLG:
case WM_CTLCOLORSTATIC:
{
        HDC hdc = (HDC) wParam;
        HWND hwndStatic = (HWND) lParam;
	HBRUSH hbrBkcolor = (HBRUSH)GetStockObject(NULL_BRUSH);

	if (hwndStatic == GetDlgItem(hWnd, IDC_STATIC_CONTROL))
	{
		SetBkMode(hdc, TRANSPARENT);
		return (LRESULT) hbrBkcolor;
	}
        break;
}


Same stuff do with your Check Box also..

Hope this help.
GeneralRe: CheckBox and Static control problem Pin
Dhiraj kumar Saini13-Nov-08 0:05
Dhiraj kumar Saini13-Nov-08 0:05 
GeneralRe: CheckBox and Static control problem Pin
gothic_coder13-Nov-08 0:42
gothic_coder13-Nov-08 0:42 
GeneralRe: CheckBox and Static control problem Pin
Dhiraj kumar Saini13-Nov-08 1:58
Dhiraj kumar Saini13-Nov-08 1:58 
GeneralRe: CheckBox and Static control problem Pin
Iain Clarke, Warrior Programmer13-Nov-08 2:57
Iain Clarke, Warrior Programmer13-Nov-08 2:57 
GeneralRe: CheckBox and Static control problem Pin
gothic_coder13-Nov-08 3:12
gothic_coder13-Nov-08 3:12 
AnswerRe: CheckBox and Static control problem Pin
AtomAnt13-Nov-08 0:04
AtomAnt13-Nov-08 0:04 
QuestionHow can i Get Hard Drive Modal details? Pin
Le@rner12-Nov-08 21:58
Le@rner12-Nov-08 21:58 
AnswerRe: How can i Get Hard Drive Modal details? Pin
SandipG 12-Nov-08 22:24
SandipG 12-Nov-08 22:24 
AnswerRe: How can i Get Hard Drive Modal details? Pin
_AnsHUMAN_ 12-Nov-08 22:26
_AnsHUMAN_ 12-Nov-08 22:26 
AnswerRe: How can i Get Hard Drive Modal details? [modified] Pin
User 21559712-Nov-08 22:26
User 21559712-Nov-08 22:26 
QuestionHow to get disk's capacitance of remote computer with ip? Pin
ZhiLiangLin12-Nov-08 20:00
ZhiLiangLin12-Nov-08 20:00 
AnswerRe: How to get disk's capacitance of remote computer with ip? [modified] Pin
User 21559712-Nov-08 22:18
User 21559712-Nov-08 22:18 
QuestionRe: How to get disk's capacitance of remote computer with ip? Pin
David Crow13-Nov-08 3:13
David Crow13-Nov-08 3:13 
QuestionOnDragOver/OnDropEx cannot used in CStatic? [modified] Pin
kaviniswell12-Nov-08 19:44
kaviniswell12-Nov-08 19:44 
AnswerRe: OnDragOver/OnDropEx cannot used in CStatic? Pin
kaviniswell12-Nov-08 20:35
kaviniswell12-Nov-08 20:35 
Questionhow do i create shortcut for my application through coding Pin
puppya12-Nov-08 19:22
puppya12-Nov-08 19:22 
AnswerRe: how do i create shortcut for my application through coding Pin
Hamid_RT12-Nov-08 20:27
Hamid_RT12-Nov-08 20:27 

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.