Print Page | Close Window

Adding Spinner Control on Quick Access Toolbar

Printed From: Codejock Forums
Category: Codejock Products
Forum Name: Visual C++ MFC
Forum Description: Topics related to Codejock Visual C++ MFC products
URL: http://forum.codejock.com/forum_posts.asp?TID=16054
Printed Date: 05 May 2024 at 11:55pm
Software Version: Web Wiz Forums 12.04 - http://www.webwizforums.com


Topic: Adding Spinner Control on Quick Access Toolbar
Posted By: Satyen
Subject: Adding Spinner Control on Quick Access Toolbar
Date Posted: 22 January 2010 at 12:21am
I have a spinner control (which is basically a CXTPControlEdit control).
 

I want to add this control on QAT (Quick Access Toolbar). However, I am not able to do this, as the code below returns me NULL  handle -  
 

CXTPControlButton* pButton = dynamic_cast<CXTPControlButton*>(pControl);

 

We think that only those controls which are derived from 'CXTPControlButton' class can be added on QAT. 

 

I want comment from code jock team. Is it possible to add a CXTPControlEdit based control to QAT.

 

Note: I forcefully tried to add the control. I succeeded; but the control was so small in size that I could only see spinners and no text box.

 

Regards,

Satyenjit



-------------
Thanks & Regards,
Satyenjit Bagal.
Software Development Engineer.
SIEMENS Automation and Drives.



Print Page | Close Window

Forum Software by Web Wiz Forums® version 12.04 - http://www.webwizforums.com
Copyright ©2001-2021 Web Wiz Ltd. - https://www.webwiz.net