Click here to Skip to main content
15,900,907 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralC++ Data Structures (3rd), Chapter 3, Exercise 8 a+b, pg 171 Pin
aLiSoN374225-Oct-03 7:58
sussaLiSoN374225-Oct-03 7:58 
GeneralRe: C++ Data Structures (3rd), Chapter 3, Exercise 8 a+b, pg 171 Pin
Oinka25-Oct-03 8:56
Oinka25-Oct-03 8:56 
GeneralC++ Data Structures (3rd), Chapter 4, Exercise 14, p 267 Pin
aLiSoN374225-Oct-03 7:56
sussaLiSoN374225-Oct-03 7:56 
GeneralRe: C++ Data Structures (3rd), Chapter 4, Exercise 14, p 267 Pin
joshfl25-Oct-03 8:45
joshfl25-Oct-03 8:45 
GeneralRe: C++ Data Structures (3rd), Chapter 4, Exercise 14, p 267 Pin
Oinka25-Oct-03 10:21
Oinka25-Oct-03 10:21 
GeneralRe: C++ Data Structures (3rd), Chapter 4, Exercise 14, p 267 Pin
Terry O'Nolley25-Oct-03 14:34
Terry O'Nolley25-Oct-03 14:34 
GeneralRe: C++ Data Structures (3rd), Chapter 4, Exercise 14, p 267 Pin
Jörgen Sigvardsson26-Oct-03 5:45
Jörgen Sigvardsson26-Oct-03 5:45 
GeneralPlotting Graphs Pin
emrosa25-Oct-03 7:30
emrosa25-Oct-03 7:30 
GeneralRe: Plotting Graphs Pin
Oinka25-Oct-03 10:11
Oinka25-Oct-03 10:11 
GeneralNeed help developing algorithm Pin
Steven M Hunt25-Oct-03 5:54
Steven M Hunt25-Oct-03 5:54 
GeneralRe: Need help developing algorithm Pin
CillyMe25-Oct-03 8:05
CillyMe25-Oct-03 8:05 
GeneralRe: Need help developing algorithm Pin
Steven M Hunt25-Oct-03 8:24
Steven M Hunt25-Oct-03 8:24 
GeneralRe: Need help developing algorithm Pin
Oinka25-Oct-03 8:49
Oinka25-Oct-03 8:49 
GeneralRe: Need help developing algorithm Pin
Ravi Bhavnani25-Oct-03 9:02
professionalRavi Bhavnani25-Oct-03 9:02 
GeneralDial-up server in windows 98 Pin
choupani25-Oct-03 4:14
choupani25-Oct-03 4:14 
GeneralProblem with extern in C++(Very urgent) Pin
Azghar Hussain25-Oct-03 3:35
professionalAzghar Hussain25-Oct-03 3:35 
GeneralRe: Problem with extern in C++(Very urgent) Pin
Ravi Bhavnani25-Oct-03 4:18
professionalRavi Bhavnani25-Oct-03 4:18 
GeneralRe: Problem with extern in C++(Very urgent) Pin
Azghar Hussain25-Oct-03 5:13
professionalAzghar Hussain25-Oct-03 5:13 
GeneralRe: Problem with extern in C++(Very urgent) Pin
Jörgen Sigvardsson26-Oct-03 5:46
Jörgen Sigvardsson26-Oct-03 5:46 
GeneralRe: Problem with extern in C++(Very urgent) Pin
Azghar Hussain26-Oct-03 17:20
professionalAzghar Hussain26-Oct-03 17:20 
GeneralCDC::TransparentBlt Pin
eugi25-Oct-03 2:32
eugi25-Oct-03 2:32 
Hi! I am writing a custom control, and I would want to draw two overlapping images using transparency. I have written this code, but it does not work! Does anybody know the correct way of drawing overlapping bitmaps with transparency ? Thank you !

void CMyClass::DCDrawBitmap(HBITMAP hBitmap,LPRECT lpRect)
{
CDC* pDC = this->GetDC();

CDC dcSrc;
dcSrc.CreateCompatibleDC(pDC);
dcSrc.DrawState(CPoint(0,0),CSize(m_iCellWidth, m_iCellHeight),
hBitmap,DST_BITMAP|DSS_NORMAL);

pDC->TransparentBlt(lpRect->left,lpRect->top,m_iCellWidth,m_iCellHeight, &dcSrc,0,0,m_iCellWidth,m_iCellHeight,RGB(255,255,255));

ReleaseDC(&dcSrc);
ReleaseDC(pDC);
}

www.eugigames.tk
GeneralCopy buffer to another buffer Pin
Rickard Andersson2025-Oct-03 0:35
Rickard Andersson2025-Oct-03 0:35 
GeneralRe: Copy buffer to another buffer (solved) Pin
Rickard Andersson2025-Oct-03 0:46
Rickard Andersson2025-Oct-03 0:46 
GeneralUrgent: Doubt in Document Pin
Sreeramachandra24-Oct-03 23:09
Sreeramachandra24-Oct-03 23:09 
QuestionWhat to do to publish our research paper in Microsoft Journal Pin
Azghar Hussain24-Oct-03 22:48
professionalAzghar Hussain24-Oct-03 22:48 

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.