CSpinButtonCtrl as an In-place control
C / C++ / MFC
1
Posts
1
Posters
0
Views
1
Watching
-
I'm currently building a ListView control that is able to be edited in-place. So far I've got an edit control working, but I'm having problems with a spinner control. The first problem is I can't set the focus to the spinner control after I've created it. I tried using the same method (SetFocus()) I used for the edit control but doesn't work. The second problem is I can't trap when the 'Esc' or 'Enter' are pressed. For the edit control I'm using PreTranslateMessage(), but it's not getting called when the spinner is created. Anybody no what's going on? Have an examples I can take a look at? Thanks Chris