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
hi,

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,
adrian
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 Technology 6.8.0 is available for download!
  • New features to enhance the development process
  • Open CASCADE Technology 6.7.1 is available for download!

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