Codejock Forums Homepage
Forum Home Forum Home > Codejock Products > Visual C++ MFC > Command Bars
  New Posts New Posts RSS Feed - CXTPControlEdit Problem with Spin Control
  FAQ FAQ  Forum Search   Events   Register Register  Login Login

CXTPControlEdit Problem with Spin Control

 Post Reply Post Reply
Author
Message
devil20 View Drop Down
Groupie
Groupie
Avatar

Joined: 29 June 2006
Location: UK
Status: Offline
Points: 38
Post Options Post Options   Thanks (0) Thanks(0)   Quote devil20 Quote  Post ReplyReply Direct Link To This Post Topic: CXTPControlEdit Problem with Spin Control
    Posted: 30 January 2008 at 1:20am
Hi
 
I am using Ribbon and CXTPControlEdit to display some value. I have also attached spin control with CXTPControlEdit But problem is spin control only support integer value ? I want to show value in float and increment with spin but it consider value as integer  ..
 
Any one have idea how to show value in floating point ?
 
Here is my code
 

m_btnFeedLevel = (CXTPControlEdit*)pGroup->Add(xtpControlEdit,ID_AUTOFEED_LEVEL);

m_btnFeedLevel->SetWidth(180);

m_btnFeedLevel->ShowSpinButtons();

m_btnFeedLevel->SetEditText("2.25");

Back to Top
 Post Reply Post Reply
  Share Topic   

Forum Jump Forum Permissions View Drop Down

Forum Software by Web Wiz Forums® version 12.04
Copyright ©2001-2021 Web Wiz Ltd.

This page was generated in 0.047 seconds.