Search found 607 matches

by eranif
Sun Jan 01, 2006 4:13 pm
Forum: The Code Dump
Topic: wxFlatNotebook
Replies: 248
Views: 57519

T-Rex - I accepted your changes,

However, I am now working on adding new style - VC7.1 style then I will re-publisj the source (will take a day, maybe later on today i will load them)

Eran
by eranif
Sat Dec 31, 2005 9:31 pm
Forum: The Code Dump
Topic: wxFlatNotebook
Replies: 248
Views: 57519

Hi , Just wanted to update you that I updated the class, it now contains the following changes: 1. Ctrl+Tab / Ctrl + Shift + Tab are now supported. 2. Fixed bug in the scrolling when resizing the control, you might have missed some tabs ... 3. The directory files is now changed to suite the usuall c...
by eranif
Sat Dec 31, 2005 8:44 am
Forum: The Code Dump
Topic: wxFlatNotebook
Replies: 248
Views: 57519

Hi, USTabCtrl.cpp/h - is a left over, you can safely remove it. The notebook is under the usual wxWidgets license You can take it for Code::blocks (and yes, I have heard about it) The API implemented is similar to the common wxNotebook, so you could expect the functions to work the same only one fuc...
by eranif
Fri Dec 30, 2005 1:14 pm
Forum: The Code Dump
Topic: wxFlatNotebook
Replies: 248
Views: 57519

wxFlatNotebook

Hi, For a project I am working, I needed a more "modern" notebook, than the one that come with wxWidgets. Searching here I did found here a flat tab control - but however I found it with some flaws: 1. It did not manage to windows but only the tabs drawing. 2. If I opened too many tabs the drawing i...
by eranif
Mon Dec 19, 2005 12:24 pm
Forum: C++ Development
Topic: wxWidgets from CVS
Replies: 2
Views: 513

wxWidgets from CVS

Hi, I have downloaded wxWidgets from the CVS, (downloaded modules wxSample & wxMSW) When trying to build it (using VC7.1) I am getting errors: Tool error .. after investigating it a bit i noticed that before compiling of every library, VC attempts to copy the file setup.h to some location. However, ...
by eranif
Sun Dec 11, 2005 6:05 am
Forum: C++ Development
Topic: wxIFM: Is there a way to keep windows layout when exiting?
Replies: 1
Views: 677

wxIFM: Is there a way to keep windows layout when exiting?

Hi,

Is there a way to keep the windows laytou when exiting? something like:

SaveLayout() or should I implement it by myself?

Eran
by eranif
Thu Dec 08, 2005 8:04 pm
Forum: C++ Development
Topic: Getting notify when focus is lost on modless dialog?
Replies: 1
Views: 504

Getting notify when focus is lost on modless dialog?

Hi,

Like the title says:

I have a modless dialog and i wish to get notified when it loses the focus.
I tried to set in the dialog an event handler


Code: Select all

EVT_KILL_FOCUS(USDlg::OnKillFocus)
..
void USDlg::OnKillFocus(wxFocusEvent& event)
{
  Hide();
}


and nothing happen
Thanks in advance,
Eran
by eranif
Wed Dec 07, 2005 2:49 pm
Forum: C++ Development
Topic: wxMenu: Crash when typing a char
Replies: 8
Views: 1126

mmm... maybe I wasnt clear enough:

My application with your change still does *not* work - even when allocating the icon on the heap.

The only thing that does work - is not using icons in the menu

Regards,
Eran
by eranif
Wed Dec 07, 2005 2:37 pm
Forum: C++ Development
Topic: Use NOteBook wxNB_LEFT in winXp
Replies: 4
Views: 936

In windows XP I belive the only style supported is wxNB_TOP.

If you are using XP Theme this is the only style supported. If you will switch to 'Windows Classic View' you can then have all the styles supported

Eran
by eranif
Wed Dec 07, 2005 2:21 pm
Forum: C++ Development
Topic: wxMenu: Crash when typing a char
Replies: 8
Views: 1126

My menus are created using C++ code, only the icons are loaded from XRC files. I too did check the samples - all works fine, however they are not using any icons - this is what lead me to remove the icons from the menu - and it worked. Jorg, I tried to load the bitmap in a different way, still no lu...
by eranif
Wed Dec 07, 2005 2:08 pm
Forum: C++ Development
Topic: using wxTreeCtrl::SortChildren under MSW
Replies: 5
Views: 1332

I encountered the same problem a week ago - and fixed it in the same way - i simply asscoicated an treeitemdata to every wxTreeItemId in the tree. What I still cant understand is why do I need to associate treeItemData for the sort to work? The sort should work on the Label & Icons not on my data! C...
by eranif
Wed Dec 07, 2005 1:50 pm
Forum: C++ Development
Topic: wxMenu: Crash when typing a char
Replies: 8
Views: 1126

I am using xrc file, my icons are loaded like this:

Code: Select all

 
item = new wxMenuItem( ... );
:
wxBitmap xmlbitmap = wxXmlResource::Get()->LoadBitmap(wxT(itemArr[itemCounter].imgName)); 
if(xmlbitmap.Ok())
    item->SetBitmap(xmlbitmap);
Eran
by eranif
Wed Dec 07, 2005 12:56 pm
Forum: C++ Development
Topic: wxMenu: Crash when typing a char
Replies: 8
Views: 1126

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: 1126

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 Files Recent Wo...
by eranif
Mon Dec 05, 2005 9:31 pm
Forum: C++ Development
Topic: How to grab focus?
Replies: 1
Views: 621

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...