Click here to Skip to main content
15,886,067 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
AnswerRe: Detecting response/acknowledgement timeout in Winsock Pin
Cedric Moonen27-Aug-07 2:09
Cedric Moonen27-Aug-07 2:09 
GeneralRe: Detecting response/acknowledgement timeout in Winsock Pin
__yash__27-Aug-07 4:46
professional__yash__27-Aug-07 4:46 
AnswerRe: Detecting response/acknowledgement timeout in Winsock Pin
Naveen27-Aug-07 2:51
Naveen27-Aug-07 2:51 
Question2 Different idl files 2 different outputs Pin
sawerr27-Aug-07 0:44
sawerr27-Aug-07 0:44 
AnswerRe: 2 Different idl files 2 different outputs Pin
KarstenK27-Aug-07 2:20
mveKarstenK27-Aug-07 2:20 
GeneralRe: 2 Different idl files 2 different outputs Pin
sawerr27-Aug-07 3:00
sawerr27-Aug-07 3:00 
GeneralRe: 2 Different idl files 2 different outputs Pin
KarstenK27-Aug-07 3:15
mveKarstenK27-Aug-07 3:15 
Questionbackground of picture static control Pin
vasu_sri26-Aug-07 23:41
vasu_sri26-Aug-07 23:41 
iam using static picture control on the dialog box. actually my bitmap has alpha and red background color. this bitmap attached to static picture control. then problem is in Windows XP supporting alpha channel but in Windows 2000 it showing
same back ground color .

what i want is how can i hide the background color of the static picture control?

one more thing i wrote like this


<br />
<br />
HBRUSH CFileSelectionDlg::OnCtlColor(CDC* pDC, CWnd* pWnd, UINT nCtlColor)<br />
{<br />
	HBRUSH hbr = CDialog::OnCtlColor(pDC, pWnd, nCtlColor);<br />
<br />
	// TODO:  Change any attributes of the DC here<br />
	if(pWnd->GetDlgCtrlID()==IDC_STATIC_IMG)<br />
		pDC->SetBkMode(TRANSPARENT); <br />
<br />
	// TODO:  Return a different brush if the default is not desired<br />
	return hbr;<br />
}<br />
<br />


here IDC_STATIC_IMG is a member variable of static picture control.


Regards,
Srinivas

AnswerRe: background of picture static control Pin
Roger Broomfield27-Aug-07 0:26
Roger Broomfield27-Aug-07 0:26 
QuestionReading mrt.log file Pin
Manasi D26-Aug-07 21:26
Manasi D26-Aug-07 21:26 
AnswerRe: Reading mrt.log file Pin
Naveen26-Aug-07 21:48
Naveen26-Aug-07 21:48 
Questionfile path's Pin
Waldermort26-Aug-07 20:58
Waldermort26-Aug-07 20:58 
AnswerRe: file path's Pin
toxcct26-Aug-07 21:10
toxcct26-Aug-07 21:10 
GeneralRe: file path's Pin
Waldermort26-Aug-07 21:16
Waldermort26-Aug-07 21:16 
QuestionDiff b/w Copy constructor & Assignment operator Pin
prashant pissey26-Aug-07 20:49
prashant pissey26-Aug-07 20:49 
AnswerRe: Diff b/w Copy constructor & Assignment operator Pin
Hamid_RT26-Aug-07 21:00
Hamid_RT26-Aug-07 21:00 
AnswerRe: Diff b/w Copy constructor & Assignment operator Pin
toxcct26-Aug-07 21:18
toxcct26-Aug-07 21:18 
Questioncompilation of UTF-8 in visual cpp Pin
puneet_cha26-Aug-07 20:30
puneet_cha26-Aug-07 20:30 
AnswerRe: compilation of UTF-8 in visual cpp Pin
sGrabert26-Aug-07 22:48
sGrabert26-Aug-07 22:48 
AnswerRe: compilation of UTF-8 in visual cpp Pin
bob1697227-Aug-07 2:04
bob1697227-Aug-07 2:04 
QuestionRe: compilation of UTF-8 in visual cpp Pin
bob1697227-Aug-07 5:03
bob1697227-Aug-07 5:03 
AnswerRe: compilation of UTF-8 in visual cpp Pin
Michael Dunn27-Aug-07 7:05
sitebuilderMichael Dunn27-Aug-07 7:05 
Questionsystem command Pin
IlanTal26-Aug-07 19:50
IlanTal26-Aug-07 19:50 
AnswerRe: system command Pin
Naveen26-Aug-07 20:00
Naveen26-Aug-07 20:00 
GeneralRe: system command Pin
IlanTal26-Aug-07 20:04
IlanTal26-Aug-07 20:04 

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.