944,004 Members | Top Members by Rank

Ad:
  • C++ Discussion Thread
  • Unsolved
  • Views: 2061
  • C++ RSS
Nov 7th, 2009
0

Using Graphics Pointer to Draw objects(TREE) in a Class (Windows Forms Applications)

Expand Post »
hi,i am making trees and i want to draw the structure of the tree in windows forms applications.since the class tree has the access to the trees root pointer.so only a member function of the class can draw the nodes of that tree.

but i cannot use the graphics pointer int the tree class,it gives some error.

i tried to use friend function but it wasnt working in form1.h .

Any Solutions??


Thanks
Reputation Points: 7
Solved Threads: 2
Junior Poster in Training
arshad115 is offline Offline
64 posts
since Nov 2008

This thread is more than three months old

No one has posted to this discussion for at least three months. Please let old threads die and do not reply to them unless you feel you have something new and valuable to contribute that absolutely must be added to make the discussion complete. Otherwise, please start a new thread in this forum instead.
Message:
Previous Thread in C++ Forum Timeline: Compiling error (novice problem)
Next Thread in C++ Forum Timeline: Why does the following code works?





About Us | Contact Us | Advertise | Acceptable Use Policy
Forum Index | Build Custom RSS Feed


Follow us on Twitter


© 2011 DaniWeb® LLC