Open main menu

CDOT Wiki β

Changes

Assignment 2 (Release 0.2): Q & A

3 bytes added, 13:55, 4 November 2012
Q & A
== Q & A ==
'''Question by: Team # 3'''<br>
For CButton, it says it needs to be a clickable button.<br>
My question is, how do you record said click.<br>
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><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>
1
edit