SearchResults::SearchResults(wxWindow* parent,wxWindowID id,const wxPoint& pos,const wxSize& size):
m_pTreeCtrl(NULL)
{
//(*Initialize(SearchResults)
Create(parent, wxID_ANY, _("Search Results"), wxDefaultPosition, wxDefaultSize, wxDEFAULT_FRAME_STYLE, _T("wxID_ANY"));
SetFocus();
Panel1 = new wxPanel(this, ID_PANEL1, wxDefaultPosition, wxDefaultSize, wxTAB_TRAVERSAL, _T("ID_PANEL1"));
m_pTreeCtrl = new wxTreeCtrl(Panel1, ID_TREECTRL1, wxPoint(0,0), wxSize(400,448), wxTR_DEFAULT_STYLE, wxDefaultValidator, _T("ID_TREECTRL1")); // <----- When I comment this line, everything is OK
Center();
Show(true);
//*)
}
//AND
SearchResults* SearchResults::Get()
{
if(!m_pInstance)
{
m_pInstance = new SearchResults(Manager::Get()->GetAppWindow());
}
return m_pInstance;
}
#include "cbstyledtextctrl.h"
_ when the window is closed, you memorize th code, but not the search results. It would be great that you memorize both (or that you launch the last search??)Do you mean search history or search results ?
Files can be modified outside and would lead to unreliable results at reloadI haven't think of this.....
_ when the window is closed, you memorize th code, but not the search results. It would be great that you memorize both (or that you launch the last search??)Now I prefer
just a minimize (or hide) button
I'm not sure to understand what you mean (sorry :oops:) Could you be more precise ?Quote_ when the window is closed, you memorize th code, but not the search results. It would be great that you memorize both (or that you launch the last search??)Now I prefer
I found two related bugs (Message Notebook mode).I had already seen the second. It is an InfoPane bug. I have to submit it on BerliOS providing my code to be sure the bug is not in mine :)
_ Open CB, and disable the ThreadSearch with a right click on the Logs "title bar". Re-enable it (with a right click) CB crash.
_ Open CB. Click on the ThreadSearch, and the disable it. Wait......... Several tabs shows the ThreadSearch window now.
Quote from: Albenejean on Today at 12:30:32 AMMy **problem** only happens in the detached window mode.
Quote
_ when the window is closed, you memorize th code, but not the search results. It would be great that you memorize both (or that you launch the last search??)
Now I prefer
I'm not sure to understand what you mean (sorry Embarassed) Could you be more precise ?
_ Open CB, and disable the ThreadSearch with a right click on the Logs "title bar". Re-enable it (with a right click) CB crash.BerliOS bug 12841 (https://developer.berlios.de/bugs/?func=detailbug&bug_id=12841&group_id=5358)
Another solution is to let the messages notebook manage ThreadSearch panel and show/hide it with F2 (default shortcut).Yes, but the Message Notebook do not store the size. So when I resize it, hide it and then show it, its size is return to the normal size. Note that this happens when the message notebook is on the bottom (and not on the left/right side).
So, what I'll do :
(...)
- _ move the window containing the code under the one containing the search results. I think that we need more space for the code itself than for the results. I'll do it with an option to set splitter mode (horizontal or vertical). Only code preview and logger will be affected by the direction. Buttons and combos will stay on the top of the panel.
I am working on XP SP2 but when I see your picture, you may not. If the problem remains, could you tell more on the OS ?It's windows XP SP2. It's just that I like this old style. So I have disabled the visual styles (besides this saves some memory).
I just want you to remind this: :oops:QuoteSo, what I'll do :
(...)
- _ move the window containing the code under the one containing the search results. I think that we need more space for the code itself than for the results. I'll do it with an option to set splitter mode (horizontal or vertical). Only code preview and logger will be affected by the direction. Buttons and combos will stay on the top of the panel.
_ Open CB. Click on the ThreadSearch, and the disable it. Wait......... Several tabs shows the ThreadSearch window now.The same thing happens with the ToDo list, when it's included in the message panel.
Quote_ Open CB. Click on the ThreadSearch, and the disable it. Wait......... Several tabs shows the ThreadSearch window now.The same thing happens with the ToDo list, when it's included in the message panel.
However, when the ToDo panel isn't selected, nothing happens............ (so it's not bug 12841). But this shows that it comes not from your code!
Quote from: Albenejean on Today at 10:53:26 PMA project with some text in the todo list has to be opened (for example yours). I'm svn 4771.
Quote
_ Open CB. Click on the ThreadSearch, and the disable it. Wait......... Several tabs shows the ThreadSearch window now.
The same thing happens with the ToDo list, when it's included in the message panel.
However, when the ToDo panel isn't selected, nothing happens............ (so it's not bug 12841). But this shows that it comes not from your code!
I couldn't reproduce it with SVN 4767 whereas it was systematic before (maybe SVN 4750 but not sure).