Seems like editbox allready have a spincontrol attached as default if one use WS_VSCROLL in style while creating the editbox window.
No WM_VSCROLL message is being sent when clicking on arrow buttons. I read one have to attach spincontrol buddy, but spincontrol is allready there?!? (like pointed out above)
Can't find any good example on web how to handle spincontrol messages. I tried in Notify and Command without luck.
How do I handle these up/down arrows?
Seems like editbox allready have a spincontrol attached as default if one use WS_VSCROLL in style while creating the editbox window.
that creates a vertical scrollbar, not a spin control.
they're different controls doing different things, although I guess you could abuse a scrollbar to give you the effect of a spin control (you'll need to do this yourself). It's still a bad idea to do it that way, but if you really HAD to do it that way, I suppose you could.
As OReubens already said, WS_VSCROLL style does not create spin control, it adds a scrollbar instead. Scrollbar sends WM_VSCROLL messages to its parent, which is the edit box. So, the messages have to be handled there. See the sample attached here.
* The Best Reasons to Target Windows 8
Learn some of the best reasons why you should seriously consider bringing your Android mobile development expertise to bear on the Windows 8 platform.