Member variables

Adding a member variable in VC++6

Page 1 of 1

1 Replies - 1214 Views - Last Post: 25 September 2005 - 05:52 AM Rate Topic: -----

#1 BidSki  Icon User is offline

  • New D.I.C Head

Reputation: 0
  • View blog
  • Posts: 27
  • Joined: 30-June 05

Member variables

Posted 24 September 2005 - 10:36 PM


I am new to VC++6. I am trying to write a dialog application that
takes a couple of files interprets the data in them and then provides
you with a new file.

On the dialog I have a couple of textboxes and a dropdown list. When I
try to add a member variable for these items (Ctrl+DblClick) it comes
up with a dialog box asking me for details about the variable
(variable name, category and variable type). What I get stuck on is
the category part. Im given a dropdown list containing two
options 'Value' and 'Control'. What is the difference between these
two? Which one is generally the best one to use? What benefits do each

Any help on this topic is much appreciated.
Thanks in Advance

Is This A Good Question/Topic? 0
  • +

Replies To: Member variables

#2 Amadeus  Icon User is offline

  • g+ + -o drink whiskey.cpp
  • member icon

Reputation: 249
  • View blog
  • Posts: 13,507
  • Joined: 12-July 02

Re: Member variables

Posted 25 September 2005 - 05:52 AM

Those choices are used for specifying upon what the variable is based. The one you choose depends on the variable type you've chosen, and what sort of controls you'd like in place. This and this give a good overview.
Was This Post Helpful? 0
  • +
  • -

Page 1 of 1