Results 1 to 17 of 17

Thread: [RESOLVED] SetParent and vbModal...

Hybrid View

  1. #1

    Thread Starter
    Hyperactive Member
    Join Date
    Apr 2004
    Posts
    342

    Re: [RESOLVED] SetParent and vbModal...

    Now, another problem with SetParent!

    It seems that if I do:

    VB Code:
    1. 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....
    Attached Files Attached Files

  2. #2
    Former Admin/Moderator MartinLiss's Avatar
    Join Date
    Sep 1999
    Location
    San Jose, CA
    Posts
    33,431

    Re: [RESOLVED] SetParent and vbModal...

    I haven't tried your new sample project but before I do let me ask why do you use forms in frames? Why not put whatever controls you need in the frames themselves?

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width