Open CASCADE, the 3D modelling kernel
3D modeling & numerical simulation

Search the Forums
See All Topics

selection rectangle

selection rectangle
Adrian Helcman 2012/12/07 11:54

would you give me an advice to solve the following problem:
i cannot find a method to erase the previous state of selection rectangle, when it is dynamically resized.
i have checked it also on oc sample application (attached image), but it is the same.
i'm using oc version 5.2.

best regards,
You have to be logged in to download the attached file
Sharjith Naramparambath 2012/12/08 00:01
     Windows 7 GDI doesn't blend well with OpenGL. All my OpenGL applications that have rubberbanding using the GDI rectangle also face the same issue after migrating to Windows 7.
Hesham Nasif 2013/05/21 11:25
     All you need it to use this.Refresh() before calling any function to draw rectangle even using GDI
Latest news
  • Open CASCADE CAD Assistant for iOS platform is available!
  • Open CASCADE Technology 6.9.0 is available for download!
  • JT Assistant for Android

  • © OPEN CASCADE 2000 - 2015  |  Search  |  Contacts   |  Site map