Go Premium for a chance to win a PS4. Enter to Win

x
?
Solved

CSpinButtonCtrl

Posted on 1998-09-20
2
Medium Priority
?
296 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

Important Lessons on Recovering from Petya

In their most recent webinar, Skyport Systems explores ways to isolate and protect critical databases to keep the core of your company safe from harm.

Question has a verified solution.

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

Introduction: Displaying information on the statusbar.   Continuing from the third article about sudoku.   Open the project in visual studio. Status bar – let’s display the timestamp there.  We need to get the timestamp from the document s…
Introduction: Database storage, where is the exe actually on the disc? Playing a game selected randomly (how to generate random numbers).  Error trapping with try..catch to help the code run even if something goes wrong. Continuing from the seve…
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.
This video shows how to quickly and easily deploy an email signature for all users in Office 365 and prevent it from being added to replies and forwards. (the resulting signature is applied on the server level in Exchange Online) The email signat…

876 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