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? 8 5710
"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
On Wed, 19 Nov 2003 16:13:43 GMT
"Victor Bazarov" <v.********@com Acast.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
Socketd wrote: On Wed, 19 Nov 2003 16:13:43 GMT "Victor Bazarov" <v.********@com Acast.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.l earn.c-c++ faq: http://www.raos.demon.uk/acllc-c++/faq.html
Other sites: http://www.josuttis.com -- C++ STL Library book
On Thu, 20 Nov 2003 14:40:26 GMT
Thomas Matthews <Th************ **********@sbcg lobal.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
"Socketd" <db@traceroute. dk.NO_I_DONT_LI KE_SPAM> wrote... On Thu, 20 Nov 2003 14:40:26 GMT Thomas Matthews <Th************ **********@sbcg lobal.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?
On Thu, 20 Nov 2003 15:24:04 GMT
"Victor Bazarov" <v.********@com Acast.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
"Socketd" <db@traceroute. dk.NO_I_DONT_LI KE_SPAM> wrote... On Thu, 20 Nov 2003 15:24:04 GMT "Victor Bazarov" <v.********@com Acast.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
On Thu, 20 Nov 2003 16:57:22 GMT
"Victor Bazarov" <v.********@com Acast.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 This thread has been closed and replies have been disabled. Please start a new discussion. Similar topics |
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 URL of whatever page the
user is visiting.
I wanted to create a Win32 application using VB.NET. If there is a
better way of doing this please let me know. I assume there needs to
be some sort of client side code. I was originally leaning...
|
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 when trying to configure the application root for this Web. Web projects may not operate correctly without an application root. The returned error was: Active Directory Services cannot find the web server. A possible cause for this is an...
|
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 number of window handle, because if I reduce
to about 2 instances of each window,
it can run. But not 20 instances of each window.
Does anyone know what the problem is? is it really because it exceeds the
maximum number of window handle?
|
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 that it could not create a windows handle.
On one machine the stacktrace is this:
|
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." exception.
The problem is that this exception isn't raised somewhere in a method, so it
just shows up, and it causes the application to shut down.
Is there anyway how to catch this kinds of exceptions? Can I put somewhere a
| |
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 to load a form object ( new
frmMain() ).
In debug mode, the "Load" form method is executed but it crashes when it
tries to set a DataTable from a DataSet in a local variable. Actually the
object value in debug mode is equal to nothing.
|
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 create web applications
I downloaded the update that is supposed to install ASP.NET 1.1, but I'm still getting the message
My research leads me to understand that VS.NET 2003 wont allow users to create web applications on anything "less" than...
|
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 restarting the application.
What I did was to create an AppDomain that loaded the plugins and
everything was great, until I tried to pass something else that strings
between the domains...
|
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 the maze, it appends each step it
takes to the StringBuilder.
When the maze is solved, the user can click a menu item to display the
results. When the menu item is clicked, I set the TextBox Text value using
the StringBuilder's ToString()...
|
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:
: System.ComponentModel.Win32Exception: Error creating window handle.
at System.Windows.Forms.Control.SetVisibleCore(Boolean value)
at System.Windows.Forms.Control.set_Visible(Boolean value)
at System.Windows.Forms.TabPage.set_Visible(Boolean...
|
by: Hystou |
last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it.
First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
| |
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, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed.
This is as boiled down as I can make it.
Here is my compilation command:
g++-12 -std=c++20 -Wnarrowing bit_field.cpp
Here is the code in...
|
by: jinu1996 |
last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth.
The Art of Business Website Design
Your website is...
|
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 Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
|
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 protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
|
by: agi2029 |
last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own....
Now, this would greatly impact the work of software developers. The idea...
|
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 presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules.
He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms.
Adolph will...
| |
by: conductexam |
last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one.
At the time of converting from word file to html my equations which are in the word document file was convert into image.
Globals.ThisAddIn.Application.ActiveDocument.Select();...
|
by: muto222 |
last post by:
How can i add a mobile payment intergratation into php mysql website.
| |