Example of a common dialog?



 DEVELOP > c-Plus-Plus > Example of a common dialog?

LINK TO THIS PAGE  


rating :  0   |  0


  Page 1 of 1

1

 
Topic: DEVELOP > c-Plus-Plus
User: "Libby"
Date: 19 Nov 2003 09:19:58 AM
Object: Example of a common dialog?
I am evidently not very good at C++ so please excuse me if this is a
dumb question...
I would like to create a common dialog modeled after something like
the windows file dialog, that would be in a dll and could be called by
multiple other software products; currently Powerbuilder and C++ apps
would be the caller. My attempts to do this so far have failed. Could
anyone point me to, or give me a simple example of, a modal dialog
program that can be invoked directly by a caller? Or, possibly at
least explain the steps involved to me?
Thanks,
Libby
.

User: "Starr"

Title: Re: Example of a common dialog? 20 Nov 2003 05:18:51 PM
"Libby" <LibbyChantel@netscape.net> wrote in message
news:aef1c36b.0311190719.537861f0@posting.google.com...

I am evidently not very good at C++ so please excuse me if this is a
dumb question...
I would like to create a common dialog modeled after something like
the windows file dialog, that would be in a dll and could be called by
multiple other software products; currently Powerbuilder and C++ apps
would be the caller. My attempts to do this so far have failed. Could
anyone point me to, or give me a simple example of, a modal dialog
program that can be invoked directly by a caller? Or, possibly at
least explain the steps involved to me?

Thanks,
Libby

Libby. Get a decent windows compiler. Most will let you build dlls
Bloodshed dev c++ for one. :-)
.
User: "Derek Baker"

Title: Re: Example of a common dialog? 20 Nov 2003 08:22:07 PM
"Starr" <Starr@polaris.org> wrote in message
news:bpji4t$ps0$0@pita.alt.net...


"Libby" <LibbyChantel@netscape.net> wrote in message
news:aef1c36b.0311190719.537861f0@posting.google.com...

I am evidently not very good at C++ so please excuse me if this is a
dumb question...
I would like to create a common dialog modeled after something like
the windows file dialog, that would be in a dll and could be called by
multiple other software products; currently Powerbuilder and C++ apps
would be the caller. My attempts to do this so far have failed. Could
anyone point me to, or give me a simple example of, a modal dialog
program that can be invoked directly by a caller? Or, possibly at
least explain the steps involved to me?

Thanks,
Libby


Libby. Get a decent windows compiler. Most will let you build dlls
Bloodshed dev c++ for one. :-)


Yes, though Dev-C++ is actually the IDE. The compiler is the mingw version
of gcc.
--
Derek
.
User: "Starr"

Title: Re: Example of a common dialog? 21 Nov 2003 02:56:58 AM
"Derek Baker" <me@XYZderekbaker.eclipse.co.uk> wrote in message
news:1069381313.166925@ananke.eclipse.net.uk...

"Starr" <Starr@polaris.org> wrote in message
news:bpji4t$ps0$0@pita.alt.net...


"Libby" <LibbyChantel@netscape.net> wrote in message
news:aef1c36b.0311190719.537861f0@posting.google.com...

I am evidently not very good at C++ so please excuse me if this is a
dumb question...
I would like to create a common dialog modeled after something like
the windows file dialog, that would be in a dll and could be called by
multiple other software products; currently Powerbuilder and C++ apps
would be the caller. My attempts to do this so far have failed. Could
anyone point me to, or give me a simple example of, a modal dialog
program that can be invoked directly by a caller? Or, possibly at
least explain the steps involved to me?

Thanks,
Libby


Libby. Get a decent windows compiler. Most will let you build dlls
Bloodshed dev c++ for one. :-)



Yes, though Dev-C++ is actually the IDE. The compiler is the mingw version
of gcc.

its all one package and it's my preferred one.

--
Derek


.
User: "Derek Baker"

Title: Re: Example of a common dialog? 21 Nov 2003 03:44:03 AM
"Starr" <Starr@polaris.org> wrote in message
news:bpkk0s$3nl$0@pita.alt.net...


"Derek Baker" <me@XYZderekbaker.eclipse.co.uk> wrote in message
news:1069381313.166925@ananke.eclipse.net.uk...

"Starr" <Starr@polaris.org> wrote in message
news:bpji4t$ps0$0@pita.alt.net...

Yes, though Dev-C++ is actually the IDE. The compiler is the mingw

version

of gcc.

its all one package and it's my preferred one.

Yes, and it's mine too. Though the compiler's rather better for console apps
then GUI ones.
--
Derek
.
User: "Starr"

Title: Re: Example of a common dialog? 22 Nov 2003 06:23:26 AM
"Derek Baker" <me@XYZderekbaker.eclipse.co.uk> wrote in message
news:1069407818.667229@ananke.eclipse.net.uk...

"Starr" <Starr@polaris.org> wrote in message
news:bpkk0s$3nl$0@pita.alt.net...


"Derek Baker" <me@XYZderekbaker.eclipse.co.uk> wrote in message
news:1069381313.166925@ananke.eclipse.net.uk...

"Starr" <Starr@polaris.org> wrote in message
news:bpji4t$ps0$0@pita.alt.net...

Yes, though Dev-C++ is actually the IDE. The compiler is the mingw

version

of gcc.

its all one package and it's my preferred one.


Yes, and it's mine too. Though the compiler's rather better for console

apps

then GUI ones.


really? I write mostly gui stuff and it does well for me :-) not bad for a
freebie huh?

--
Derek


.
User: "Derek Baker"

Title: Re: Example of a common dialog? 22 Nov 2003 07:57:03 AM
"Starr" <Starr@polaris.org> wrote in message
news:bpnkg0$ppv$0@pita.alt.net...


"Derek Baker" <me@XYZderekbaker.eclipse.co.uk> wrote in message
news:1069407818.667229@ananke.eclipse.net.uk...

"Starr" <Starr@polaris.org> wrote in message
news:bpkk0s$3nl$0@pita.alt.net...


"Derek Baker" <me@XYZderekbaker.eclipse.co.uk> wrote in message
news:1069381313.166925@ananke.eclipse.net.uk...

"Starr" <Starr@polaris.org> wrote in message
news:bpji4t$ps0$0@pita.alt.net...

Yes, though Dev-C++ is actually the IDE. The compiler is the mingw

version

of gcc.

its all one package and it's my preferred one.


Yes, and it's mine too. Though the compiler's rather better for console

apps

then GUI ones.


really? I write mostly gui stuff and it does well for me :-) not bad for a
freebie huh?

--
Derek




In my current program, if I run it in the debugger and open a file the app
crashes. It runs perfectly from within Dev, or from Explorer.
Apart from that though, it's an excellent package. And the price is nice!
--
Derek
.
User: "Starr"

Title: Re: Example of a common dialog? 23 Nov 2003 04:23:58 AM
"Derek Baker" <me@XYZderekbaker.eclipse.co.uk> wrote in message
news:1069509395.922866@ananke.eclipse.net.uk...

"Starr" <Starr@polaris.org> wrote in message
news:bpnkg0$ppv$0@pita.alt.net...


"Derek Baker" <me@XYZderekbaker.eclipse.co.uk> wrote in message
news:1069407818.667229@ananke.eclipse.net.uk...

"Starr" <Starr@polaris.org> wrote in message
news:bpkk0s$3nl$0@pita.alt.net...


"Derek Baker" <me@XYZderekbaker.eclipse.co.uk> wrote in message
news:1069381313.166925@ananke.eclipse.net.uk...

"Starr" <Starr@polaris.org> wrote in message
news:bpji4t$ps0$0@pita.alt.net...

Yes, though Dev-C++ is actually the IDE. The compiler is the mingw

version

of gcc.

its all one package and it's my preferred one.


Yes, and it's mine too. Though the compiler's rather better for

console

apps

then GUI ones.


really? I write mostly gui stuff and it does well for me :-) not bad for

a

freebie huh?

--
Derek





In my current program, if I run it in the debugger and open a file the app
crashes. It runs perfectly from within Dev, or from Explorer.

Apart from that though, it's an excellent package. And the price is nice!

eesh. Have you done an update? the debugger could be faulty. ere let me look
at it <pulls out clumsy looking mallet> I see the problem <clank clank> yes
your chassis is bent <clank clank> whoops well it is now :-D


--
Derek


.
User: "Derek Baker"

Title: Re: Example of a common dialog? 23 Nov 2003 07:26:40 AM
--
Derek
"Starr" <Starr@polaris.org> wrote in message
news:bpq1s0$gbj$0@pita.alt.net...


"Derek Baker" <me@XYZderekbaker.eclipse.co.uk> wrote in message
news:1069509395.922866@ananke.eclipse.net.uk...

In my current program, if I run it in the debugger and open a file

the app

crashes. It runs perfectly from within Dev, or from Explorer.

Apart from that though, it's an excellent package. And the price is

nice!


eesh. Have you done an update? the debugger could be faulty. ere let me

look

at it <pulls out clumsy looking mallet> I see the problem <clank clank>

yes

your chassis is bent <clank clank> whoops well it is now :-D

Just a few minutes ago upgraded to gdb 6.0 - both problems still there :(
Derek
.
User: "Starr"

Title: Re: Example of a common dialog? 23 Nov 2003 10:38:11 AM
"Derek Baker" <me@XYZderekbaker.eclipse.co.uk> wrote in message
news:1069593971.596043@ananke.eclipse.net.uk...



--
Derek
"Starr" <Starr@polaris.org> wrote in message
news:bpq1s0$gbj$0@pita.alt.net...


"Derek Baker" <me@XYZderekbaker.eclipse.co.uk> wrote in message
news:1069509395.922866@ananke.eclipse.net.uk...

In my current program, if I run it in the debugger and open a file

the app

crashes. It runs perfectly from within Dev, or from Explorer.

Apart from that though, it's an excellent package. And the price is

nice!


eesh. Have you done an update? the debugger could be faulty. ere let me

look

at it <pulls out clumsy looking mallet> I see the problem <clank clank>

yes

your chassis is bent <clank clank> whoops well it is now :-D


Just a few minutes ago upgraded to gdb 6.0 - both problems still there :(


<lneds yoou mallet>

Derek


.









User: "Thomas Matthews"

Title: Re: Example of a common dialog? 19 Nov 2003 09:47:17 AM
Libby wrote:

I am evidently not very good at C++ so please excuse me if this is a
dumb question...
I would like to create a common dialog modeled after something like
the windows file dialog, that would be in a dll and could be called by
multiple other software products; currently Powerbuilder and C++ apps
would be the caller. My attempts to do this so far have failed. Could
anyone point me to, or give me a simple example of, a modal dialog
program that can be invoked directly by a caller? Or, possibly at
least explain the steps involved to me?

Thanks,
Libby

Since you are not very good at C++, I will be gentle with you.
The C++ has an area of functionality described by the C++ standard.
Extra functionality can be added to a program by using platform
or compiler specific libraries. Dialog windows are in this area.
They are not part of the _standard_ C++ library and are not
discussed in this newsgroup. You will need to ask the experts
in a more appropriate newsgroup. The C++ FAQ and Welcome.txt
listed below will contain references to more appropriate
newsgroups.
--
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: "Gary Labowitz"

Title: Re: Example of a common dialog? 20 Nov 2003 10:32:00 AM
"Thomas Matthews" <Thomas_MatthewsHatesSpam@sbcglobal.net> wrote in message
news:9gMub.31141$ss7.18103@newssvr31.news.prodigy.com...

Libby wrote:

I am evidently not very good at C++ so please excuse me if this is a
dumb question...
I would like to create a common dialog modeled after something like
the windows file dialog, that would be in a dll and could be called by
multiple other software products; currently Powerbuilder and C++ apps
would be the caller. My attempts to do this so far have failed. Could
anyone point me to, or give me a simple example of, a modal dialog
program that can be invoked directly by a caller? Or, possibly at
least explain the steps involved to me?

Thanks,
Libby


Since you are not very good at C++, I will be gentle with you.
The C++ has an area of functionality described by the C++ standard.
Extra functionality can be added to a program by using platform
or compiler specific libraries. Dialog windows are in this area.
They are not part of the _standard_ C++ library and are not
discussed in this newsgroup. You will need to ask the experts
in a more appropriate newsgroup. The C++ FAQ and Welcome.txt
listed below will contain references to more appropriate
newsgroups.

This is a beautiful response. My hat is tipped to you, Thomas.
--
Gary
.


User: "Jeff"

Title: Re: Example of a common dialog? 19 Nov 2003 12:24:11 PM
Two suggestions:
1. if you're developing for MS operating system, look into their
visual c++ or visual basic .NET. You can create DLLs with those.
2. look into wxWindows, a cross-platform GUI toolkit
(http://www.wxwindows.org/). They have a file dialog in their
library. Warning: you may need to dig around a little to set it up on
your system.
.
User: "Starr"

Title: Re: Example of a common dialog? 23 Nov 2003 06:37:22 AM
"Jeff" <jeffz_2002@yahoo.com> wrote in message
news:7b01eaf3.0311191024.1bf8c183@posting.google.com...

Two suggestions:
1. if you're developing for MS operating system, look into their
visual c++ or visual basic .NET. You can create DLLs with those.
2. look into wxWindows, a cross-platform GUI toolkit
(http://www.wxwindows.org/). They have a file dialog in their
library. Warning: you may need to dig around a little to set it up on
your system.

Jeff, MFC is specific to msdev and not to other windows compilers.
.



  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