Click here to Skip to main content
15,891,981 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
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 
QuestionIs this a trick question? Pin
CillyMe24-Oct-03 21:38
CillyMe24-Oct-03 21:38 
AnswerRe: Is this a trick question? Pin
Andrew Walker24-Oct-03 22:03
Andrew Walker24-Oct-03 22:03 
GeneralRe: Is this a trick question? Pin
CillyMe25-Oct-03 0:37
CillyMe25-Oct-03 0:37 
GeneralRe: Is this a trick question? Pin
Ravi Bhavnani25-Oct-03 4:11
professionalRavi Bhavnani25-Oct-03 4:11 
GeneralRe: Is this a trick question? Pin
Tim Smith25-Oct-03 8:11
Tim Smith25-Oct-03 8:11 
GeneralRe: Is this a trick question? Pin
Ravi Bhavnani25-Oct-03 8:24
professionalRavi Bhavnani25-Oct-03 8:24 
AnswerRe: Is this a trick question? Pin
Gary R. Wheeler25-Oct-03 4:10
Gary R. Wheeler25-Oct-03 4:10 
GeneralRe: Is this a trick question? Pin
Ravi Bhavnani25-Oct-03 4:12
professionalRavi Bhavnani25-Oct-03 4:12 
GeneralRe: Is this a trick question? Pin
Gary R. Wheeler25-Oct-03 5:28
Gary R. Wheeler25-Oct-03 5:28 
GeneralRe: Is this a trick question? Pin
CillyMe25-Oct-03 8:01
CillyMe25-Oct-03 8:01 
GeneralLink List and Middle Node Pin
CillyMe24-Oct-03 21:31
CillyMe24-Oct-03 21:31 
GeneralRe: Link List and Middle Node Pin
Ravi Bhavnani25-Oct-03 4:15
professionalRavi Bhavnani25-Oct-03 4:15 
GeneralRe: Link List and Middle Node Pin
Michael Dunn25-Oct-03 7:16
sitebuilderMichael Dunn25-Oct-03 7:16 

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.