creating windows

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • PHP2

    creating windows

    I am pretty new at this so forgive me if this is a stupid question, but is
    there a simple way to create a window with C++... Maybe a library or
    something with simple window commands?


  • Victor Bazarov

    #2
    Re: creating windows

    "PHP2" <gp@nospm.hr> wrote...[color=blue]
    > I am pretty new at this so forgive me if this is a stupid question, but is
    > there a simple way to create a window with C++... Maybe a library or
    > something with simple window commands?[/color]

    Yes, a library would be just the thing. However, to figure out
    which library to use, ask the same question in a newsgroup for
    your OPERATING SYSTEM because all those "window" things are not
    part of C++ _language_.

    Look up the appropriate newsgroup among those with the name
    'comp.os.*'

    Victor


    Comment

    • Socketd

      #3
      Re: creating windows

      On Wed, 19 Nov 2003 16:13:43 GMT
      "Victor Bazarov" <v.Abazarov@com Acast.net> wrote:
      [color=blue]
      > "PHP2" <gp@nospm.hr> wrote...[color=green]
      > > I am pretty new at this so forgive me if this is a stupid question,
      > > but is there a simple way to create a window with C++... Maybe a
      > > library or something with simple window commands?[/color]
      >
      > Yes, a library would be just the thing. However, to figure out
      > which library to use, ask the same question in a newsgroup for
      > your OPERATING SYSTEM because all those "window" things are not
      > part of C++ _language_.
      >
      > Look up the appropriate newsgroup among those with the name
      > 'comp.os.*'[/color]

      Why is it people in here always say "go to a newsgroup covering your OS,
      to find a library"? Please do direct to some cross platform library
      instead, like www.wxwindows.org

      br
      socketd

      Comment

      • Thomas Matthews

        #4
        Re: creating windows

        Socketd wrote:
        [color=blue]
        > On Wed, 19 Nov 2003 16:13:43 GMT
        > "Victor Bazarov" <v.Abazarov@com Acast.net> wrote:
        >
        >[color=green]
        >>"PHP2" <gp@nospm.hr> wrote...
        >>[color=darkred]
        >>>I am pretty new at this so forgive me if this is a stupid question,
        >>>but is there a simple way to create a window with C++... Maybe a
        >>>library or something with simple window commands?[/color]
        >>
        >>Yes, a library would be just the thing. However, to figure out
        >>which library to use, ask the same question in a newsgroup for
        >>your OPERATING SYSTEM because all those "window" things are not
        >>part of C++ _language_.
        >>
        >>Look up the appropriate newsgroup among those with the name
        >>'comp.os.*'[/color]
        >
        >
        > Why is it people in here always say "go to a newsgroup covering your OS,
        > to find a library"? Please do direct to some cross platform library
        > instead, like www.wxwindows.org
        >
        > br
        > socketd[/color]

        Because may embedded systems don't use WxWindows. There are other
        cross platform libraries.

        Also, what is wrong with use a platform specific library when you
        are creating a platform specific application.

        --
        Thomas Matthews

        C++ newsgroup welcome message:

        C++ Faq: http://www.parashift.com/c++-faq-lite
        C Faq: http://www.eskimo.com/~scs/c-faq/top.html
        alt.comp.lang.l earn.c-c++ faq:

        Other sites:
        http://www.josuttis.com -- C++ STL Library book

        Comment

        • Socketd

          #5
          Re: creating windows

          On Thu, 20 Nov 2003 14:40:26 GMT
          Thomas Matthews <Thomas_Matthew sHatesSpam@sbcg lobal.net> wrote:
          [color=blue]
          > Because may embedded systems don't use WxWindows. There are other
          > cross platform libraries.[/color]

          wxEmbedded, but we are not just talking about wxWindows.
          [color=blue]
          > Also, what is wrong with use a platform specific library when you
          > are creating a platform specific application.[/color]

          How do you know it is platform specific? Most posters just ask questions
          about libraries for GUI, network and database access. So why not
          recommend free and cross platform libraries?

          socketd

          Comment

          • Victor Bazarov

            #6
            Re: creating windows

            "Socketd" <db@traceroute. dk.NO_I_DONT_LI KE_SPAM> wrote...[color=blue]
            > On Thu, 20 Nov 2003 14:40:26 GMT
            > Thomas Matthews <Thomas_Matthew sHatesSpam@sbcg lobal.net> wrote:
            >[color=green]
            > > Because may embedded systems don't use WxWindows. There are other
            > > cross platform libraries.[/color]
            >
            > wxEmbedded, but we are not just talking about wxWindows.
            >[color=green]
            > > Also, what is wrong with use a platform specific library when you
            > > are creating a platform specific application.[/color]
            >
            > How do you know it is platform specific? Most posters just ask questions
            > about libraries for GUI, network and database access. So why not
            > recommend free and cross platform libraries?[/color]

            "Free" doesn't matter. "Cross-platform" only makes sense if
            the platform the inquirer wants is among those that library
            supports, and the OP didn't state what platform he wanted, did
            he? So, why recommend something that is not guaranteed to
            work for the OP? If he asks in a newsgroup for _his_ platform,
            he would very likely get the _correct_ answer, wouldn't he?


            Comment

            • Socketd

              #7
              Re: creating windows

              On Thu, 20 Nov 2003 15:24:04 GMT
              "Victor Bazarov" <v.Abazarov@com Acast.net> wrote:
              [color=blue]
              > "Free" doesn't matter. "Cross-platform" only makes sense if
              > the platform the inquirer wants is among those that library
              > supports, and the OP didn't state what platform he wanted, did
              > he? So, why recommend something that is not guaranteed to
              > work for the OP?[/color]

              People with specific needs know where to ask and how to ask. "PHP2" said
              "I am pretty new at this so forgive me if this is a stupid question",
              from that and from the fact he use Outlook, I'll guess he is trying to
              make a GUI for a program running on MS Windows on a 386. So he could use
              wxWindows, GTK, FLTK, Fox and so on.
              If you are not sure what he wants, maybe you should try asking him,
              instead of making him write unportable software.
              [color=blue]
              >If he asks in a newsgroup for _his_ platform,
              > he would very likely get the _correct_ answer, wouldn't he?[/color]

              My guess is that people subscribing to MS Windows groups use Win32 and
              not cross platform libraries.

              Now, let's stop wasting bytes as this is OT here.

              socketd

              Comment

              • Victor Bazarov

                #8
                Re: creating windows

                "Socketd" <db@traceroute. dk.NO_I_DONT_LI KE_SPAM> wrote...[color=blue]
                > On Thu, 20 Nov 2003 15:24:04 GMT
                > "Victor Bazarov" <v.Abazarov@com Acast.net> wrote:
                >[color=green]
                > > "Free" doesn't matter. "Cross-platform" only makes sense if
                > > the platform the inquirer wants is among those that library
                > > supports, and the OP didn't state what platform he wanted, did
                > > he? So, why recommend something that is not guaranteed to
                > > work for the OP?[/color]
                >
                > People with specific needs know where to ask and how to ask. "PHP2" said
                > "I am pretty new at this so forgive me if this is a stupid question",
                > from that and from the fact he use Outlook, I'll guess he is trying to[/color]

                I (and many others) simply have _no_time_ for guesses. We answer
                questions asked.
                [color=blue]
                > make a GUI for a program running on MS Windows on a 386. So he could use
                > wxWindows, GTK, FLTK, Fox and so on.[/color]

                Yes, he could. So what? While he is reading his news on a Win32
                machine, he may not be asking about creating a window on one. It
                could, for all we know be a Macintosh, a PalmOS, or any other. He
                simply never specified one.
                [color=blue]
                > If you are not sure what he wants, maybe you should try asking him,
                > instead of making him write unportable software.[/color]

                I answer questions in the matter I perceive best suited for both
                the newsgroup and the one who asks. If a poster clearly has NO
                language issue, why perpetuate a thread by asking him?
                [color=blue][color=green]
                > >If he asks in a newsgroup for _his_ platform,
                > > he would very likely get the _correct_ answer, wouldn't he?[/color]
                >
                > My guess is that people subscribing to MS Windows groups use Win32 and
                > not cross platform libraries.[/color]

                That's _your_ guess, not mine. Besides, why guess, when there is
                _the_ newsgroup where he or anybody else could get the _correct_
                answer? Also, the OP's need for a _cross_platform _ library was
                _your_ idea, not his. How to create a window in Win32 and what
                library to use for that -- that's a question _undoubtedly_ better
                asked in a Win32 newsgroup.
                [color=blue]
                > Now, let's stop wasting bytes as this is OT here.[/color]

                Discussion on what is and what isn't OT is _not_ OT. Discussions
                on _how_ to answer questions are indeed a waste of bytes, and I am
                glad you had courage to admit that.

                Next time, please try to limit yourself to _answering_ questions
                yourself, instead of trying to teach others how to answer questions.

                Thank you.

                Victor


                Comment

                • Socketd

                  #9
                  Re: creating windows

                  On Thu, 20 Nov 2003 16:57:22 GMT
                  "Victor Bazarov" <v.Abazarov@com Acast.net> wrote:
                  [color=blue]
                  > I (and many others) simply have _no_time_ for guesses. We answer
                  > questions asked.[/color]

                  You guessed that wxWindows/GTK/FLTK/Fox was not enough.
                  [color=blue][color=green]
                  > > make a GUI for a program running on MS Windows on a 386. So he could
                  > > use wxWindows, GTK, FLTK, Fox and so on.[/color]
                  >
                  > Yes, he could. So what? While he is reading his news on a Win32
                  > machine, he may not be asking about creating a window on one. It
                  > could, for all we know be a Macintosh, a PalmOS, or any other. He
                  > simply never specified one.[/color]

                  Correct, that's why cross platform libraries are so good. Anyway, if he
                  wanted a good and precise answer, he should have provided more info.
                  [color=blue][color=green]
                  > > If you are not sure what he wants, maybe you should try asking him,
                  > > instead of making him write unportable software.[/color]
                  >
                  > I answer questions in the matter I perceive best suited for both
                  > the newsgroup and the one who asks. If a poster clearly has NO
                  > language issue, why perpetuate a thread by asking him?[/color]

                  Maybe it would be best to answer the question once and for all, and then
                  post a link to that page.
                  [color=blue]
                  > Next time, please try to limit yourself to _answering_ questions
                  > yourself, instead of trying to teach others how to answer questions.[/color]

                  I'll do what I see fit.

                  socketd

                  Comment

                  Working...