Click here to Skip to main content
16,009,598 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralGrab Webpage to clipboard (as bitmap) Pin
Mathefreak19-Apr-05 23:11
Mathefreak19-Apr-05 23:11 
GeneralRe: Grab Webpage to clipboard (as bitmap) Pin
Sheng Jiang 蒋晟20-Apr-05 13:19
Sheng Jiang 蒋晟20-Apr-05 13:19 
Questionhow to make lines visible all the time!! Pin
mafuza19-Apr-05 23:03
mafuza19-Apr-05 23:03 
AnswerRe: how to make lines visible all the time!! Pin
Cedric Moonen19-Apr-05 23:15
Cedric Moonen19-Apr-05 23:15 
GeneralRe: how to make lines visible all the time!! Pin
mafuza21-Apr-05 22:13
mafuza21-Apr-05 22:13 
GeneralRe: how to make lines visible all the time!! Pin
Cedric Moonen21-Apr-05 22:18
Cedric Moonen21-Apr-05 22:18 
GeneralAutomatic Proxy URL Pin
Geert van Horrik19-Apr-05 22:05
Geert van Horrik19-Apr-05 22:05 
GeneralChange text color in static (ATL+MFC) problem Pin
AdyOS19-Apr-05 21:43
AdyOS19-Apr-05 21:43 
Hello All!
Have a problem with changing font color in static. I do like this:
<br />
//function catch all messages<br />
LRESULT CPage::OnHandleAll(UINT uMsg, WPARAM wParam, LPARAM lParam, BOOL& bHandled)<br />
{<br />
   if ((uMsg == WM_CTLCOLORSTATIC) && (HWND)lParam == GetDlgItem    (IDC_STATIC_TEXT_ABONENT_TYPE))<br />
   {<br />
	ModifyStyle( 0, SS_NOTIFY );<br />
	HBRUSH hBr = NULL;<br />
	HDC hDC = (HDC)wParam;<br />
	SelectObject( hDC, GetFont() );//GetFont() - my func<br />
	SetTextColor( hDC, RGB(255,255,0));<br />
	SetBkMode( hDC, TRANSPARENT );<br />
	hBr = (HBRUSH)GetStockObject( HOLLOW_BRUSH );<br />
	return (LRESULT)hBr;<br />
  }<br />
}<br />


But color not changing in IDC_STATIC_TEXT_ABONENT_TYPE =(
GeneralRe: Change text color in static (ATL+MFC) problem Pin
Geert van Horrik19-Apr-05 22:05
Geert van Horrik19-Apr-05 22:05 
GeneralRe: Change text color in static (ATL+MFC) problem Pin
AdyOS19-Apr-05 22:22
AdyOS19-Apr-05 22:22 
GeneralRe: Change text color in static (ATL+MFC) problem Pin
David Crow20-Apr-05 2:30
David Crow20-Apr-05 2:30 
Generalline color of statistic Pin
ThinkingPrometheus19-Apr-05 21:34
ThinkingPrometheus19-Apr-05 21:34 
Generalconvert string to double or string to ascii Pin
nehathoma19-Apr-05 19:18
nehathoma19-Apr-05 19:18 
GeneralRe: convert string to double or string to ascii Pin
22491719-Apr-05 19:31
22491719-Apr-05 19:31 
Generalconversion string double or string to ascci Pin
shaans19-Apr-05 19:17
shaans19-Apr-05 19:17 
GeneralRe: conversion string double or string to ascci Pin
Christian Graus19-Apr-05 19:25
protectorChristian Graus19-Apr-05 19:25 
GeneralGetting the extent of Text with a seleted Font!! in VC++ Pin
ashwinder19-Apr-05 19:13
ashwinder19-Apr-05 19:13 
GeneralRe: Getting the extent of Text with a seleted Font!! in VC++ Pin
David Crow20-Apr-05 2:35
David Crow20-Apr-05 2:35 
QuestionHow to statically bind (link) an &quot;ocx&quot;? Pin
Jahfer V P19-Apr-05 19:03
sussJahfer V P19-Apr-05 19:03 
AnswerRe: How to statically bind (link) an "ocx"? Pin
22491719-Apr-05 20:11
22491719-Apr-05 20:11 
AnswerRe: How to statically bind (link) an &quot;ocx&quot;? Pin
Trollslayer19-Apr-05 23:39
mentorTrollslayer19-Apr-05 23:39 
QuestionProblem with Undo??? Pin
Azghar Hussain19-Apr-05 18:30
professionalAzghar Hussain19-Apr-05 18:30 
AnswerRe: Problem with Undo??? Pin
22491719-Apr-05 19:05
22491719-Apr-05 19:05 
GeneralProblem Refreshing Screen Pin
popo8419-Apr-05 16:56
popo8419-Apr-05 16:56 
GeneralRe: Problem Refreshing Screen Pin
ThatsAlok19-Apr-05 18:14
ThatsAlok19-Apr-05 18:14 

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.