Search found 96 matches

by MuhammadSohail
Mon Mar 23, 2009 10:16 am
Forum: C++ Development
Topic: wxTextCtrl with windows xp style
Replies: 3
Views: 460

How can i force the wxwindows to dont show the horizontal scrollbar ??
by MuhammadSohail
Thu Mar 19, 2009 3:50 pm
Forum: C++ Development
Topic: wxTextCtrl with windows xp style
Replies: 3
Views: 460

wxTextCtrl with windows xp style

Multi-line text controls support the styles, i.e. provide a possibility to set colours and font for individual characters in it (note that under Windows wxTE_RICH style is required for style support). I used the text ctrl with size wxSize(495, 20) and the following style wxTE_LEFT|wxTE_MULTILINE |wx...
by MuhammadSohail
Tue Mar 10, 2009 11:39 am
Forum: C++ Development
Topic: wxGrid and validator
Replies: 11
Views: 2732

The callback function only called if the cell is currently selected. e.g. --------------- --------------- If i double click on the cell and starts writing , --------------- 0fg --------------- Here 'g' is not allowed but the callback functions are not invoked to validate this character. Why?? My cod...
by MuhammadSohail
Mon Mar 09, 2009 10:08 am
Forum: C++ Development
Topic: wxGrid and validator
Replies: 11
Views: 2732

My question is the same, the callback function only called if the cell is currently selected. If i double click on the cell and starts writing , this function doesnot invoked. Why??
by MuhammadSohail
Thu Mar 05, 2009 3:45 pm
Forum: C++ Development
Topic: wxGrid and validator
Replies: 11
Views: 2732

For your ino: i want to write in the selected cell
00000 - FFFFF
by MuhammadSohail
Thu Mar 05, 2009 3:36 pm
Forum: C++ Development
Topic: wxGrid and validator
Replies: 11
Views: 2732

I have my own HexNumberEditor implemented as you said, but unfortunately it only works if the cell is currently selected and then key is pressed. If i double click on the cell and starts writing again, editor doesnot call the overloaded functions. why?? class HexNumberEditor : public wxGridCellTextE...
by MuhammadSohail
Thu Mar 05, 2009 2:10 pm
Forum: C++ Development
Topic: wxGrid and validator
Replies: 11
Views: 2732

i have wxWidget_v2.8.8

I could not find these methods in the documentation
wxGridCellEditor::IsAcceptedKey(event)
wxIsxdigit(keycode)
by MuhammadSohail
Thu Mar 05, 2009 10:33 am
Forum: C++ Development
Topic: wxGrid and validator
Replies: 11
Views: 2732

wxGrid and validator

Is there any method or way to create wxGrid with validator on each cell.

At the mement, wxGrid provides wxGridCellTextEditor, wxGriddCellNumberEditor,... for each cell.

How do i set the hex nuumber validor on each cell of the Grid?
by MuhammadSohail
Wed Feb 18, 2009 10:21 am
Forum: wxDev-C++
Topic: Dev-C++ and wxWidget installation
Replies: 3
Views: 804

The "compler option" is used to change libraraies.I want to link my own compiled libraries with wxDevC++.

How can i build the wxWidget sources with gcc compiler ? and link those libraries with wxDevC++?
by MuhammadSohail
Mon Feb 16, 2009 5:05 pm
Forum: wxDev-C++
Topic: Dev-C++ and wxWidget installation
Replies: 3
Views: 804

Dev-C++ and wxWidget installation

Currently website contains the installation instructions for the following versions
Dev-C++ 4,
wxWidgets 2.3.3

Is there any tutorial for the latest versions or what changes are needed for the following versions

Dev-C++ 5.0 beta 9.2 (4.9.9.2)
wxWidget 2.8.9
by MuhammadSohail
Fri Oct 31, 2008 1:36 pm
Forum: C++ Development
Topic: Is there any event handler ( onItemSelecting) in wxListCtrl
Replies: 5
Views: 545

Yes you are right . on selecting again the item1 ,wxWidgets calls again the onItemSelect event that i dont want .

Do you know any flag to avoid onItemSelect event while selecting the item ?
by MuhammadSohail
Fri Oct 31, 2008 12:04 pm
Forum: C++ Development
Topic: Is there any event handler ( onItemSelecting) in wxListCtrl
Replies: 5
Views: 545

I already know these events ITEM_SELECTED and ITEM_DESELECTED
my quuestion is about the event ON_ITEM_SELECTING

Problem:
item1 (currently selected)
item2

if the user clicks on the item2 , wxWidgets calls onItemDeselect and onItemSelect event respetively, This behaviour i dont want (see above)
by MuhammadSohail
Fri Oct 31, 2008 9:59 am
Forum: C++ Development
Topic: Is there any event handler ( onItemSelecting) in wxListCtrl
Replies: 5
Views: 545

Is there any event handler ( onItemSelecting) in wxListCtrl

Hallo , I want to check the status of the curently selected item before selecting the next item in the wxListCtrl. example: name description -- item1 (cuurently selected item) name description -- item2 User wants to change selection from item1 to item2 .Before changing the current selecting to item2...
by MuhammadSohail
Sat Mar 15, 2008 5:27 pm
Forum: C++ Development
Topic: Not Enough memory avaialbale Error
Replies: 21
Views: 1606

Thanks a lot phlox for your help.

Another error

Code: Select all

vc.RegisterView(PanelTreeId::NAME_PANEL,  PanelCreator<NamePanel>()); 
this must be

Code: Select all

vc.RegisterView(PanelTreeId::NAME_PANEL, new PanelCreator<NamePanel>()); 
by MuhammadSohail
Sat Mar 15, 2008 10:48 am
Forum: C++ Development
Topic: Not Enough memory avaialbale Error
Replies: 21
Views: 1606

hi phlox, In my application each panel has unique panel index. Therefore i have designed the new concept. what is your opinion??? If i mistake let me know //Each panel is derived from ConfigPanel class ConfigPanel : public wxPanel class NamePanel : public ConfigPanel class TriggerPanel : public Conf...