Search found 211 matches

by lester
Sat May 12, 2007 8:29 pm
Forum: C++ Development
Topic: how do you change a notebooks tab text color??
Replies: 7
Views: 1030

that`s maybe was so hard to change wx :))))
1) you must read docs

2) wxAuiDefaultTabArt used for draw tabs, you can see it in wxWidgets\include\wx\aui\auibook.h, if you really is programmer you can change color of text in tab

Best regards :)
by lester
Fri May 11, 2007 4:49 pm
Forum: C++ Development
Topic: how do you change a notebooks tab text color??
Replies: 7
Views: 1030

I have include files from wxFlatNotebook to my project and change it
by lester
Fri May 11, 2007 4:42 pm
Forum: C++ Development
Topic: Time Ctrl
Replies: 2
Views: 552

thanks
by lester
Fri May 11, 2007 5:26 am
Forum: C++ Development
Topic: XPM from wxBitmap
Replies: 3
Views: 455

Maybe it`s bug of wxWidgets:

a_pBitmap->SaveFile( t_strFile, wxBITMAP_TYPE_XPM )
create broken .xpm ( invalid colors ) for bitmap with large size

how I can make large .xpm?
by lester
Fri May 11, 2007 4:48 am
Forum: C++ Development
Topic: text format and text style
Replies: 1
Views: 621

wxFont tFont = *wxNORMAL_FONT;
tFont.SetWeight( wxBOLD );
tFont.SetPointSize( 20 );
...

ctrl->SetFont( tFont );

Please, first read wxWidgets docs - it`s not hard...
by lester
Fri May 11, 2007 4:34 am
Forum: C++ Development
Topic: Time Ctrl
Replies: 2
Views: 552

Time Ctrl

I need for TimeCtrl like wxCalendarCtrl, but that show and edit time, maybe already exist such component?
by lester
Fri May 11, 2007 3:32 am
Forum: C++ Development
Topic: Colored text on the wxTextCtrl
Replies: 1
Views: 559

txtctrl->SetForegroundColour( *wxRED );
by lester
Fri May 11, 2007 3:16 am
Forum: C++ Development
Topic: how to limit text in the txt control
Replies: 5
Views: 793

always glad to help
by lester
Fri May 11, 2007 3:02 am
Forum: C++ Development
Topic: how to limit text in the txt control
Replies: 5
Views: 793

txtctrl->SetMaxLength(5);
by lester
Fri May 11, 2007 2:59 am
Forum: C++ Development
Topic: how do you change a notebooks tab text color??
Replies: 7
Views: 1030

maybe it`s impossible ( hard to do ), try wxFlatNotebook or wxAuiNotebook ( with wx 2.8 )
by lester
Fri May 11, 2007 2:27 am
Forum: C++ Development
Topic: how to limit text in the txt control
Replies: 5
Views: 793

wxTextCtrl::SetMaxLength(unsigned long len)
by lester
Thu May 10, 2007 5:12 pm
Forum: C++ Development
Topic: How do i make a vector or an Array of wxPanels....
Replies: 8
Views: 1077

try that:

Code: Select all

*.h

WX_DECLARE_OBJARRAY( wxPanel, ArrayOfPanels);

*.cpp

#include <wx/arrimpl.cpp> // this is a magic incantation which must be done!
WX_DEFINE_OBJARRAY(ArrayOfPanels);
by lester
Thu May 10, 2007 4:51 pm
Forum: C++ Development
Topic: Binary or plain text?
Replies: 5
Views: 1023

wxString::IsAscii
by lester
Thu May 10, 2007 8:27 am
Forum: C++ Development
Topic: Shape of Frame
Replies: 2
Views: 620

wxFrame* t_pWindow = new wxFrame( NULL, -1, _("Title"), wxDefaultPosition, wxDefaultSize, wxNO_BORDER | wxFRAME_SHAPED | wxFRAME_NO_TASKBAR | wxSTAY_ON_TOP ); m_pWindow->Freeze(); m_pWindow->SetTransparent( 192 ); m_pWindow->SetSize( wxSize( 200, 200 ) ); wxBitmap tBmp( 200, 200 ); wxMemoryDC tDC( ...