Solved

CSpinButtonCtrl

Posted on 1998-09-20
2
288 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
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

Master Your Team's Linux and Cloud Stack

Come see why top tech companies like Mailchimp and Media Temple use Linux Academy to build their employee training programs.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
List out all word 7 291
while loop over for loop 7 103
only14 challenge 19 76
wordappend challenge 8 176
Introduction: Finishing the grid – keyboard support for arrow keys to manoeuvre, entering the numbers.  The PreTranslateMessage function is to be used to intercept and respond to keyboard events. Continuing from the fourth article about sudoku. …
Introduction: Ownerdraw of the grid button.  A singleton class implentation and usage. Continuing from the fifth article about sudoku.   Open the project in visual studio. Go to the class view – CGridButton should be visible as a class.  R…
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.
Windows 10 is mostly good. However the one thing that annoys me is how many clicks you have to do to dial a VPN connection. You have to go to settings from the start menu, (2 clicks), Network and Internet (1 click), Click VPN (another click) then fi…

770 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