GIDForums  

Go Back   GIDForums > Computer Programming Forums > MS Visual C++ / MFC Forum
User Name
Password
Register FAQ Members List Calendar Search Today's Posts Mark Forums Read

 
 
Thread Tools Search this Thread Rate Thread
  #1  
Old 09-Oct-2005, 14:59
atiasavn atiasavn is offline
New Member
 
Join Date: Oct 2005
Posts: 3
atiasavn is on a distinguished road

Dumb question, try not to laugh


Hello,
I'm a new programmer of C++ 2005 and I would like to know how the hell can I change or access properties of controls I posted on the form at runtime? is there a direct way to do so?
SOS!
Avner
  #2  
Old 11-Oct-2005, 01:13
Dominic Dominic is offline
Member
 
Join Date: Aug 2005
Posts: 123
Dominic will become famous soon enough

Re: Dumb question, try not to laugh


No one has answered you in the last day or so, therefore it might not have been such a dumb question in the first place. Its probably quite a good question to ask.

I am also new at this game, but if you are willing to give it a try and experiment a bit, you could do the following :

In the class wizard, select a variable to attach to your item on the form and make it a control

Now in your code, you will have access to the object and can apply any of the control methods for that class.

Hope this can get you started.
Regards
  #3  
Old 11-Oct-2005, 02:39
atiasavn atiasavn is offline
New Member
 
Join Date: Oct 2005
Posts: 3
atiasavn is on a distinguished road

Re: Dumb question, try not to laugh


Hello Dominic,
Thank you for replaying, and IT IS a dumb question because when I checked again I noticed that I located the function after the parenthasis };
so of course it would raise errors.
I managed on my own and even quite got the hang of it,
so if you have any more questions we can trade knowledge,
Regards,
Avner
 
 

Recent GIDBlogPython ebook by crystalattice

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Hows on mod gzip installing, another dumb question samserver Apache Web Server Forum 3 16-Feb-2005 08:58
non-member function question crq C++ Forum 1 03-Feb-2005 22:59
Simple question on arrays--please help! brookeville C++ Forum 16 18-Nov-2004 00:23
Repetition structure problem and question brookeville C++ Forum 17 29-Oct-2004 18:48
-- Dumb Com Port Question -- jetpilot8 Computer Hardware Forum 0 02-Dec-2003 18:08

Network Sites: GIDNetwork · GIDWebHosts · GIDSearch · Learning Journal by J de Silva, The

All times are GMT -6. The time now is 10:27.


vBulletin, Copyright © 2000 - 2008, Jelsoft Enterprises Ltd.