CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com
Results 1 to 5 of 5

Threaded View

  1. #1
    Join Date
    Dec 2007
    Posts
    76

    [RESOLVED] Invisible Menu?

    Alright, so I was going through this tutorial, and converting the code from C to c++, not that hard, but what I came across was that once I added (HFONT) to
    Code:
    hfDefault = (HFONT)GetStockObject(DEFAULT_GUI_FONT);
    and (LPSTR) to
    Code:
    pszFileText = (LPSTR)GlobalAlloc(GPTR, dwFileSize + 1);
    the menubar just dissappeared, any ideas why?
    Last edited by HKothari; January 26th, 2008 at 03:56 PM.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  





Click Here to Expand Forum to Full Width

Featured