DO NOT REPLY TO THIS MESSAGE.  INSTEAD, POST ANY RESPONSES TO THE LINK BELOW.

[STR New]

Link: http://www.fltk.org/str.php?L2293
Version: 1.1.10


If I run the Debug build of the CubeView application in Visual Studio 2005
I get the following error output after clicking the close box for the
window:

HEAP[CubeView.exe]: HEAP: Free Heap block c3148 modified at c32c8 after it
was freed
Windows has triggered a breakpoint in CubeView.exe.

This may be due to a corruption of the heap, and indicates a bug in
CubeView.exe or any of the DLLs it has loaded.

-----------------
I don't understand it but I found that the problem goes away if I comment
out the following lines from Fl.cxx FL_Window::hide():

  if (ip->region) XDestroyRegion(ip->region);
  // this little trickery seems to avoid the popup window stacking problem
  HWND p = GetForegroundWindow();
  if (p==GetParent(ip->xid)) {
    ShowWindow(ip->xid, SW_HIDE);
    ShowWindow(p, SW_SHOWNA);
  }


Link: http://www.fltk.org/str.php?L2293
Version: 1.1.10

_______________________________________________
fltk-bugs mailing list
[email protected]
http://lists.easysw.com/mailman/listinfo/fltk-bugs

Reply via email to