View Issue Details
ID | Project | Category | View Status | Date Submitted | Last Update |
---|---|---|---|---|---|
0006102 | JEDI VCL | 00 JVCL Components | public | 2013-03-15 15:22 | 2013-06-15 15:29 |
Reporter | rszabolcs | Assigned To | |||
Priority | normal | Severity | minor | Reproducibility | always |
Status | closed | Resolution | fixed | ||
Product Version | Daily / GIT | ||||
Target Version | Fixed in Version | ||||
Summary | 0006102: jvDock causes access violation at application exit when there is a Ribbon | ||||
Description | Using C++Builder XE and latest SVN version of JVCL components, when I put a TRibbon object to a form as well as a TJvDockServer, at exit application throws an access violation exception. | ||||
Additional Information | See the attached code. | ||||
Tags | JVCL | ||||
2013-03-15 15:22
|
RibbonDockBug.7z (3,581 bytes) |
|
This seems to be a bug in TCustomRibbon.CustomFrameWndProc which recreates the already destroyed form's window handle because it wants to send the CM_CONTROLCHANGE message to DwmDefWindowProc() which can't do anything with it as it is a Delphi "private" message. The only thing that could be done is to detect that there is a DwmCompositionEnabled TRibbon on the form and then intercept all CM_* messages. But this isn't a solution. |
|
Thank you for the advice. I chose, however, an other approach so that I create and assign the style component in FormCreate and destroy it in FormDestroy. |
|
I do not know exactly the protocol to follow with this issue so I assign it to you again. |
|
I cannot do that. Please remove my previous and this note. |
Date Modified | Username | Field | Change |
---|---|---|---|
2013-03-15 15:22 | rszabolcs | New Issue | |
2013-03-15 15:22 | rszabolcs | File Added: RibbonDockBug.7z | |
2013-04-19 15:23 | rszabolcs | Tag Attached: JVCL | |
2013-05-25 14:40 | AHUser | Note Added: 0020503 | |
2013-05-25 14:40 | AHUser | Status | new => feedback |
2013-06-12 19:28 | rszabolcs | Note Added: 0020527 | |
2013-06-12 19:28 | rszabolcs | Note Added: 0020528 | |
2013-06-12 19:29 | rszabolcs | Note Added: 0020529 | |
2013-06-15 15:29 | AHUser | Status | feedback => closed |
2013-06-15 15:29 | AHUser | Resolution | open => fixed |