Now, another problem with SetParent!
It seems that if I do:
VB Code:
Call SetWindowLong(MyForm.hwnd, GWL_STYLE, GetWindowLong(MyForm.hwnd, GWL_STYLE) Or WS_CHILD)
If my form loses focus and then gets focus back, the Up/Down Arrows and PageUp/Down Keys won't work on the Datagrid...
Any ideas???
I attached a stupid little test program that I have been messing with trying to fix this new problem....




Reply With Quote
