Open main menu

CDOT Wiki β

Changes

Assignment 2 (Release 0.2): Q & A

250 bytes added, 12:54, 4 November 2012
Q & A
While looking this up on cplusplus.com and google, all i could find were examples with the windows API.<br>
Is that what we're supposed to use to record the click action?<br>
'''Question by: Team # 3'''<br>'''A:''' Since we are not building a Graphical User Interface (GUI), we change the label of a CButton object to indicate that the button has been "clicked." For a demo, run the execuatable code posted on the Practical Guidelines wiki page. (pliu} <br>
'''Q:''' The CField constructor receives a bool value that stores the <u>'''border's'''</u> visibility. The guidelines say that it passes all but one value to its base class constructor, CFrame. However, the CFrame constructor does not take an argument for the border's visibility and only takes one for the frame's visibility. How would we send this as an argument to the base class constructor?<br>
'''A:''' We can use the bordered(bool) function of the CFrame class to assign the border's visibility.<br>
1
edit