April 11th, 2004, 12:34 AM
I haven't figured this one out, so I need your help.
In ALL of my VC/MFC apps, the Print Dialog in the release version is different than the Print Dialog in the debug version.
The debug version...
April 10th, 2004, 12:24 AM
Wow, Lexis' dialog is ugly!
I resolved my CStatic contol background as noted previouslym but I never had a problem with any of the other controls. Group boxes and check boxes work perfectly...
January 7th, 2004, 11:09 AM
Whew!!
Got it working fine now. The solution turned out to be so simple that I am embarassed I didn't get it on my own. Soon I'll be giving up my crayons for colored pencils though!:blush:
A...
January 6th, 2004, 05:40 PM
What is the IIRC after hollow brush?
I tried the following (based on your suggestion):
HBRUSH CMyDlg::OnCtlColor(CDC* pDC, CWnd* pWnd, UINT nCtlColor)
{
HBRUSH hbr =...
January 6th, 2004, 12:19 AM
All of my CStatic controls that sit on a CTabCtrl have a different background color than the CTabCtrl.
What is going on and how do I fix it?
December 25th, 2003, 10:52 PM
Help !!!
When running on WinXp (with a manifest so XP styles are applied) any CStatic controls sitting on my CTabCtrl in my dialog have a different background than the CTabCtrl. Looks ugly !!
...
November 22nd, 2001, 05:00 PM
vCards are actually a very simply formatted text file. Export a contact from Outlook Express to a vCard, and then open it with a text editor ( such as Notepad). You will see its format.
Do you...
November 11th, 2001, 02:57 AM
MAPISendMail is NOT exported. You need to load MAPI.DLL and get the proc address:
HMODULE hLib=::LoadLibrary("MAPI32.DLL");
if (hLib == NULL)
{
AfxMessageBox(AFX_IDP_FAILED_MAPI_LOAD);...
November 9th, 2001, 07:33 PM
Outlook Express does not allow you to add an attachment via ShellExecute().
Try using MAPI. It is simple and works very well.
Here is an example that fires off an email with attachment. Note...
November 9th, 2001, 04:07 PM
The following example shows a link that will prepare an e-mail message with multiple lines of text in the body.
<A HREF="mailto:mtscf@microsoft.com?
subject=Feedback&
...
September 15th, 2001, 11:30 PM
You wrote
I want to print multiple copies by changing the value of dmCopies in m_pd of CPrintDialog class.
It works fine for most of the printers, but when I tried it on Canon BJ-200e it always...
September 15th, 2001, 11:17 PM
I want to print as many copies of page 1 of my document as the user specifies. I then want to print ONE copy of page 2.
So I do the following:
void CMyView::OnPrepareDC(CDC* pDC, CPrintInfo*...
March 24th, 2001, 11:11 PM
A CStatic control can display an enhanced metafile.
Loading an enhanced metafile from resources can be done in only a few steps. (Notice there is no error checking here.)
I do the following in...