View Issue Details
| ID | Project | Category | View Status | Date Submitted | Last Update | 
|---|---|---|---|---|---|
| 0004036 | JEDI VCL | 00 JVCL Components | public | 2007-01-15 03:48 | 2007-10-12 04:24 | 
| Reporter | Werewolf | Assigned To | obones | ||
| Priority | normal | Severity | trivial | Reproducibility | always | 
| Status | resolved | Resolution | won't fix | ||
| Platform | x86 | OS | Windows | OS Version | XP+SP2 | 
| Product Version | Daily / GIT | ||||
| Target Version | Fixed in Version | ||||
| Summary | 0004036: TJvCaptionButton does not destroy ToolTip window as expected | ||||
| Description | TJvCaptionButton does not destroy ToolTip GDI window resource | ||||
| Steps To Reproduce | Use MemProof utility by Atanas Stoyanov  (url http://www.automatedqa.com/downloads/memproof/ ) on test application uploaded  | ||||
| Additional Information | Patch for solving this issue is uploaded | ||||
| Tags | No tags attached. | ||||
| 
		 
 2007-01-15 03:48 
  | 
	
	
 JvCaptionButtonTest.rar (3,046 bytes) | 
| 
		 
 2007-01-15 03:48 
  | 
	
	
 
 JvCaptionButton.patch (490 bytes) 
 
	Index: JvCaptionButton.pas
===================================================================
--- JvCaptionButton.pas	(revision 11075)
+++ JvCaptionButton.pas	(working copy)
@@ -2683,6 +2683,11 @@
         // FToolTipHandle is automatically destroyed when ParentForm handle is destroyed.
         FToolTipHandle := 0;
       end;
+    WM_CLOSE:
+    begin
+      Result := False;
+      DestroyToolTip;
+    end;
     WM_NOTIFY:
       Result := HandleNotify(TWMNotify(Msg));
   else
 | 
| 
		 | 
	
	Why is this needed? There is a comment just above saying that the ToolTip is destroyed when the parent form is closed. Shouldn't that cover it then?  | 
| 
		 | 
	It stays untouched as to me. | 
| 
		 | 
	Can you explain a bit more? I don't understand the issue very well. | 
| 
		 | 
	No answers, things look good to me, no action will be taken right now. | 
| Date Modified | Username | Field | Change | 
|---|---|---|---|
| 2007-01-15 03:48 | Werewolf | New Issue | |
| 2007-01-15 03:48 | Werewolf | File Added: JvCaptionButtonTest.rar | |
| 2007-01-15 03:48 | Werewolf | File Added: JvCaptionButton.patch | |
| 2007-01-27 12:24 | obones | Note Added: 0010679 | |
| 2007-01-27 12:24 | obones | Status | new => feedback | 
| 2007-02-12 09:26 | Werewolf | Note Added: 0010785 | |
| 2007-06-19 07:20 | obones | Note Added: 0013445 | |
| 2007-10-12 04:23 | obones | Status | feedback => resolved | 
| 2007-10-12 04:23 | obones | Resolution | open => won't fix | 
| 2007-10-12 04:23 | obones | Assigned To | => obones | 
| 2007-10-12 04:23 | obones | Note Added: 0013899 |