Menu like file, edit, help, etc...

This is a discussion on Menu like file, edit, help, etc... within the Windows Programming forums, part of the Platform Specific Boards category; I wasn't discouraging anything. I told him the right things to do. If someone is not ready for Windows programming, ...

  1. #16
    MFC killed my cat! manutd's Avatar
    Join Date
    Sep 2006
    Location
    Boston, Massachusetts
    Posts
    870
    I wasn't discouraging anything. I told him the right things to do. If someone is not ready for Windows programming, they'll learn more by doing console programming.
    Silence is better than unmeaning words.
    - Pythagoras
    My blog

  2. #17
    Registered User
    Join Date
    Jan 2007
    Posts
    188
    Actually, i got it right yesterday when Cboard were offline. Nice of you helping me anyway Tonto! I really aprichiate it. I changed #include "windows.h" to #include <windows.h>, but it didn't give me a error that the file doesn't exist, thats wierd. Well, thank you all for the help!

  3. #18
    Registered User
    Join Date
    Jan 2007
    Posts
    188
    Now i want to ad things to my meny...
    How should i define it? Is there som speciall defining or can i just choose a number.
    In the main.c, if the user clicks at livijnproductions under help i want it to open a webpage and them to http://livijnproductions.se

    The code:
    main.c
    Code:
    				case ID_HELP_LIVIJN:
    					
    				break;
    app.rc
    Code:
            POPUP "&Help"
        BEGIN
            MENUITEM "&Livijnproductions",          ID_HELP_LIVIJN
    resource.h
    Code:
    #define ID_HELP_LIVIJN                  40018
    I have tested the code, and it works. Just that it don't send me to my page. That's all i need to know now.

    EDIT:
    I've also got ID_HELP_README and if the user press it, i want it to open a file...
    Like C://Program/Jinky/readme.txt
    Last edited by Livijn; 01-20-2007 at 03:55 AM.

  4. #19
    Registered User
    Join Date
    Jan 2007
    Posts
    188
    I'm really sorry for beeing rude. I didn't mean to. I still need help, if you know any website you can give me a link to, please do that. Or just write your code.

    Thank You!

  5. #20
    MFC killed my cat! manutd's Avatar
    Join Date
    Sep 2006
    Location
    Boston, Massachusetts
    Posts
    870
    Silence is better than unmeaning words.
    - Pythagoras
    My blog

  6. #21
    Registered User
    Join Date
    Jan 2007
    Posts
    188
    No, i mean seriously...

  7. #22
    MFC killed my cat! manutd's Avatar
    Join Date
    Sep 2006
    Location
    Boston, Massachusetts
    Posts
    870
    I am being serious. Then look at this library.
    Silence is better than unmeaning words.
    - Pythagoras
    My blog

  8. #23
    Registered User
    Join Date
    Jan 2007
    Posts
    188
    and do what? i have downloaded the file... which lib?
    how should i use it, and what is it for?

    Thank You!

  9. #24
    MFC killed my cat! manutd's Avatar
    Join Date
    Sep 2006
    Location
    Boston, Massachusetts
    Posts
    870
    It's a HUGE library, complicated to link, etc. You can use wxDev-C++ to do the linking for you, after which you only need to look at some basic tutorials and this class.
    Silence is better than unmeaning words.
    - Pythagoras
    My blog

  10. #25
    Reverse Engineer maxorator's Avatar
    Join Date
    Aug 2005
    Location
    Estonia
    Posts
    2,318
    Quote Originally Posted by Livijn
    i hate when people say that. Help me instead, i know i can learn from programs. I did with PHP, and some people say that PHP is harder than C++...
    PHP is harder that C++? PHP is kind of the easiest (web)language in the world...
    Last edited by maxorator; 01-21-2007 at 08:01 AM.
    "The Internet treats censorship as damage and routes around it." - John Gilmore

  11. #26
    MFC killed my cat! manutd's Avatar
    Join Date
    Sep 2006
    Location
    Boston, Massachusetts
    Posts
    870
    Quote Originally Posted by Sentral
    PHP is not harder then C++.
    Note the bold. It's not harder.
    Silence is better than unmeaning words.
    - Pythagoras
    My blog

  12. #27
    Reverse Engineer maxorator's Avatar
    Join Date
    Aug 2005
    Location
    Estonia
    Posts
    2,318
    Clicked on the wrong "Quote" button.
    "The Internet treats censorship as damage and routes around it." - John Gilmore

  13. #28
    Registered User
    Join Date
    Jan 2007
    Posts
    188
    I don't understand, i want the file to open a new window. Must i use wx? I don't want to really, it's like cheating

    Isn't there any code like GotoURL("http://....", _Blank....);
    or something like that...

  14. #29
    MFC killed my cat! manutd's Avatar
    Join Date
    Sep 2006
    Location
    Boston, Massachusetts
    Posts
    870
    Not in the C++ language, nor in Win32. Both of these do not interact with the internet. WinSock is a lower level way to do the same thing.
    Silence is better than unmeaning words.
    - Pythagoras
    My blog

  15. #30
    Registered User
    Join Date
    Jan 2007
    Posts
    188
    But i just want to open a new window... Not get contents...
    And i use C, not C++ :P

Page 2 of 3 FirstFirst 123 LastLast
Popular pages Recent additions subscribe to a feed

Similar Threads

  1. Formatting a text file...
    By dagorsul in forum C Programming
    Replies: 12
    Last Post: 05-02-2008, 04:53 AM
  2. Need Help Fixing My C Program. Deals with File I/O
    By Matus in forum C Programming
    Replies: 7
    Last Post: 04-29-2008, 08:51 PM
  3. Formatting the contents of a text file
    By dagorsul in forum C++ Programming
    Replies: 2
    Last Post: 04-29-2008, 01:36 PM
  4. help with text input
    By Alphawaves in forum C Programming
    Replies: 8
    Last Post: 04-08-2007, 05:54 PM
  5. Constructive Feed Back (Java Program)
    By xddxogm3 in forum Tech Board
    Replies: 12
    Last Post: 10-10-2004, 04:41 AM

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21