Announcement

Collapse
No announcement yet.

PBWin 9 and GFXTools Pro 2.0

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

    PBWin 9 and GFXTools Pro 2.0

    I've created a little app using GFXTools Pro with the following code:

    Code:
       OpenGfx hDlg, 8, 255, 472, 345, %GFX_STYLE_PLAIN OR %GFX_STYLE_STRETCHABLE OR %GFX_STYLE_SIZABLE OR %GFX_STYLE_MOVABLE
       GfxResize (%GFX_DRAWING_SIZE, 1024, 768)
       GfxWindow %GFX_SHOW
    My app always fails (crashes) on the GfxResize statement.
    Any idea why it would fail?

    I'm running Windows Vista SP1.

    #2
    Bert --

    I haven't been able to reproduce your crash, so it may be related to code that you didn't provide. You do seem to be trying to create a stretchable graphics window that doesn't have a border (which would make it impossible to stretch) but that shouldn't cause a crash. Of course, nothing should cause a crash... Do you mean a Windows GPF-type popup?

    Have you looked at the sample programs Resize*_ProOnly.BAS?

    Please send a small but complete and compilable program that demonstrates the problem to the email address below, and we'll get you fixed up.

    -- Eric Pearson, Perfect Sync, Inc.
    "Not my circus, not my monkeys."

    Comment


      #3
      Originally posted by Eric Pearson View Post
      Bert --
      Please send a small but complete and compilable program that demonstrates the problem to the email address below, and we'll get you fixed up.
      -- Eric Pearson, Perfect Sync, Inc.
      I've solved the problem . On my main form I made a call to a procedure that loads my data. To do this I first call the Openfile dialog to select a file.
      Then I open my form where the initialization of the GFX window is made. For some reason this was incorrect and caused Windows Vista to tell me that my application stopped working.

      By moving the call to this function from the main form to the initaliser of the form where I want to display my data the crash stays away.

      Comment

      Working...
      X
      😀
      🥰
      🤢
      😎
      😡
      👍
      👎