Click here to Skip to main content
15,910,471 members

Survey Results

What's most important in your day?   [Edit]

Survey period: 2 Dec 2002 to 8 Dec 2002

Some things just make work life more bearable.

OptionVotes12345 
Good coffee.5020%0%0%0%0%
Having your MSDN discs where you left them.5020%0%0%0%0%
No interruptions while working.5020%0%0%0%0%
A big whoppin' monitor.5020%0%0%0%0%
A fast computer.5020%0%0%0%0%
A manager who understands what you are working on.5020%0%0%0%0%
A window seat and/or good scenery.5020%0%0%0%0%
A clear and precise idea of what you are meant to be doing.5020%0%0%0%0%

View optional text answers (65 answers)


 
GeneralSurvey reset Pin
Chris Maunder3-Dec-02 12:56
cofounderChris Maunder3-Dec-02 12:56 
GeneralRe: Survey reset Pin
Jörgen Sigvardsson3-Dec-02 13:02
Jörgen Sigvardsson3-Dec-02 13:02 
GeneralRe: Survey reset Pin
David Wulff3-Dec-02 13:08
David Wulff3-Dec-02 13:08 
GeneralRe: Survey reset Pin
Christian Graus5-Dec-02 9:23
protectorChristian Graus5-Dec-02 9:23 
GeneralI checked everything Pin
Jörgen Sigvardsson3-Dec-02 12:53
Jörgen Sigvardsson3-Dec-02 12:53 
GeneralHow about... Pin
Anonymous3-Dec-02 11:46
Anonymous3-Dec-02 11:46 
GeneralRe: How about... Pin
Jacques Troux3-Dec-02 12:29
sussJacques Troux3-Dec-02 12:29 
Generalbitmap problem Pin
Anand Kumar2-Dec-02 19:53
Anand Kumar2-Dec-02 19:53 
i have a problem in displaying a bitmap which i am storing
in a document class which takes whole screen, on draw i am getting the bitmap from doc class and displaying it,on mouse doble click i am saving a another bitmap into the bitmap which has been stored in doc class but the problem is that while displaying the bitmap only small portion of the bitmap is being displayed.
you can analyze the code and sort the problem.
thanks in advance
thanks
kumar:
Roll eyes | :rolleyes:

void CBitmapnetdgView::OnDraw(CDC* pDC)
{
CBitmapnetdgDoc* pDoc = GetDocument();
ASSERT_VALID(pDoc);
// pDC->SetViewportExt(0,0);

CDC compatDC;
CBitmap * oldBmp;
int screenWidth;
int screenHight;
screenWidth=GetSystemMetrics(SM_CXSCREEN);
screenHight=GetSystemMetrics(SM_CYSCREEN);
compatDC.CreateCompatibleDC(pDC);
oldBmp=compatDC.SelectObject(&pDoc->cMouseBmp);
CDC cTempDC;
cTempDC.Attach(compatDC);
pDC->BitBlt(0,0,screenWidth,screenHight,&cTempDC,0,0,SRCCOPY);
cTempDC.Detach();

compatDC.SelectObject(oldBmp);
DeleteDC(compatDC);
TRACE("VIEW\n");
}
void CBitmapnetdgView::OnLButtonDblClk(UINT nFlags, CPoint point)
{
CDC *winDC;
CBitmapnetdgDoc* pDoc = GetDocument();
CDC compatDC;
CBitmap *oldBump;
winDC=CWnd::GetDC();
CPoint pt=winDC->GetWindowOrg();
compatDC.CreateCompatibleDC(winDC);
oldBump=compatDC.SelectObject(&pDoc->cMouseBmp);
CPoint pn=compatDC.GetWindowOrg();
Cnode sy;
bool fnd=false;


CClientDC dc(this);
CDC memdc1;
CBitmap m_Bitmap1;
memdc1.CreateCompatibleDC(NULL);
m_Bitmap1.LoadBitmap(IDB_BITMAP1);
winDC->SelectObject(&m_Bitmap1);
memdc1.SelectObject(&m_Bitmap1);
if(!fnd)
{
// dc.BitBlt(0,0,20,20,&memdc1,0,0,SRCCOPY);
// compatDC.BitBlt(0,0,20,20,winDC,0,0,SRCCOPY);
}

fnd=true;
dc.BitBlt(10,10,20,20,&memdc1,0,0,SRCCOPY);
compatDC.BitBlt(30,60,20,20,winDC,0,0,SRCCOPY);
// compatDC.SetPixel(98,98,RGB(255,0,0));
CPen pen;
pen.CreatePen(PS_SOLID, 1,RGB(255,0,0));
winDC->SelectObject(&pen);
winDC->MoveTo(90,90);
winDC->LineTo(95,95);
// sy.MoveNext();
//}
// }

// sy.Close();
//ReleaseDC(winDC);
// compatDC.SelectObject(oldBump);
//DeleteDC(compatDC);
// pDoc->UpdateAllViews(this,MAKEWORD(2,2),NULL);

CView::OnLButtonDblClk(nFlags, point);
}

GeneralRe: bitmap problem Pin
Derek Lakin3-Dec-02 0:39
Derek Lakin3-Dec-02 0:39 
GeneralRe: bitmap problem Pin
Richard Melton3-Dec-02 7:38
Richard Melton3-Dec-02 7:38 
GeneralPeople, where are your priorities?!? Pin
Christopher Duncan2-Dec-02 7:39
Christopher Duncan2-Dec-02 7:39 
GeneralRe: People, where are your priorities?!? Pin
Gary Wheeler2-Dec-02 9:23
Gary Wheeler2-Dec-02 9:23 
GeneralRe: People, where are your priorities?!? Pin
Navin2-Dec-02 9:52
Navin2-Dec-02 9:52 
GeneralRe: People, where are your priorities?!? Pin
Alvaro Mendez2-Dec-02 11:05
Alvaro Mendez2-Dec-02 11:05 
GeneralRe: People, where are your priorities?!? Pin
Jason Coon5-Dec-02 14:28
Jason Coon5-Dec-02 14:28 
GeneralMANAGER ALERT! Pin
Gary Wheeler2-Dec-02 6:49
Gary Wheeler2-Dec-02 6:49 
GeneralRe: MANAGER ALERT! Pin
Christopher Duncan2-Dec-02 7:41
Christopher Duncan2-Dec-02 7:41 
GeneralRe: MANAGER ALERT! Pin
#realJSOP2-Dec-02 9:23
professional#realJSOP2-Dec-02 9:23 
GeneralRe: MANAGER ALERT! Pin
Paul Watson3-Dec-02 4:59
sitebuilderPaul Watson3-Dec-02 4:59 
GeneralRe: MANAGER ALERT! Pin
Navin3-Dec-02 7:08
Navin3-Dec-02 7:08 
GeneralRe: MANAGER ALERT! Pin
#realJSOP4-Dec-02 11:51
professional#realJSOP4-Dec-02 11:51 
GeneralRe: MANAGER ALERT! Pin
Brian Delahunty4-Dec-02 2:41
Brian Delahunty4-Dec-02 2:41 
GeneralRe: MANAGER ALERT! Pin
Christian Graus5-Dec-02 11:13
protectorChristian Graus5-Dec-02 11:13 
GeneralBut what about... Pin
#realJSOP2-Dec-02 3:59
professional#realJSOP2-Dec-02 3:59 
GeneralRe: But what about... Pin
Roger Wright2-Dec-02 5:30
professionalRoger Wright2-Dec-02 5:30 

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.