HeavyDude
January 20th, 2006, 08:23 PM
This has probably been asked before but I can't find a satisfactory answer so...
I have a small prog which consists of a window with a scrollbar, edit box and Spin control buddied.
As well as using the Spin control to update the value in the edit box I want to be able to type a value in and press ENTER which will in turn update the Scrollbar position.
I can't seem to get focus on the edit box so I can trap VK_RETURN.
I'm not using MFC.
I have a small prog which consists of a window with a scrollbar, edit box and Spin control buddied.
As well as using the Spin control to update the value in the edit box I want to be able to type a value in and press ENTER which will in turn update the Scrollbar position.
I can't seem to get focus on the edit box so I can trap VK_RETURN.
I'm not using MFC.