|  | 
| CXTColorPicker memory leak ? | 
| Post Reply   | 
| Author | |
| kanitamildasan   Senior Member     Joined: 01 February 2006 Status: Offline Points: 102 |  Post Options  Thanks(0)  Quote  Reply  Topic: CXTColorPicker memory leak ? Posted: 19 March 2009 at 2:19am | 
| 
   Hi, The newed CXTColorPopup seem to be a mem leak. void CXTColorPicker::OnShowPopup() { // Get the size of the picker button. CRect rcWindow; GetWindowRect(&rcWindow); // Create the color popup window. CXTColorPopup *pColorPopup = new CXTColorPopup(TRUE); if (m_pExtendedColors) { pColorPopup->SetColors(m_pExtendedColors, m_nExtendedColors, m_nCols); } pColorPopup->Create(rcWindow, this, m_dwPopup, GetColor(), GetDefaultColor()); pColorPopup->SetFocus(); } Thanks | |
|  | |
| Post Reply   | |
| Tweet | 
| Forum Jump | Forum Permissions  You cannot post new topics in this forum You cannot reply to topics in this forum You cannot delete your posts in this forum You cannot edit your posts in this forum You cannot create polls in this forum You cannot vote in polls in this forum |