CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com
Results 1 to 15 of 15
  1. #1
    Join Date
    Apr 2010
    Location
    Udeliketano
    Posts
    44

    Drawing Text In Window VC++

    I found the solution, NVM the old topic. Although now I need more help. I am trying to make a custom icon for my application but I need a resource file? How do I get/make that? I need a resource file to put in the destination of my .bmp and I can't add a .rc file in the resource files filter, please help me!
    Last edited by serpentinez; April 28th, 2010 at 04:58 PM.

  2. #2
    Join Date
    Feb 2005
    Posts
    2,160

    Re: Drawing Text In Window VC++

    What version of VC++?

  3. #3
    Join Date
    Apr 2010
    Location
    Udeliketano
    Posts
    44

    Re: Drawing Text In Window VC++

    have VC++ 2008.

  4. #4
    Join Date
    Feb 2005
    Posts
    2,160

    Re: Drawing Text In Window VC++

    (VS main menu)->Project->Add new item: "Resource" : "Resource File (.rc)"

  5. #5
    Join Date
    Apr 2010
    Location
    Udeliketano
    Posts
    44

    Re: Drawing Text In Window VC++

    I don't see that there, I am not retarded, that is why I asked the question. I have the Express Edition, if that makes a difference?

  6. #6
    Join Date
    Aug 2000
    Location
    New York, NY, USA
    Posts
    5,656

    Re: Drawing Text In Window VC++

    Quote Originally Posted by serpentinez View Post
    I don't see that there, I am not retarded, that is why I asked the question. I have the Express Edition, if that makes a difference?
    It does. I understand that Express editions do not have resource editor. However, they must include resource compiler (or else how can you build windows app?). I wonder if you can simply drag rc file over?
    Just to make sure, does this look anything like your “Add - New Item” UI?
    Attached Images Attached Images  
    Vlad - MS MVP [2007 - 2012] - www.FeinSoftware.com
    Convenience and productivity tools for Microsoft Visual Studio:
    FeinWindows - replacement windows manager for Visual Studio, and more...

  7. #7
    Join Date
    Apr 2010
    Location
    Udeliketano
    Posts
    44

    Re: Drawing Text In Window VC++

    No I only have UI, Code, and Property Sheets I think. What version are you using?

  8. #8
    Join Date
    Aug 2000
    Location
    New York, NY, USA
    Posts
    5,656

    Re: Drawing Text In Window VC++

    Quote Originally Posted by serpentinez View Post
    No I only have UI, Code, and Property Sheets I think. What version are you using?
    That dialog screenshot was from VS2005, and it is identical to VS2008 dialog. I do not have an Express edition installed, but it sounds very strange that you can’t add resource file to your project.
    Did you try dragging a resource file over your project? Can you drop it there?
    Vlad - MS MVP [2007 - 2012] - www.FeinSoftware.com
    Convenience and productivity tools for Microsoft Visual Studio:
    FeinWindows - replacement windows manager for Visual Studio, and more...

  9. #9
    Join Date
    Apr 2010
    Location
    Udeliketano
    Posts
    44

    Re: Drawing Text In Window VC++

    I don't know I don't have a .rc file to try that os why I HAVE tried to search for an .rc editor/creator. Also is VS2008 better than VC++ and isn't there a VS2010?

  10. #10
    Join Date
    Jan 2009
    Posts
    35

    Re: Drawing Text In Window VC++

    The Express version does not include a resource compiler, so you can't build programs with the .rc (you have to exclude those from the build.)

  11. #11
    Join Date
    Aug 2000
    Location
    New York, NY, USA
    Posts
    5,656

    Re: Drawing Text In Window VC++

    Quote Originally Posted by calc0000 View Post
    The Express version does not include a resource compiler, so you can't build programs with the .rc (you have to exclude those from the build.)
    Are you sure?
    I don't have Express installed, but from everything I read it looks like ONLY the resource editor is excluded.
    Could anybody please confirm?
    Vlad - MS MVP [2007 - 2012] - www.FeinSoftware.com
    Convenience and productivity tools for Microsoft Visual Studio:
    FeinWindows - replacement windows manager for Visual Studio, and more...

  12. #12
    Join Date
    Jan 2009
    Posts
    35

    Re: Drawing Text In Window VC++

    Well, I've tried building a solution that included a Resource file, and Express complained and would not let me build until I excluded it from the build.

  13. #13
    Join Date
    Apr 2010
    Location
    Udeliketano
    Posts
    44

    Re: Drawing Text In Window VC++

    So should I get VS?

  14. #14
    Join Date
    Jan 2009
    Posts
    35

    Re: Drawing Text In Window VC++

    Quote Originally Posted by serpentinez View Post
    So should I get VS?
    Yup.

  15. #15
    Join Date
    Apr 2010
    Location
    Udeliketano
    Posts
    44

    Re: Drawing Text In Window VC++

    I got it how do I make an icon and everything?

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