Wrox Programmer Forums
Go Back   Wrox Programmer Forums > C# and C > C++ and Visual C++ > Visual C++
|
Visual C++ Questions specific to Microsoft's Visual C++. For questions not specific to this Microsoft version, use the C++ Programming forum instead.
Welcome to the p2p.wrox.com Forums.

You are currently viewing the Visual C++ section of the Wrox Programmer to Programmer discussions. This is a community of software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
 
Old August 9th, 2004, 11:31 AM
Authorized User
 
Join Date: Aug 2004
Posts: 20
Thanks: 0
Thanked 0 Times in 0 Posts
Send a message via AIM to Spivonious
Default VC++ 6.0, Edit Boxes, and doubles

I'm writing an application that needs to grab a set of doubles from a corresponding set of Edit Boxes. Using the Class Wizard I've created double variables for each Edit Box control. Everytime I hit the Calculate button, however, all the edit boxes reset to zero and the box that is supposed to contain the result of the calculations says NAN.

What am I doing wrong? I know my calculation function works, as it runs fine on a command line.

 
Old August 9th, 2004, 11:38 AM
Authorized User
 
Join Date: Aug 2004
Posts: 20
Thanks: 0
Thanked 0 Times in 0 Posts
Send a message via AIM to Spivonious
Default

Nevermind, I was using the UpdateDate() function incorrectly.






Similar Threads
Thread Thread Starter Forum Replies Last Post
VC++: line break problem in edit box bluebeta Visual C++ 1 May 12th, 2006 08:28 PM
VC++ 6 dannytran Visual C++ 0 January 4th, 2006 07:49 AM
Help us in VC++ MMazhar Visual C++ 0 December 10th, 2005 03:49 PM
convert VC++ 5.0 project to VC++ 6.0 MIDL ERR mdahd90943 Visual C++ 0 May 26th, 2005 08:57 AM
SQL , List Boxes/Menu Boxes, DB's Ginzu3 Classic ASP Databases 1 June 30th, 2003 04:07 AM





Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
Copyright (c) 2020 John Wiley & Sons, Inc.