TIP: Click on subject to list as thread! ANSI
echo: c_plusplus
to: JOHN STITT
from: THOMAS MAEDER
date: 1997-11-25 19:50:00
subject: Borland C++ V5.02

JS> they might as well have written them in a foreign language for all t
JS> they do.
If  it'd  be German, this would really be a help for me, provided that
the translator wouldn't add other errors. For some people, English  is
a  foreign  language,  you  know;  these  people are a majority in the
world.
JS>  TM> Taddvideo(MainWindow,VideoName).Execute();
JS> looking at this, i assume a pointer to a structure could go in there
Not necessarily, but it's a good idea. Try something like this  (which
I haven't compiled or tested!):
class Taddvideo : public TDialog
{
    public:
        Taddvideo(TWindow *frame, string &VideoName)
            :   TDialog(frame,ADDVIDEO_ID),
                myVideoName(VideoName)
        {
            myVideoNameEditor = new TEdit(this, IDEDITVIDEO);
        }        
    private:
        void CmOk()
        {
            myVideoName = myVideoNameEditor.GetText();
        }
        string &myVideoName;
        TEdit *myVideoNameEditor;
    DECLARE_RESPONSE_TABLE(Taddvideo);
};
In  the  response  table  definition,  you  have to register your IDOK
handler CmOk.
JS> Im thinking that maybe i should have got Visual Basic, ive got the s
JS> version (no docs, limited to 1 form) but it looks easy.  But i guess
JS> first you dont succeed, bash it with the biggest hammer available.
Depends  on  what  you  want  to do. I'm not interested in probems for
which Visual Basic is the best tool. I doubt that there are many.
Thomas
---
 þ MM 1.0 #0113 þ All I ask is PROOF that money won't make me happy.
---------------
* Origin: McMeier & Son BBS (2:301/138)

SOURCE: echomail via exec-pc

Email questions or comments to sysop@ipingthereforeiam.com
All parts of this website painstakingly hand-crafted in the U.S.A.!
IPTIA BBS/MUD/Terminal/Game Server List, © 2025 IPTIA Consulting™.