I have a mfc dialog and on it I have one static that is my opengl class, and a tab control. I have some problem:
1- My static doesn't receive key and mouse event, this event sent to dialogs of tab control, How can I receive key and mouse event in static object?
2- I use F5 key for hide and show of tab control. I resize static with SetWindowPos() function on tab control hide and show. At first I have my opengl sence on static but when I resize static I have only a blank black screen. Why?
3- I want to use F1 for another event other than Help. How can I disable help when press F1?