Results 1 to 3 of 3

Thread: Is this possible?

  1. #1

    Thread Starter
    Fanatic Member kinjalgp's Avatar
    Join Date
    Apr 2000
    Location
    India
    Posts
    535

    Is this possible?

    Is it possibel to change properties of objects in VC++ like in VB?
    Ex: Text1.Text= "VB6"
    and in VC: Text1->Text="VC"?

    Please help. I got bored assigning member variable to objects and changing variable values and then the object properties.

    Kinjal

  2. #2
    Frenzied Member HarryW's Avatar
    Join Date
    Jan 2000
    Location
    Heiho no michi
    Posts
    1,827
    What are you trying to do here? When you say 'objects' do you mean the objects in a window like the controls on a form in VB? Are you using MFC?

    Have you just started using C or are you pretty experienced?
    Harry.

    "From one thing, know ten thousand things."

  3. #3
    Kitten CornedBee's Avatar
    Join Date
    Aug 2001
    Location
    In a microchip!
    Posts
    11,594
    With pure windows API it is not that easy. You have to use the SendMessage function.

    But if you don't know C or C++ well, you shouldn't even think about windows programming.
    All the buzzt
    CornedBee

    "Writing specifications is like writing a novel. Writing code is like writing poetry."
    - Anonymous, published by Raymond Chen

    Don't PM me with your problems, I scan most of the forums daily. If you do PM me, I will not answer your question.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width