View Issue Details
ID | Project | Category | View Status | Date Submitted | Last Update |
---|---|---|---|---|---|
0004976 | JEDI VCL | 00 JVCL Components | public | 2009-10-12 15:39 | 2011-06-10 16:09 |
Reporter | Nazgul | Assigned To | AHUser | ||
Priority | normal | Severity | minor | Reproducibility | always |
Status | resolved | Resolution | fixed | ||
Product Version | 3.37 | ||||
Target Version | Fixed in Version | 3.40 | |||
Summary | 0004976: TJvBalloonHint painting problem on Windows Vista | ||||
Description | I am using a TJvBalloonHint. The message is overlapping the close button (see attached picture). This happens on Windows Vista. As far as I know, it is painted correctly on Windows XP. | ||||
Additional Information | The message contains some unicode characters. They are displayed correctly. | ||||
Tags | No tags attached. | ||||
2009-10-12 15:39
|
|
|
I'm getting the same problem on a Windows XP system with themes enabled. The problem is apparently that TJvBalloonHint only takes into account the width of the header, not the width of the text, when placing its close button. The attached patch seems to fix it. |
2009-11-05 19:08
|
0004976.patch (409 bytes)
Index: JvBalloonHint.pas =================================================================== --- JvBalloonHint.pas (revision 2755) +++ JvBalloonHint.pas (working copy) @@ -855,6 +855,7 @@ FCloseBtnRect := Rect(0, 0, ASize.cx, ASize.cy); Inc(FHeaderRect.Right, ASize.cx); + Inc(FMsgRect.Right, ASize.cx); end; if IsWinVista_UP and (GetComCtlVersion >= ComCtlVersionIE6) then |
|
I have applied jkelley's patch to my 3.38 and it seems to have fixed the problem. Thanks, jkelley. |
|
Fixed in SVN. (It didn't make it into the 3.39 release) |
Date Modified | Username | Field | Change |
---|---|---|---|
2009-10-12 15:39 | Nazgul | New Issue | |
2009-10-12 15:39 | Nazgul | File Added: TJvBallonHint-bug.png | |
2009-11-05 19:08 | jkelley | Note Added: 0016858 | |
2009-11-05 19:08 | jkelley | File Added: 0004976.patch | |
2009-11-06 16:05 | Nazgul | Note Added: 0016860 | |
2009-11-06 16:58 | AHUser | Note Added: 0016861 | |
2009-11-06 16:58 | AHUser | Status | new => resolved |
2009-11-06 16:58 | AHUser | Fixed in Version | => Daily / SVN |
2009-11-06 16:58 | AHUser | Resolution | open => fixed |
2009-11-06 16:58 | AHUser | Assigned To | => AHUser |
2011-06-10 16:09 | obones | Fixed in Version | Daily / SVN => 3.40 |