Search found 111 matches

by greg
Fri Apr 16, 2010 8:19 am
Forum: C++ Development
Topic: wxTreeCtrl - InsertItem with wxTR_HIDE_ROOT style problem
Replies: 5
Views: 1088

As I wrote previous it returns wrong value -65536.
by greg
Fri Apr 16, 2010 6:35 am
Forum: C++ Development
Topic: wxTreeCtrl - InsertItem with wxTR_HIDE_ROOT style problem
Replies: 5
Views: 1088

Hi frank_frl You understood my problem right. I didn't forget to add root item to every page. But when I set wxTreeCtrl with wxTR_HIDE_ROOT style I get root id=-65536. Auria I'm loading my data into page 1 and 2. My last page (number 3) is empty. After that when choosing page 3 I'd like to add items...
by greg
Thu Apr 15, 2010 6:36 am
Forum: C++ Development
Topic: wxTreeCtrl - InsertItem with wxTR_HIDE_ROOT style problem
Replies: 5
Views: 1088

wxTreeCtrl - InsertItem with wxTR_HIDE_ROOT style problem

Hi everyone I have a problem with wxTreeCtrl. I have created wxNotebook with e.g. 3 pages. Every page has its own wxTreeCtrl with wxTR_HIDE_ROOT style. I have loaded my data into wxTreeCtrl but last page has no tree item yet. After wxTreeCtrl creation when selecting any wxTreeCtrl item (from within ...
by greg
Mon Apr 12, 2010 6:45 am
Forum: C++ Development
Topic: Communicating with Excel trough WxAutomationObject problem
Replies: 4
Views: 1329

Thanks timg for Your advice.
Now It works perfect!
by greg
Thu Apr 08, 2010 6:40 am
Forum: C++ Development
Topic: Communicating with Excel trough WxAutomationObject problem
Replies: 4
Views: 1329

Sorry DoubleMax
It doesn't work properly?
Is any another idea?
by greg
Wed Apr 07, 2010 8:42 am
Forum: C++ Development
Topic: Communicating with Excel trough WxAutomationObject problem
Replies: 4
Views: 1329

Communicating with Excel trough WxAutomationObject problem

Hi all, I am currently working on a application that is able to write Excel files. I have written a small class that is able to communicate with Excel using a wxAutomationObject. However, I am not able to send all the VBA commands that I want to. For example, I want to add bottom border on cell. The...
by greg
Fri Apr 02, 2010 10:37 am
Forum: C++ Development
Topic: Label and image on button
Replies: 9
Views: 3059

Thanks guys for Your help.
Problem is solved.
I decided to use wxThings.
by greg
Fri Apr 02, 2010 9:27 am
Forum: C++ Development
Topic: Label and image on button
Replies: 9
Views: 3059

Auria
You wrote IIRC, wx 2.9 supports having icons+text in buttons

What is it IIRC?
Where can I find supporting for icon and text within a button
in wx 2.9. I was searching in 2.9 manual but without the result.

Thanks to JimFairway too for Your explanation.
by greg
Thu Apr 01, 2010 7:00 am
Forum: C++ Development
Topic: Label and image on button
Replies: 9
Views: 3059

Label and image on button

Hi everyone
How can I add image and label to my custom button in Wx?
See my attachement.
Can anybody give me some piece of code?
by greg
Fri Mar 19, 2010 8:58 am
Forum: C++ Development
Topic: wxWebControl question
Replies: 0
Views: 366

wxWebControl question

I'm trying to apply wxWebControl to my DLL project.
I initialize my web control when my DLL dialog opens using wxWebControl::InitEngine(xulrunner_path);
But I don't know how to manually release web engine
when my DLL dialog is closed.
by greg
Tue Mar 16, 2010 2:00 pm
Forum: C++ Development
Topic: Dynamically Resizing the Toolbar Issue
Replies: 7
Views: 1303

Thanks Auria
Can You give me a little snippet to achive such a wxAUI behavior?
Thanks in advance.
by greg
Tue Mar 16, 2010 8:39 am
Forum: C++ Development
Topic: wxTreeCtrl and parent window focus issue
Replies: 13
Views: 1812

Thanks Jim for Your attention and patience.
Now everything is clear for me.
You helped me a lot!

Once again many thanks and now I'm closing my thread.
by greg
Tue Mar 16, 2010 7:44 am
Forum: C++ Development
Topic: Dynamically Resizing the Toolbar Issue
Replies: 7
Views: 1303

So I'm not able to change toolbar orientation on wxWidget?
You gave me MSDN reference why?
I'm currently staying on wxWidget.
by greg
Mon Mar 15, 2010 8:29 pm
Forum: C++ Development
Topic: Dynamically Resizing the Toolbar Issue
Replies: 7
Views: 1303

Dynamically Resizing the Toolbar Issue

Hi I have a toolbar created on wxMiniFrame dialog. I'd like to resize floating toolbars dynamically. Typically, my toolbar has a long, linear shape with some icons, displayed horizontally. But I'd like to change the toolbar's orientation to vertical while dragging toolbar's window. Is it possible? I...
by greg
Mon Mar 15, 2010 8:10 pm
Forum: C++ Development
Topic: wxTreeCtrl and parent window focus issue
Replies: 13
Views: 1812

Thanks Jim fot your help ! I tried Your code but I'm not quite satisfied. I'd like to have control on tree events. I ' like to control such a scenario: Left click mouse event on tree item and after that (when the mouse event on tree is finished) send focus to my newly created dialog. Maybe wxSleep t...