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

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)

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™.