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

Hi All,
  I have just recently bought Borland C++ V5.02 after using V3.0 for the last 
few years.  I bought this new version so that I could start writing Windoze 
based programs.
  All the parts of V3.0 that i didn't quite understand (classes mainly), 
V5.02 depends on.  I'm fairly new to windows programming as I've only ever 
programmed for dos (have written a File Door, Chat Door and other programs 
for my BBS).
  I'm sure that windoze programming is fairly simple but the online help and 
manuals for V5.02 are not written for beginners like me (unlike the help and 
manuals for V3.0)
 What im after is to get a dialog box to pass some information from a text 
edit box to the function that called the dialog box.
eg:
Taddvideo is a dialog box that has a Text Edit box with an ID of IDC_VIDNAME
char VideoName[100];  // global string
.
.
.
//CmAddVideo is the function that brings up the dialog box
 void TVideocat::CmAddVideo()
  {
  Taddvideo(MainWindow).Execute();
  //now get the text entered in IDC_VIDNAME and put it in VideoName
  }
.
.
. while there are a number of examples on how to do this in the help files, 
none of them make any sense.  Im sure that this is a very simple problem to 
solve but until i see how its done my programs will be very un-interactive.
  If anyone can help i would be most grateful.
thanks,
John Stitt
SysOp Of 3rd Rock BBS Ph +61-8-8359-1863
FidoNet 3:800/459
--- Ezycom V1.20
---------------
* Origin: 3rd Rock BBS (Sth Australia) +61-8-8359-1863 (3:800/459)

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