Search found 39 matches

by rajan_m
Tue Apr 29, 2014 2:08 pm
Forum: C++ Development
Topic: wxTextOutputStream slow for network I/O
Replies: 3
Views: 1882

Re: wxTextOutputStream slow for network I/O

thanks doublemax, using the wxBufferedOutputStream its writing quickly but its incomplete!.

for my sample code the data ends at
.
.
<value>99971</value>
<value>99972</

it has to end with

<value>99999</value>

Using windows 7 and wxWidgets 2.8.12
by rajan_m
Tue Apr 29, 2014 11:01 am
Forum: C++ Development
Topic: wxTextOutputStream slow for network I/O
Replies: 3
Views: 1882

wxTextOutputStream slow for network I/O

Hi, When I write a file in the local machine its writing fine. but when I tried to write a file in the network its very slow. wxFileOutputStream* pfileoutputStream = new wxFileOutputStream("//192.80.80.24/Nuvsoft24_Common/wx_test.txt");//slow wxTextOutputStream* ptextOutputStream = new wxTextOutputS...
by rajan_m
Mon Feb 03, 2014 3:40 pm
Forum: Platform Related Issues
Topic: wxDialog with minimize/maximize button in linux
Replies: 5
Views: 1998

Re: wxDialog with minimize/maximize button in linux

Hi, Try using the style wxDEFAULT_DIALOG_STYLE | wxMAXIMIZE_BOX | wxRESIZE_BORDER. That works for me (debian, kde). And no, I don't know why the wxRESIZE_BORDER is needed. Thanks for your reply and its not working for me. using gnome version 2.16.0 tried : wxDialog( parent, id, title, pos, size,wxD...
by rajan_m
Mon Feb 03, 2014 11:01 am
Forum: Platform Related Issues
Topic: wxDialog with minimize/maximize button in linux
Replies: 5
Views: 1998

wxDialog with minimize/maximize button in linux

Hi, Is there a way to get wxDialog with minimize and maximize button? i've gone through this http://forums.wxwidgets.org/viewtopic.php?f=1&t=8492&p=38790&hilit=wxDialog+linux+minimize+linux+wxDialog+minimize#p38790 , but i realy need to know whether its possible with dialog itself. wxWidgets 2.8.10 ...
by rajan_m
Tue May 07, 2013 8:02 am
Forum: C++ Development
Topic: Forcing event type value to constant\custom values
Replies: 4
Views: 2655

Re: Forcing event type value to constant\custom values

I just took a closer look at the source. It seems you have to set WXWIN_COMPATIBILITY_EVENT_TYPES to 1 even in 2.8.x,. I can't use WXWIN_COMPATIBILITY_EVENT_TYPES , since using the event type declaration macro for creating new event types. Will it happen when user adds new event type using followin...
by rajan_m
Mon May 06, 2013 10:34 am
Forum: C++ Development
Topic: Forcing event type value to constant\custom values
Replies: 4
Views: 2655

Re: Forcing event type value to constant\custom values

Actually they are created at runtime. The only way for you to avoid this, would be to go back to wx 2.8.x we are using wxWidgets 2.8.10 for windows. event type value chage occured within 2.8.10 version itself! Will it happen when user adds new event type using following macro: // in the header of t...
by rajan_m
Fri May 03, 2013 2:59 pm
Forum: C++ Development
Topic: Forcing event type value to constant\custom values
Replies: 4
Views: 2655

Forcing event type value to constant\custom values

Hi, Building wxWidgets library generates event type values i.e., wxEVT_COMMAND_BUTTON_CLICKED value to 10018 when i again built the library it generates different set of event type values for e.g wxEVT_COMMAND_BUTTON_CLICKED value to 10032. Is there a way to force generated event type values to a co...
by rajan_m
Wed Feb 13, 2013 6:54 am
Forum: Component Writing
Topic: How to get Tooltip with icons?
Replies: 2
Views: 5460

Re: How to get Tooltip with icons?

doublemax wrote:wxRichToolTip (available since 2.9.3) lets you create more fancy tooltips...
we are using wxWidgets version 2.8.10, any idea for that?
by rajan_m
Tue Feb 12, 2013 1:03 pm
Forum: Component Writing
Topic: How to get Tooltip with icons?
Replies: 2
Views: 5460

How to get Tooltip with icons?

Hi,

is there any way we can pass a icon to a tooltip along with the message as shown below?.
by rajan_m
Fri Feb 08, 2013 1:43 pm
Forum: C++ Development
Topic: Does wxWidgets supports the touch interface and gestures ?
Replies: 1
Views: 1157

Does wxWidgets supports the touch interface and gestures ?

Hi,

We are currently having desktop application built with wxWidgets and planning to support touch interface.
Is it possible to do so with wxWidgets?.
If Yes, then what are the changes needed?.
is there any samples available?.
by rajan_m
Thu Nov 29, 2012 9:41 am
Forum: C++ Development
Topic: wxScrolledWindow with more child control scroll problem
Replies: 2
Views: 1013

wxScrolledWindow with more child control scroll problem

Hi,

I'm having a wxScrolledWindow with thousands of child controls the problem is when i try to scroll the system hangs. is there any solution for that?
by rajan_m
Wed Nov 07, 2012 5:03 am
Forum: C++ Development
Topic: wxTextInputStream::ReadLine() removes tabspace
Replies: 2
Views: 1123

Re: wxTextInputStream::ReadLine() removes tabspace

doublemax wrote:Try setting the word separator to wxEmptyString, although it shouldn't affect the behavior of ReadLine().
Thanks doublemax it works fine.
by rajan_m
Mon Nov 05, 2012 2:30 pm
Forum: C++ Development
Topic: wxTextInputStream::ReadLine() removes tabspace
Replies: 2
Views: 1123

wxTextInputStream::ReadLine() removes tabspace

Hi,

I'm trying to read a ascii file line by line using wxTextInputStream::ReadLine() it removes the tabspaces before the string and returns only the strings.How to get tabspaces along with string?.

Regards,
Rajan.M
by rajan_m
Mon Jul 23, 2012 11:48 am
Forum: Platform Related Issues
Topic: Transparent Bitmaps in GTK build : wxWidgets 2.9.3
Replies: 9
Views: 4293

Re: Transparent Bitmaps in GTK build : wxWidgets 2.9.3

Yes, it works: wxImage image( 64, 64 ); image.InitAlpha(); unsigned char *alpha=image.GetAlpha(); memset(alpha, wxIMAGE_ALPHA_TRANSPARENT, image.GetWidth()*image.GetHeight()); wxGraphicsContext *gc=wxGraphicsContext::Create(image); gc->SetBrush( *wxRED_BRUSH ); gc->SetPen( *wxTRANSPARENT_PEN ); gc-...
by rajan_m
Mon Jul 23, 2012 5:13 am
Forum: Component Writing
Topic: Custom control with transparent parent
Replies: 3
Views: 6507

Re: Transparent control with transparent bitmap

Nelson thanks for your reply. Yes i tried with wxTRANSPARENT_WINDOWand wxBORDER_NONE style for the transparent control but the problem is the background is not updated when we move the parent frame.