Search found 235 matches

by SnakeChomp
Fri Dec 02, 2005 7:09 pm
Forum: Announcements and Discoveries
Topic: wxIFM issues
Replies: 15
Views: 4540

Note however that sizing containers is already an N^2 operation. I have lied. The algorithm is O(N!) in the worst case where N is the number of children in the container. The worst case is where every child has a minimum size, and when trying to size all children, all minimum sizers were violated. ...
by SnakeChomp
Fri Dec 02, 2005 4:36 pm
Forum: Announcements and Discoveries
Topic: wxIFM issues
Replies: 15
Views: 4540

I have done that but without any effect (it's why I posted this request... i'm not stupid...) The SetChildSize simply does nothing. What are you expecting this function to do? What this function does is modify the data.m_desiredSize member for the child window. It does not physically resize the chi...
by SnakeChomp
Fri Dec 02, 2005 2:51 pm
Forum: Announcements and Discoveries
Topic: wxIFM issues
Replies: 15
Views: 4540

As it might be a "feature" I want to propose something else. If the windows overlap, how hard is it, to resize the two lower windows so that the two windows on the left do not overlap? It would be quite hard, and inefficient, because the bottom container is positioned before the left cont...
by SnakeChomp
Fri Dec 02, 2005 2:29 pm
Forum: Announcements and Discoveries
Topic: wxIFM issues
Replies: 15
Views: 4540

Also one feature who doesn't exist and who have to be implemented is the resizing of a component of a wxIFM interface. Because I make dynamic interfaces (like a component who display the properties of an object wich his type change at runtime so the properties changes and so the component displayin...
by SnakeChomp
Thu Dec 01, 2005 11:21 pm
Forum: Announcements and Discoveries
Topic: wxIFM issues
Replies: 15
Views: 4540

This is simply a "feature" and is not really a bug. The windows in the demo have minimum sizes, and if the frame is too small to respect those minimum sizes, things overlap. wxIFM does not try to prevent the frame from becoming too small. This has been explained many times before.
by SnakeChomp
Thu Dec 01, 2005 9:59 pm
Forum: C++ Development
Topic: wxIFM - Build error when define is IFM_CANFLOAT is set to 0
Replies: 1
Views: 1159

I did a stealth update on the 1.0.5 zip available online so that it now contains this fix.
by SnakeChomp
Thu Dec 01, 2005 7:02 pm
Forum: C++ Development
Topic: wxIFM - Remove the 'X' button?
Replies: 7
Views: 3324

If by "draw bug" you mean "components overlap" just make the window bigger. This has existed since before 1.0.
by SnakeChomp
Thu Dec 01, 2005 5:19 am
Forum: Announcements and Discoveries
Topic: wxIFM 1.0.5 - docking library for wxWidgets
Replies: 93
Views: 39671

wxIFM - 1.0.5 Release!

I am anouncing the release of wxIFM 1.0.5. I cannot wait any longer for wxIFM to be integrated into the wxWidgets CVS, so I am finally releasing the many improvements that have been made to wxIFM. Here is a list of changes, with very important ones being marked with !!! : General !!! DLL builds of w...
by SnakeChomp
Thu Dec 01, 2005 4:42 am
Forum: C++ Development
Topic: wxIFM - Remove the 'X' button?
Replies: 7
Views: 3324

I will say this: Do not make the content window dockable. wxIFM is not designed to function without a content window, and the fact that it does so is just because it took 5 minutes to enable the functionality. Please simply specify your content window as the content window without making it dockable...
by SnakeChomp
Wed Nov 30, 2005 8:03 pm
Forum: C++ Development
Topic: wxIFM, Toolbars & resizing
Replies: 8
Views: 5133

Microsoft Visual Studio 2005 uses realtime updates when dragging windows, and so does wxIFM. This is how it will stay. I used to use XOR preview rectangles, but was impossible to implement them efficiently and without redraw artifacts. Other docking packages do not use "dock buttons" as I ...
by SnakeChomp
Wed Nov 30, 2005 7:58 pm
Forum: C++ Development
Topic: Alternatives to Document/View MDI
Replies: 8
Views: 2108

As a followup to my answer, I wrote an article about how to properly design MDI applications. Its only a first draft, but you and others may find it useful. It can be found here: http://www.snakesoft.net/articles/mdi_the_right_way.php
by SnakeChomp
Wed Nov 30, 2005 4:47 pm
Forum: C++ Development
Topic: Alternatives to Document/View MDI
Replies: 8
Views: 2108

It depends what kind of interface you want for your application. Consider the recent versions of MDI from microsoft as seen in MS Office. MSWord opens one window for each document and contains all toolbars and supporting windows inside each document window. This is an option available to you. You ca...
by SnakeChomp
Wed Nov 30, 2005 4:40 pm
Forum: C++ Development
Topic: wxIFM, Toolbars & resizing
Replies: 8
Views: 5133

About flickering, I think you should wait until I release 1.0.5 at which point flickering will not be an issue. Many things have been fixed in 1.0.5 but I am waiting to release it pending decisions being made on wxIFM integration into the wxWidgets CVS.
by SnakeChomp
Wed Nov 30, 2005 2:11 am
Forum: C++ Development
Topic: wxIFM, Toolbars & resizing
Replies: 8
Views: 5133

You do not have the toolbar issue because you are not using wxFrame::CreateToolbar. Using a content window won't fix the problem, as the problem is your sizer, and I don't know whats wrong with it. Maybe if you post more of the code that creates the sizer someone more knowledgable about wxSizers cou...
by SnakeChomp
Tue Nov 29, 2005 9:30 pm
Forum: C++ Development
Topic: cant use wxIFm for MDI Application
Replies: 3
Views: 1131

You can use MDI fine. However, when using MDI + wxIFM, do not use wxFrame::CreateToolbar. It will confuse wxIFM and the confusion cannot be corrected sanely. Use a sizer to position your toolbars that you created yourself, or do something else for toolbars, like dockable palette windows. You need to...