Click here to Skip to main content
15,905,781 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
QuestionFormatting text onto a DC Pin
Santanu Lahiri16-Jan-08 8:05
Santanu Lahiri16-Jan-08 8:05 
GeneralRe: Formatting text onto a DC Pin
James R. Twine16-Jan-08 8:11
James R. Twine16-Jan-08 8:11 
GeneralRe: Formatting text onto a DC Pin
Santanu Lahiri16-Jan-08 9:06
Santanu Lahiri16-Jan-08 9:06 
GeneralRe: Formatting text onto a DC Pin
Santanu Lahiri16-Jan-08 15:52
Santanu Lahiri16-Jan-08 15:52 
GeneralRe: Formatting text onto a DC Pin
Santanu Lahiri18-Jan-08 4:31
Santanu Lahiri18-Jan-08 4:31 
QuestionHow do you reverse the action on a Spin control Pin
littleGreenDude16-Jan-08 4:04
littleGreenDude16-Jan-08 4:04 
GeneralRe: How do you reverse the action on a Spin control Pin
led mike16-Jan-08 4:47
led mike16-Jan-08 4:47 
GeneralRe: How do you reverse the action on a Spin control Pin
littleGreenDude16-Jan-08 5:53
littleGreenDude16-Jan-08 5:53 
A more useful response...

Set the range to anything other than the default 0 to 100 and the control behaves normally.

m_Spin1.SetRange(0, 52);

The up-down control is a victim of Windows' reversed y-axis.

Mathematically, the (0, 0) coordinate should be at the bottom left corner of the screen, with y increasing as you move up the screen. Windows, on the other hand, puts the (0, 0) coordinate at the upper left corner, with y increasing as you move down the screen.
GeneralRe: How do you reverse the action on a Spin control Pin
toxcct16-Jan-08 5:55
toxcct16-Jan-08 5:55 
GeneralRe: How do you reverse the action on a Spin control Pin
littleGreenDude16-Jan-08 6:07
littleGreenDude16-Jan-08 6:07 
GeneralRe: How do you reverse the action on a Spin control Pin
led mike16-Jan-08 6:07
led mike16-Jan-08 6:07 
GeneralRe: How do you reverse the action on a Spin control Pin
toxcct16-Jan-08 6:21
toxcct16-Jan-08 6:21 
GeneralRe: How do you reverse the action on a Spin control Pin
Mark Salsbery16-Jan-08 7:08
Mark Salsbery16-Jan-08 7:08 
GeneralConverting a dynamic Stl String Array in a BSTR ! Pin
CrocodileBuck16-Jan-08 3:39
CrocodileBuck16-Jan-08 3:39 
GeneralRe: Converting a dynamic Stl String Array in a BSTR ! Pin
led mike16-Jan-08 5:04
led mike16-Jan-08 5:04 
GeneralRe: Converting a dynamic Stl String Array in a BSTR ! Pin
CrocodileBuck16-Jan-08 5:58
CrocodileBuck16-Jan-08 5:58 
AnswerRe: Converting a dynamic Stl String Array in a BSTR ! Pin
Nathan Holt at EMOM16-Jan-08 6:13
Nathan Holt at EMOM16-Jan-08 6:13 
GeneralRe: Converting a dynamic Stl String Array in a BSTR ! Pin
CrocodileBuck17-Jan-08 4:08
CrocodileBuck17-Jan-08 4:08 
GeneralRe: Converting a dynamic Stl String Array in a BSTR ! Pin
Nathan Holt at EMOM17-Jan-08 9:48
Nathan Holt at EMOM17-Jan-08 9:48 
GeneralError LNK1152 Pin
rover_boy16-Jan-08 1:41
rover_boy16-Jan-08 1:41 
GeneralRe: Error LNK1152 Pin
Cedric Moonen16-Jan-08 1:50
Cedric Moonen16-Jan-08 1:50 
Generalthe Invalidate problem Pin
gggwb16-Jan-08 1:16
gggwb16-Jan-08 1:16 
GeneralRe: the Invalidate problem Pin
Don Box16-Jan-08 1:28
Don Box16-Jan-08 1:28 
GeneralRe: the Invalidate problem Pin
gggwb16-Jan-08 1:37
gggwb16-Jan-08 1:37 
GeneralRe: the Invalidate problem Pin
Don Box16-Jan-08 1:57
Don Box16-Jan-08 1:57 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.