Search found 111 matches

by greg
Sun Mar 14, 2010 8:07 pm
Forum: C++ Development
Topic: wxTreeCtrl and parent window focus issue
Replies: 13
Views: 1812

Thanks Jim
Your third explanation really works well, but ...
I have to move the mouse over my dialog to be focused.
Is there any possibility to set focus to dialog immedialtely when left clicking on tree item?
by greg
Sun Mar 14, 2010 10:31 am
Forum: C++ Development
Topic: wxTreeCtrl and parent window focus issue
Replies: 13
Views: 1812

Jim
Currently I'm using WxWidget 2.8.2 on Windows.
Could You give more details how to apply
Your solutions?

Thanks in advance ...
by greg
Sat Mar 13, 2010 8:29 pm
Forum: C++ Development
Topic: wxTreeCtrl and parent window focus issue
Replies: 13
Views: 1812

I need the control to deal with the mouse click after open the window.
Is there any other solution?
by greg
Sat Mar 13, 2010 7:15 pm
Forum: C++ Development
Topic: wxTreeCtrl and parent window focus issue
Replies: 13
Views: 1812

wxTreeCtrl and parent window focus issue

Hi everyone I have a problem while trying to set focus on parent window to wxTreeCtrl item. When clicking on e.g. item1 my parent windows shows up but not focusing. What I'm doing wrong? Here is my snippet. #include <wx/wx.h> #include "wx/treectrl.h" #include "wx/notebook.h" #include "wx/confbase.h"...
by greg
Mon Feb 15, 2010 12:59 pm
Forum: C++ Development
Topic: wxMiniFrame setting focus problem
Replies: 2
Views: 458

Thanks jfouche

From doc:
"This class has miniframe functionality under Windows and GTK, i.e. the presence of mini frame will not be noted in the task bar and focus behaviour is different".

But I didn't find focus behaviour description (under Windows).

Regards
by greg
Mon Feb 15, 2010 11:39 am
Forum: C++ Development
Topic: wxMiniFrame setting focus problem
Replies: 2
Views: 458

wxMiniFrame setting focus problem

I have problem setting focus on wxMiniFrame called from within wxTreeCtrl class. I tried focus using SetFocus () method but with no success. Here is my code. #include <wx/wx.h> #include "wx/treectrl.h" #include "wx/notebook.h" #include "wx/minifram.h" #include "wx/confbase.h" /* XPM */ static char *...
by greg
Thu Feb 04, 2010 2:07 pm
Forum: C++ Development
Topic: Dialog size problem
Replies: 2
Views: 456

Thanks Jim
Now it works fine.

Regards
by greg
Thu Feb 04, 2010 12:07 pm
Forum: C++ Development
Topic: Dialog size problem
Replies: 2
Views: 456

Dialog size problem

Hi everybody I tried to change wxToolBar's size (only width) I used the following code but besides size change position is changing too. How to avoid this error. I'd like to change only width of my dialog remaining position unchanged. wxPoint pt( this->GetPosition() ); this->SetSize(pt.x, pt.y, 120,...
by greg
Fri Nov 27, 2009 6:33 am
Forum: C++ Development
Topic: wxToolBar tool repositioning problem
Replies: 7
Views: 986

Many thanks to JimFairway! This (DeleteToolByPos) -> works for me perfect till now. By the way I have on more question. I have toolbar inside wxMiniFrame. How can I change width of my wxMiniFrame dialog, without resizing height of my dialog. Is there any method to change automatically my dialog size...
by greg
Wed Nov 25, 2009 11:53 am
Forum: C++ Development
Topic: wxToolBar tool repositioning problem
Replies: 7
Views: 986

Thanks for Your help
I tried this but
after that now I have the following situation:
|A|_____|B|
After adding once again Tool B is in the same place.
I have hidden combo box using Hide method.
Maybe I should remove Combo from dialog - but How?
by greg
Wed Nov 25, 2009 10:40 am
Forum: C++ Development
Topic: wxToolBar tool repositioning problem
Replies: 7
Views: 986

wxToolBar tool repositioning problem

Hi I have the following problem. I've created wxToolBar and added into: A - first bitmap tool (AddTool) Combo - one combo item (AddControl) B - second bitmap tool (AddTool) Below is a little schemat: |A|Combo|B| Now When I click on Tool B I'd like to hide Combo and move tool B to tool A to be adjace...
by greg
Fri Nov 06, 2009 10:31 am
Forum: Compiler / Linking / IDE Related
Topic: Batch build using VC 6.0
Replies: 2
Views: 524

Batch build using VC 6.0

Hello
Is there any way to build wxWidget (eg. from sample dir) application from batch file using Visual Studio 6.0.
I'm looking for some batch sample file.
Any help would be much appreciated.
by greg
Wed Oct 21, 2009 9:21 am
Forum: C++ Development
Topic: wxHTML table's relative height and vertical alignment
Replies: 8
Views: 1013

Hi HzD_Byte
I have the same problem
I'd like to use wxHTML widget not web browser
Could You give the reply how You fix Your problem
by greg
Mon Oct 19, 2009 12:54 pm
Forum: C++ Development
Topic: wxHtmlWindow and Wheel mouse problem
Replies: 4
Views: 786

Thanks doublemax !!!
Now It works perfect !!!
by greg
Mon Oct 19, 2009 10:00 am
Forum: C++ Development
Topic: wxHtmlWindow and Wheel mouse problem
Replies: 4
Views: 786

Sorry but It is not dependant on HTML document.
Rather my source code problem.