Page 22 of 22 FirstFirst ... 1219202122
Results 841 to 845 of 845

Thread: VBFlexGrid Control (Replacement of the MSFlexGrid control)

  1. #841
    Hyperactive Member VanGoghGaming's Avatar
    Join Date
    Jan 2020
    Location
    Eve Online - Mining, Missions & Market Trading!
    Posts
    279

    Re: VBFlexGrid Control (Replacement of the MSFlexGrid control)

    It's kinda hard to read the text in your screenshot but as far as I can distinguish you are calling "CreateWindowEx" and the last parameter is "ObjPtr(Me)" for some reason. MSDN says that parameter must be a pointer to window-creation data. Pretty sure you should put zero in there and it will work correctly.

  2. #842
    Junior Member
    Join Date
    May 2022
    Posts
    24

    Re: VBFlexGrid Control (Replacement of the MSFlexGrid control)

    Hi, thanks, if you click under "Found when it hangs:" i think the image will be open in another tab and bigger.

    This code is nost mine, is in krool's project, I will try to use a zero on it, but if it's a bug, maybe krool can tell us more.

    I will try it asap.

    Thanks again !

  3. #843
    Junior Member
    Join Date
    May 2022
    Posts
    24

    Re: VBFlexGrid Control (Replacement of the MSFlexGrid control)

    Tried.

    Using Zero it hangs directly. :-(

  4. #844

    Thread Starter
    PowerPoster
    Join Date
    Jun 2012
    Posts
    2,087

    Re: VBFlexGrid Control (Replacement of the MSFlexGrid control)

    Maybe it fails on CreateWindowsEx because VBFlexGridWndClass failed to register previously?

  5. #845
    Junior Member
    Join Date
    May 2022
    Posts
    24

    Re: VBFlexGrid Control (Replacement of the MSFlexGrid control)

    But it's too strange.... it works fine when i load the project the first time, then if i edit a form that has on it a grid, save it, and then if i start he project, when i open a form with a grid... hangs.

    It's like when exiting the fist time, it's not releasing something (i can check if a have some previous version of the grid, i think this didn't happen, i will take a look and try it.).

    the form i'm editing has 2 Grids on it, but it happens the same (i think) with a form with only 1 grid

Page 22 of 22 FirstFirst ... 1219202122

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