Still celebrating National IT Professionals Day with 3 months of free Premium Membership. Use Code ITDAY17

x
?
Solved

CSpinButtonCtrl

Posted on 1998-09-20
2
Medium Priority
?
295 Views
Last Modified: 2013-11-19
Alignment of CSpinButtonCtrl with edit control
0
Comment
Question by:retaplin
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
2 Comments
 

Accepted Solution

by:
lakshmi083198 earned 50 total points
ID: 1322360
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
ID: 1322361
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

New feature and membership benefit!

New feature! Upgrade and increase expert visibility of your issues with Priority Questions.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

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…
Have you tried to learn about Unicode, UTF-8, and multibyte text encoding and all the articles are just too "academic" or too technical? This article aims to make the whole topic easy for just about anyone to understand.
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.
How to fix incompatible JVM issue while installing Eclipse While installing Eclipse in windows, got one error like above and unable to proceed with the installation. This video describes how to successfully install Eclipse. How to solve incompa…

688 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