creating windows



 DEVELOP > c-Plus-Plus > creating windows

LINK TO THIS PAGE  


rating :  0   |  0


  Page 1 of 1

1

 
Topic: DEVELOP > c-Plus-Plus
User: "PHP2"
Date: 19 Nov 2003 10:03:05 AM
Object: 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?
.

User: "Victor Bazarov"

Title: Re: creating windows 19 Nov 2003 10:13:43 AM
"PHP2" <gp@nospm.hr> wrote...

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?

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
.
User: "Socketd"

Title: Re: creating windows 20 Nov 2003 03:38:36 AM
On Wed, 19 Nov 2003 16:13:43 GMT
"Victor Bazarov" <v.Abazarov@comAcast.net> wrote:

"PHP2" <gp@nospm.hr> wrote...

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?


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.*'

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
.
User: "Thomas Matthews"

Title: Re: creating windows 20 Nov 2003 08:40:26 AM
Socketd wrote:

On Wed, 19 Nov 2003 16:13:43 GMT
"Victor Bazarov" <v.Abazarov@comAcast.net> wrote:


"PHP2" <gp@nospm.hr> wrote...

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?


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.*'



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

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:
http://www.slack.net/~shiva/welcome.txt
C++ Faq: http://www.parashift.com/c++-faq-lite
C Faq: http://www.eskimo.com/~scs/c-faq/top.html
alt.comp.lang.learn.c-c++ faq:
http://www.raos.demon.uk/acllc-c++/faq.html
Other sites:
http://www.josuttis.com -- C++ STL Library book
.
User: "Socketd"

Title: Re: creating windows 20 Nov 2003 09:10:20 AM
On Thu, 20 Nov 2003 14:40:26 GMT
Thomas Matthews <Thomas_MatthewsHatesSpam@sbcglobal.net> wrote:

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

wxEmbedded, but we are not just talking about wxWindows.

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

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
.
User: "Victor Bazarov"

Title: Re: creating windows 20 Nov 2003 09:24:04 AM
"Socketd" <db@traceroute.dk.NO_I_DONT_LIKE_SPAM> wrote...

On Thu, 20 Nov 2003 14:40:26 GMT
Thomas Matthews <Thomas_MatthewsHatesSpam@sbcglobal.net> wrote:

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


wxEmbedded, but we are not just talking about wxWindows.

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


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?

"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?
.
User: "Socketd"

Title: Re: creating windows 20 Nov 2003 10:31:32 AM
On Thu, 20 Nov 2003 15:24:04 GMT
"Victor Bazarov" <v.Abazarov@comAcast.net> wrote:

"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?

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.

If he asks in a newsgroup for _his_ platform,
he would very likely get the _correct_ answer, wouldn't he?

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
.
User: "Victor Bazarov"

Title: Re: creating windows 20 Nov 2003 10:57:22 AM
"Socketd" <db@traceroute.dk.NO_I_DONT_LIKE_SPAM> wrote...

On Thu, 20 Nov 2003 15:24:04 GMT
"Victor Bazarov" <v.Abazarov@comAcast.net> wrote:

"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?


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

I (and many others) simply have _no_time_ for guesses. We answer
questions asked.

make a GUI for a program running on MS Windows on a 386. So he could use
wxWindows, GTK, FLTK, Fox and so on.

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.

If you are not sure what he wants, maybe you should try asking him,
instead of making him write unportable software.

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?

If he asks in a newsgroup for _his_ platform,
he would very likely get the _correct_ answer, wouldn't he?


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

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.

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

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
.
User: "Socketd"

Title: Re: creating windows 20 Nov 2003 12:33:17 PM
On Thu, 20 Nov 2003 16:57:22 GMT
"Victor Bazarov" <v.Abazarov@comAcast.net> wrote:

I (and many others) simply have _no_time_ for guesses. We answer
questions asked.

You guessed that wxWindows/GTK/FLTK/Fox was not enough.

make a GUI for a program running on MS Windows on a 386. So he could
use wxWindows, GTK, FLTK, Fox and so on.


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.

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.

If you are not sure what he wants, maybe you should try asking him,
instead of making him write unportable software.


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?

Maybe it would be best to answer the question once and for all, and then
post a link to that page.

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

I'll do what I see fit.
socketd
.









  Page 1 of 1

1

 


Related Articles
 

NEWER

pg.1232     pg.940     pg.716     pg.544     pg.412     pg.311     pg.234     pg.175     pg.130     pg.96     pg.70     pg.50     pg.35     pg.24     pg.16     pg.10     pg.6     pg.3     pg.1

OLDER