473,505 Members | 16,332 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

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?
Jul 22 '05 #1
8 5698
"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
Jul 22 '05 #2
On Wed, 19 Nov 2003 16:13:43 GMT
"Victor Bazarov" <v.********@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
Jul 22 '05 #3
Socketd wrote:
On Wed, 19 Nov 2003 16:13:43 GMT
"Victor Bazarov" <v.********@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

Jul 22 '05 #4
On Thu, 20 Nov 2003 14:40:26 GMT
Thomas Matthews <Th**********************@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
Jul 22 '05 #5
"Socketd" <db@traceroute.dk.NO_I_DONT_LIKE_SPAM> wrote...
On Thu, 20 Nov 2003 14:40:26 GMT
Thomas Matthews <Th**********************@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?
Jul 22 '05 #6
On Thu, 20 Nov 2003 15:24:04 GMT
"Victor Bazarov" <v.********@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
Jul 22 '05 #7
"Socketd" <db@traceroute.dk.NO_I_DONT_LIKE_SPAM> wrote...
On Thu, 20 Nov 2003 15:24:04 GMT
"Victor Bazarov" <v.********@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
Jul 22 '05 #8
On Thu, 20 Nov 2003 16:57:22 GMT
"Victor Bazarov" <v.********@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
Jul 22 '05 #9

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

2
9699
by: PK | last post by:
Hello, I am looking for help on the following. I'm trying to create a custom browser toolbar button that will do a few things. One that I'm trying to do at the moment is just simply return the...
0
1727
by: Robert | last post by:
I get these errors when creating a asp .net web application project in VS 2003 on a remote web server: "Microsoft Development Environment The Web was created successfully, but an error occurred...
4
561
by: Altramagnus | last post by:
I have 30 - 40 type of different window. For each type I need about 20 instances of the window. When I try to create them, I get "Error creating window handle" My guess is there is a maximum...
0
600
by: Matt Warner | last post by:
Hi guys, A couple of people have already posted questions about similar issues but haven't had any response. Occasionally, sometimes after running the app for a few hours, it bombs out saying...
6
3227
by: DraguVaso | last post by:
Hi, In my application, on some given actions while debugging in Visual Studio, I suddenly get a "System.ComponentModel.Win32Exception was unhandled" Message="Error creating window handle."...
2
2382
by: Roby Eisenbraun Martins | last post by:
Hi, My name is Roby Eisenbraun Martins, I am a C++, VB and NET developer. I am working with a NET 2002 project right now and I am receiving this uncommon "OutOfMemory" error message when I try...
2
1504
by: umilmi81 | last post by:
I am having a problem creating an ASP.NET application in Visual Studio.NET 2003, installed on Windows XP Professional I get a message stating that I do not have ASP.NET 1.1 installed, so I can not...
12
3139
by: Mats Lycken | last post by:
Hi, I'm creating a CMS that I would like to be plug-in based with different plugins handling different kinds of content. What I really want is to be able to load/unload plugins on the fly without...
1
8582
by: Flack | last post by:
Hey guys, Here is whats happening. I have a StringBuilder, a TextBox, and a TabControl with one TabPage. On my main form, I created and displayed a fairly big maze. While the app is solving...
0
1811
by: =?Utf-8?B?TWFyaw==?= | last post by:
Users of an in-house application we have written randomly get an Error creating window handle exception, and we've not been able to determine why this happens. A typical callstack is as follows: ...
0
7218
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
7307
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
1
7021
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
7478
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
1
5035
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new...
0
3188
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The...
0
3177
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
0
1532
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated ...
0
409
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.