|
All points seem pretty important to me.
--
This space for rent.
|
|
|
|
|
A lame web-voting app that is easily spoofed by rapidly clicking on the [Vote] button.
oh yeah... and a good blow job
|
|
|
|
|
Hmm, someone got out of elementary school early today.
|
|
|
|
|
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:
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);
}
|
|
|
|
|
|
I'd rather know why you thought this was the right place to post this...
|
|
|
|
|
I'm shocked and dismayed to see the omission of some of the staples of our industry!
1. Pizza // delivered in 30 minutes or less, of course
2. Jolt Cola // yes, it's awful, but it is a standard
3. Industrial strength espresso machine // coffee is for weenies
And while we're at it, one editorial note:
4. The complete absence of floosies. I mean, you do want me to get some coding done, right?
Chistopher Duncan
Author - The Career Programmer: Guerilla Tactics for an Imperfect World (Apress)
|
|
|
|
|
Omigawd, did we forget Twinkies?
Software Zen: delete this;
|
|
|
|
|
Nah, give me zingers. Especially those chocolate ones with the white frosting... :drool:
Even a broken clock is right twice a day.
|
|
|
|
|
STOP! I'm trying to get thru a bag of celery here!
Regards,
Alvaro
Well done is better than well said. -- Benjamin Franklin
(I actually prefer medium-well.)
|
|
|
|
|
I agree...who cares if you have a big monitor or pretty window seat...but when it comes to the subs and being able to listen to whatever you want at work...that's the life.
Yeah...and pizza rocks too.
|
|
|
|
|
Text responses: "having employees who do what they are told, when and how they are told!"
Alright, who let the manager in here?
Software Zen: delete this;
|
|
|
|
|
|
Trying to tell a programmer *how* to do something is like trying to herd cats. You'd have a better chance at convincing a female employee that licking her nipples really is part of the company's standard drug testing procedure.
------- signature starts
"...the staggering layers of obscenity in your statement make it a work of art on so many levels." - Jason Jystad, 10/26/2001
Please review the Legal Disclaimer in my bio.
------- signature ends
|
|
|
|
|
John Simmons / outlaw programmer wrote:
You'd have a better chance at convincing a female employee that licking her nipples really is part of the company's standard drug testing procedure.
Oh how I wish I could put that in my sig without offending people in the lounge. Need a "for sensitive members" sig area.
Paul Watson Bluegrass Cape Town, South Africa Christopher Duncan wrote:
Which explains why when Santa asked, "And what do you want for Christmas, little boy?" I said, "A life." (Accesories sold separately)
|
|
|
|
|
There *has* to be some way of writing some dynamic HTML to check and see what forum you are in, and based on that, put in an appropriate signature.
Even a broken clock is right twice a day.
|
|
|
|
|
Paul, you're a programmer, not a politician. It's not your job to worry about whether or not you're offending people. That's the job of people you are offending. At the point at which they notify you of their revulsion, you politely tell them to lick your back-door breakmaker.
------- signature starts
"...the staggering layers of obscenity in your statement make it a work of art on so many levels." - Jason Jystad, 10/26/2001
Please review the Legal Disclaimer in my bio.
------- signature ends
|
|
|
|
|
John Simmons / outlaw programmer wrote:
Trying to tell a programmer *how* to do something is like trying to herd cats. You'd have a better chance at convincing a female employee that licking her nipples really is part of the company's standard drug testing procedure.
ROTFLMAO
Regards,
Brian Dela
|
|
|
|
|
John Simmons / outlaw programmer wrote:
You'd have a better chance at convincing a female employee that licking her nipples really is part of the company's standard drug testing procedure.
And how did that work out for you, John ? :P
Christian
No offense, but I don't really want to encourage the creation of another VB developer. - Larry Antram 22 Oct 2002
C# will attract all comers, where VB is for IT Journalists and managers - Michael P Butler 05-12-2002
Again, you can screw up a C/C++ program just as easily as a VB program. OK, maybe not as easily, but it's certainly doable. - Jamie Nordmeyer - 15-Nov-2002
|
|
|
|
|
... large-breasted hard-bodied secretaries that just drop by to chat (and provide the occasional underwear modelling session).
Manager: "How long will that project take you, John?"
John: "Probably the better part of a week."
Manager: "Tell you what - if you finish it before Friday, I'll send Miss Goodbody in here to chat and maybe model some underwear."
... fifteen minutes later...
John: "It's coded and tested, and added to version control."
Manager speaks into intercom: "Miss Goodbody, what are you wearing today?"
------- signature starts
"...the staggering layers of obscenity in your statement make it a work of art on so many levels." - Jason Jystad, 10/26/2001
Please review the Legal Disclaimer in my bio.
------- signature ends
|
|
|
|
|
Is your company hiring, John? You sound like a master of motivation!
"My child was Inmate of the Month at Mohave County Jail" - Bumper Sticker in Bullhead City, AZ
|
|
|
|
|
Master<something>, anyway...
Software Zen: delete this;
|
|
|
|
|
What you and I call "motivation" is commonly referred to as "sexual harrassment" by the rest of corporate America. They have no sense of humor anymore.
Every company should be required to have and fill a "floosie" position, to be filled by a young large-breasted hard-body that actually likes to dress provacatively at work and show off her, umm, assets at the drop of a hat...
------- signature starts
"...the staggering layers of obscenity in your statement make it a work of art on so many levels." - Jason Jystad, 10/26/2001
Please review the Legal Disclaimer in my bio.
------- signature ends
|
|
|
|
|
So true!
Long before the PC era I had the luxury of hiring one... Stuck on a doomed project in a doomed company (it has since expired), it was impossible to get around the retired-in-place lifers managers who had to sign off and object to everything. One beautiful lady brilliantly schmoozed her way into the hearts of these miserable empire builders and made the paper flow! And armed with a fat checkbook and a '78 Pinto, she cruised the hundreds of electronics dealers in Orange county, CA, buying MIL-SPEC parts by the ones and twos, filling the production parts kits 18 months sooner than Purchasing could!
Wherever you are, Theresa, bless you! You saved my project...
"My child was Inmate of the Month at Mohave County Jail" - Bumper Sticker in Bullhead City, AZ
|
|
|
|
|
Don't tell me you want the secretary position.
|
|
|
|
|