Search found 610 matches

by eranif
Wed Dec 07, 2005 12:56 pm
Forum: C++ Development
Topic: wxMenu: Crash when typing a char
Replies: 8
Views: 2725

I just wanted to add some more usefull information:

My menus have icons, if i remove the icons from the menu all works well

Regards,
Eran
by eranif
Wed Dec 07, 2005 12:11 pm
Forum: C++ Development
Topic: wxMenu: Crash when typing a char
Replies: 8
Views: 2725

wxMenu: Crash when typing a char

Hi, In my application, i Hav several menus (&File, &Edit, &View ...). In the File menu I have the following entries: New Open Document New Open Close ------------------------ Open Workspace Close Workspace ------------------------ Save Save As Save All ------------------------ Recent Fil...
by eranif
Mon Dec 05, 2005 9:31 pm
Forum: C++ Development
Topic: How to grab focus?
Replies: 1
Views: 1273

How to grab focus?

Hi, I am writing some application with tree control on the left and notebook to the right with styled text controls as pages. My question is, when I am double clicking on an item on the tree to the left it opens in the notebook as expected, however, how can i set the focus to the editor page ? I tri...
by eranif
Thu Dec 01, 2005 7:21 pm
Forum: C++ Development
Topic: wxIFM - Build error when define is IFM_CANFLOAT is set to 0
Replies: 1
Views: 1159

wxIFM - Build error when define is IFM_CANFLOAT is set to 0

If the define is set to IFM_CANFLOAT is set to 0 (we cant float), the library is not build.

The fix is simple:

in line:

definterface.cpp, line 397 change the line to be
from:
else if( tabify && last_panel )
to:
if( tabify && last_panel )

Eran
by eranif
Wed Nov 30, 2005 9:59 pm
Forum: C++ Development
Topic: wxIFM - Remove the 'X' button?
Replies: 7
Views: 3295

wxIFM - Remove the 'X' button?

Hi, I have 2 questions: 1. Is there a way to remove the 'x' button from a docking window? My goal here is to use as content window one of the docking windows since I want the blue caption (on windows anyways) to appear for the content window as well 2. Is there a way to change the background color o...
by eranif
Wed Nov 30, 2005 9:56 pm
Forum: C++ Development
Topic: wxIFM, Toolbars & resizing
Replies: 8
Views: 5097

Ok, understood. FYI: What I finally did is i rebuilt the library with the define IFM_CANFLOAT set to 0 to disable the floating capability (the drawing issues i get when moving a floated document over scintilla is terrible, and I cant abandon scintilla so i had to compremise here...) What I will do n...
by eranif
Wed Nov 30, 2005 6:52 pm
Forum: C++ Development
Topic: wxIFM, Toolbars & resizing
Replies: 8
Views: 5097

Cant wait to get my hands on it (You can be sure I will test it) If 1.0.5 is not closed, I would like to suggest something regarding the draging of windows - When you drag the window (I guess it is started when the left mouse is down), I dont think that you should draw the window at the new position...
by eranif
Wed Nov 30, 2005 7:49 am
Forum: C++ Development
Topic: wxIFM, Toolbars & resizing
Replies: 8
Views: 5097

Hi, First of all thanks for the help, I kinda fixed the problem. It was the function OnSize in the main frame - i forgot to add the line event.Skip() ... I dont really need OnSize in my main frame - it is a leftover from the wxDockIt - (my first attempt was with wxDockIt, when using it yo must imple...
by eranif
Tue Nov 29, 2005 9:57 pm
Forum: C++ Development
Topic: wxIFM, Toolbars & resizing
Replies: 8
Views: 5097

First of all, advises are most welcome. I changed the docking window to be the content window as you suggested: // Create the book m_book = new USNotebook(m_thePanel, wxID_ANY, wxDefaultPosition, wxDefaultSize, wxNB_TOP); m_ifm->SetContentWindow( m_book ); This does not solved the problem (attached ...
by eranif
Tue Nov 29, 2005 7:31 pm
Forum: C++ Development
Topic: wxIFM, Toolbars & resizing
Replies: 8
Views: 5097

wxIFM, Toolbars & resizing

Hi, I am porting my application to wx GUI from MFC, and I decided to use wxIFM for the docking system. I encountered some problems with toolbars & wxIFM and found a workaround suggested by the author of the wxIFM package. However, I am now facing a new problem: When using the wxPanel workaround,...