Search found 207 matches

by spectrum
Mon Dec 14, 2009 2:03 pm
Forum: C++ Development
Topic: wxPropGrid problem
Replies: 5
Views: 1327

To disable user input, could you try just

pg->DisableProperty ("name");
by spectrum
Wed Dec 09, 2009 12:50 pm
Forum: C++ Development
Topic: wxDataViewCtrl, arrow keys
Replies: 3
Views: 620

many thanks, i will try this way.
by spectrum
Mon Dec 07, 2009 1:35 pm
Forum: C++ Development
Topic: wxDataViewCtrl, arrow keys
Replies: 3
Views: 620

wxDataViewCtrl, arrow keys

Hi all,

Keyboard up/down cause the up/down selection of the item.
is there a way to disable the action of arrows keys ?

many thanks
by spectrum
Fri Nov 20, 2009 8:14 am
Forum: C++ Development
Topic: wxSkin, issue with modal dialogs
Replies: 3
Views: 736

Hello, seems i found the issue: wxSkinWindow::OnPaint check for IsEnabled(), and when a modal dialog is issued over, this return false, becouse the keys input is disabled. So the routine redraw using the "disabled" bitmap. Problems i see here are: 1)since is possible (as in my case) that some "disab...
by spectrum
Mon Nov 16, 2009 11:39 am
Forum: C++ Development
Topic: events problem
Replies: 6
Views: 940

i apologize for confusion,

there was a wxYieldIfNeeded, and was causing this events overlapping.

manyt thanks
by spectrum
Mon Nov 16, 2009 10:16 am
Forum: C++ Development
Topic: wxMessageBox() doesn't show
Replies: 1
Views: 599

Hello, seems your window is topmost than the messagebox. Did you try to set the parent parameter to 0 ? Or to make an Hide() to your window before calling ::wxMessageBox ?
by spectrum
Mon Nov 16, 2009 9:55 am
Forum: C++ Development
Topic: events problem
Replies: 6
Views: 940

no, definitely, i removed every chance to have Yields/sleep inside the event handler. This misaligment still happen, i have traces that shows that "OnButtonUp" happen before the exiting from "OnButtonDown". Maybe this can be due to the fact that my Frame handle OnIdle eventy also ? There inside ther...
by spectrum
Thu Nov 12, 2009 9:11 pm
Forum: C++ Development
Topic: events problem
Replies: 6
Views: 940

hi all, doublemax, yes, it happen, normally you don't see it for small event handlers. There is no multithreading for this, is just a simple mechanism: OnBtnDown start -- -- Here Happen OnBtnUp (OnBtnDown execution point is pushed on some stack) OnBtnUp start OnBtnUp exit --- --- OnBtnDown exit You ...
by spectrum
Thu Nov 12, 2009 8:16 pm
Forum: C++ Development
Topic: events problem
Replies: 6
Views: 940

events problem

Hello All, i need some suggestion, in particular if there is a kind of class/tool i can use to remember some events order: i have myframe, i click on a button, the event for button down is emitted. In the following code, OnBtnDown is entered. With a very quick tap on the mouse, "before" OnBtnDown is...
by spectrum
Fri Oct 30, 2009 1:29 pm
Forum: C++ Development
Topic: wxListCtrl disabled color
Replies: 0
Views: 394

wxListCtrl disabled color

Hi all,

i don't know if it is a theme related issue, i am on XP, anyway, i would like the disabled list control with a white background, instead of gray.
Is there any chance ?

Many thanks,
by spectrum
Wed Oct 28, 2009 6:58 pm
Forum: C++ Development
Topic: special semi-modal dialog
Replies: 3
Views: 697

many thanks, anyway, wxWindowsDisabler block the main frame loop. Every kind of for/while loop will not make the main loop to return. And i need it to return since i have to enter the MainFrame::OnIdle where i process some GUI updates. So i have found only one solution actually, let me know if you s...
by spectrum
Wed Oct 28, 2009 6:20 pm
Forum: C++ Development
Topic: wxDataControlView sample
Replies: 1
Views: 308

hello,

you probably mean wxDataViewControl.

I learned from C:\wxWidgets-2.9.0\samples\dataview

regards
by spectrum
Mon Oct 26, 2009 2:48 pm
Forum: C++ Development
Topic: Where find candlestick chart for wxwidgets?
Replies: 4
Views: 1017

hello,

maybe you can try to see http://personales.unican.es/carreracg/web/wxplot.html

regards
by spectrum
Fri Oct 23, 2009 11:15 am
Forum: C++ Development
Topic: wxToolBar Bitmap Issue
Replies: 1
Views: 475

hi miclus, seems there is a logic in this, the toolbar seems to resize all the buttons to new different size button. wxToolBar::SetToolBitmapSize void SetToolBitmapSize(const wxSize& size) Sets the default size of each tool bitmap. The default bitmap size is 16 by 15 pixels. I would solve this using...
by spectrum
Fri Oct 23, 2009 7:10 am
Forum: C++ Development
Topic: wxSkin, issue with modal dialogs
Replies: 3
Views: 736

hi upcase, thanks for the reply, it is strange, what i see is that for example, after a wxDialog::ShowModal, wxIdleEvent of the main wxSkinSimpleFrame is not blocked but is still received in the connected wxSkinSimpleFrame::OnIdle() Also, the wxSimpleFrame bmp skin seems correctly redrawned moving t...