JS> I'm sure that windoze programming is fairly simple but the online
JS> manuals for V5.02 are not written for beginners like me (unlike the
JS> manuals for V3.0)
Well, they are not just not written for beginners, but for anybody,
I'm afraid.
JS> void TVideocat::CmAddVideo()
JS> {
JS> Taddvideo(MainWindow).Execute();
JS> //now get the text entered in IDC_VIDNAME and put it in VideoName
JS> }
Add a string (or char* or whatever) parameter to the constructor of
your Taddvideo class, so that you can call it like this:
Taddvideo(MainWindow,VideoName).Execute();
Store this parameter in a new member variable.
Add a event handler method for the IDOK command to your Taddvideo
class (Taddvideo::CmOk); there you can take the text frm IDC_VIDNAME
and store it into VideoName.
Thomas
---
þ MM 1.0 #0113 þ Two things I hate: People that can't count.
---------------
* Origin: McMeier & Son BBS (2:301/138)
|