Solved

CSpinButtonCtrl

Posted on 1998-09-20
2
286 Views
Last Modified: 2013-11-19
Alignment of CSpinButtonCtrl with edit control
0
Comment
Question by:retaplin
2 Comments
 

Accepted Solution

by:
lakshmi083198 earned 50 total points
Comment Utility
Do you want to associate an edit control to the spin control ?

If yes , the spin control associates to the control of previous tab order.
ie., if the tab order of the spin control is 10, then it will be associated to the control with tab order 9.

you can set the alignment of the spincontrol to the right,left or unattached to the control

0
 

Author Comment

by:retaplin
Comment Utility
The answer does not address the principal problem that arises when a dynamically created spin control is associated with a dynamically created edit control. The spin control border does not align correctly with its buddy edit control. I solved the problem by dynamically creating a bordered parent window and leaving the edit control without a border. I appreciate the interest, nonetheless.
0

Featured Post

Threat Intelligence Starter Resources

Integrating threat intelligence can be challenging, and not all companies are ready. These resources can help you build awareness and prepare for defense.

Join & Write a Comment

Here is how to use MFC's automatic Radio Button handling in your dialog boxes and forms.  Beginner programmers usually start with a OnClick handler for each radio button and that's just not the right way to go.  MFC has a very cool system for handli…
Introduction: Dialogs (1) modal - maintaining the database. Continuing from the ninth article about sudoku.   You might have heard of modal and modeless dialogs.  Here with this Sudoku application will we use one of each type: a modal dialog …
This video will show you how to get GIT to work in Eclipse.   It will walk you through how to install the EGit plugin in eclipse and how to checkout an existing repository.
Access reports are powerful and flexible. Learn how to create a query and then a grouped report using the wizard. Modify the report design after the wizard is done to make it look better. There will be another video to explain how to put the final p…

743 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

17 Experts available now in Live!

Get 1:1 Help Now