Print Page | Close Window

CXTPControlEdit with Button

Printed From: Codejock Forums
Category: Codejock Products
Forum Name: Command Bars
Forum Description: Topics Related to Codejock Command Bars
URL: http://forum.codejock.com/forum_posts.asp?TID=9986
Printed Date: 05 July 2024 at 3:32am
Software Version: Web Wiz Forums 12.04 - http://www.webwizforums.com


Topic: CXTPControlEdit with Button
Posted By: Danlar
Subject: CXTPControlEdit with Button
Date Posted: 28 March 2008 at 10:07am
Does anybody have any suggestions for how to build CXTPControlEdit-derived class that adds a small button to the right edge of the edit box (either within the edit window, where the spin button could be, or just past the edit window.)

We want to put a Search window in the ribbon, and rather than requiring the user to click in the Edit control and press Enter, we'd like to place a small button beside the control to execute it.

Part of my confusion on this stems from my lack of understanding on how controls work. They appear to merely govern a collection of rectangles, and I can't find where those rectangles are interpreted and drawn. (but I could be wrong about this).

-dan



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