15,891,372 members
Sign in
Sign in
Email
Password
Forgot your password?
Sign in with
home
articles
Browse Topics
>
Latest Articles
Top Articles
Posting/Update Guidelines
Article Help Forum
Submit an article or tip
Import GitHub Project
Import your Blog
quick answers
Q&A
Ask a Question
View Unanswered Questions
View All Questions
View C# questions
View C++ questions
View Javascript questions
View Visual Basic questions
View Python questions
discussions
forums
CodeProject.AI Server
All Message Boards...
Application Lifecycle
>
Running a Business
Sales / Marketing
Collaboration / Beta Testing
Work Issues
Design and Architecture
Artificial Intelligence
ASP.NET
JavaScript
Internet of Things
C / C++ / MFC
>
ATL / WTL / STL
Managed C++/CLI
C#
Free Tools
Objective-C and Swift
Database
Hardware & Devices
>
System Admin
Hosting and Servers
Java
Linux Programming
Python
.NET (Core and Framework)
Android
iOS
Mobile
WPF
Visual Basic
Web Development
Site Bugs / Suggestions
Spam and Abuse Watch
features
features
Competitions
News
The Insider Newsletter
The Daily Build Newsletter
Newsletter archive
Surveys
CodeProject Stuff
community
lounge
Who's Who
Most Valuable Professionals
The Lounge
The CodeProject Blog
Where I Am: Member Photos
The Insider News
The Weird & The Wonderful
help
?
What is 'CodeProject'?
General FAQ
Ask a Question
Bugs and Suggestions
Article Help Forum
About Us
Search within:
Articles
Quick Answers
Messages
Comments by mla154 (Top 12 by date)
mla154
17-May-22 11:05am
View
Thank you!
mla154
7-Mar-14 7:55am
View
Can you explain this further? How do I use 'e' to get the error?
mla154
16-Apr-13 12:59pm
View
Is this a homework assignment?
mla154
15-Nov-12 11:53am
View
This is not a question!
mla154
6-Jun-12 16:37pm
View
Try this:
http://www.codeproject.com/Tips/77955/GDI-Replacement-for-StretchBlt-With-Anti-Aliasing
mla154
6-Jun-12 16:35pm
View
I found an answer here. Everything seems to work well with Windows 7.
http://www.codeproject.com/Tips/77955/GDI-Replacement-for-StretchBlt-With-Anti-Aliasing
mla154
4-Apr-12 11:00am
View
As far as I'm concerned, it's solved. Since you believe left and mouse button behavior shouldn't differ, I would suggest that you contact Microsoft about it.
mla154
7-Dec-10 9:38am
View
It's hard to say whether the message box comes from within the DLL. I placed this message box code as the first line of the C# function, and the message box was never displayed:
MessageBox.Show("here");
mla154
7-Dec-10 9:29am
View
It may be complaining about the NULL-value, but I have tried other things as well, such as:
//C++ code
SAFEARRAYBOUND sab[1];
SAFEARRAY *sArr1;
sab[0].cElements = 0;
sab[0].lLbound = 0;
sArr1 = SafeArrayCreate(VT_BSTR, 1, (SAFEARRAYBOUND*)&sab);
iface.Test(&sArr1);
mla154
6-Dec-10 17:29pm
View
The argument is of type SAFEARRAY**.
mla154
20-Oct-10 13:26pm
View
I am passing "winspool" (all lowercase) to the first parameter.
mla154
20-Oct-10 9:42am
View
I'm getting the device context using CreateDC and I'm using CPrintDialog. Here is some code I use:
CDC dc;
CPrintDialog pd(false, 0 | 1048576 | 4);
DOCINFO di;
int nSize = sizeof(DOCINFO);
::ZeroMemory(&di, nSize);
di.cbSize = nSize;
di.lpszDocName = _T("");
pd.m_pd.Flags &= ~PD_SHOWHELP;
if (pd.DoModal() == IDCANCEL)
return;
DEVMODE *dm = pd.GetDevMode();
dc.CreateDC(pd.GetDriverName(), pd.GetDeviceName(), pd.GetPortName(), dm);
dc.StartDoc(&di);
:
:
dc.StretchBlt(...); //StrectchBlt has 10 parameters
:
:
dc.EndDoc();
Yes, it does work on XP and Vista. I'm wondering if this problem has something to do with Windows 7 being a 64 bit operating system.
Show More