Can i set Float value to CLabelControl::SetCaption()
C / C++ / MFC
2
Posts
2
Posters
2
Views
1
Watching
-
Hi sir, Can i set the float caption to CLabelControl. means i want to pass a Flaot value to CLabelControl. i.e CLabelControl m_st; m_st.SetCaption(float value); /// Thanks Raj
-
Hi sir, Can i set the float caption to CLabelControl. means i want to pass a Flaot value to CLabelControl. i.e CLabelControl m_st; m_st.SetCaption(float value); /// Thanks Raj
I guess Setcaption should accept a CString. if that is the case, then you can format your float value to a string and then pass it to the SetCaption().
-------------------------------------------- Suggestion to the members: Please prefix your main thread subject with [SOLVED] if it is solved. thanks. chandu.