jadezz Posted August 24, 2009 Posted August 24, 2009 How can i initialize a CBoolProperty? Declaration: CBoolProperty m_bHeight; Method: void CHuman::SetHeight(bool bHeight) { m_bHeight.Value(bHeight); } but when i debug. m_bHeight.Value is always true until i set bHeight with false. I want to initialize it to false. Quote
Leaders snarfblam Posted August 26, 2009 Leaders Posted August 26, 2009 Is this C++? Can you initialize the backing field? Quote [sIGPIC]e[/sIGPIC]
DPrometheus Posted August 31, 2009 Posted August 31, 2009 What about: CBoolProperty m_bHeight = false; [/Code] ?? Quote My Development System Intel Core i7 920 @2.66Ghz 6 GB DDR3 SDRAM Windows 7 Ultimate x64 & Windows Vista Home Premium x64 dual boot GeForce GTX295 1.8 GB 3.5 TB HD
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.