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

CXTPControlEdit with Button

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

Joined: 27 February 2008
Location: United States
Status: Offline
Points: 12
Post Options Post Options   Thanks (0) Thanks(0)   Quote Danlar Quote  Post ReplyReply Direct Link To This Post Topic: CXTPControlEdit with Button
    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
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.234 seconds.