I used in a programm the ButtonST Class from Codeproject... this button class uses the SetCapture method to draw the button ( win98 style ). now i initiated in the program that the user must press a accerelator key ( F1 till F11 ) to switch to another view.... Its an SDI application developed under Visual C++ 6.0 ( no SP ). The acckey calls a function OnKeyF1Pressed()... but when the mouse is over a buttonST OnKeyF1Pressed won't be called..... I think there's a problem with the buttonST ( esspecially with SetCapture ). I tried to called RemoveCapture() when the button is drawed but that isn't very fine because the buttonst isn't drawn completely but the view is switched. hope that someone will help me BEST REGARDS ingo eberhardt SEC
I
Ingo 0
@Ingo 0