CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com

Search:

Type: Posts; User: Geno Carman

Search: Search took 0.04 seconds.

  1. Replies
    0
    Views
    583

    CPrintDialog Debug vs Release

    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...
  2. Replies
    15
    Views
    10,163

    Wierd backgrounds

    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...
  3. Replies
    15
    Views
    10,163

    CTabCtrl and WinXP

    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...
  4. Replies
    15
    Views
    10,163

    What is the IIRC after hollow brush? I tried...

    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 =...
  5. Replies
    15
    Views
    10,163

    CTabCtrl and WinXP

    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?
  6. Replies
    0
    Views
    549

    WinXp and CTabCtrl

    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 !!
    ...
  7. Replies
    2
    Views
    736

    Re: Outlook vCard/vCalendar

    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...
  8. Replies
    1
    Views
    2,990

    Re: Mapi trouble

    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);...
  9. Replies
    8
    Views
    1,500

    Re: URGENT ..Mailing using ShellExecute

    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...
  10. Replies
    1
    Views
    1,468

    Re: how to use mailto protocol ?

    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&
    ...
  11. Replies
    1
    Views
    1,253

    Re: How to print multiple copies?

    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...
  12. Changing the number of copies per page on the fly

    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*...
  13. Replies
    0
    Views
    681

    CStatic and Enhanced Metafiles

    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...
Results 1 to 13 of 13





Click Here to Expand Forum to Full Width

Featured