Search found 211 matches

by lester
Mon Apr 28, 2008 12:13 pm
Forum: C++ Development
Topic: Silverlight controls in wxHtmlWindow
Replies: 7
Views: 1144

It's possible to insert own control to wxHtml( I have found such code inside wxWidgets - but maybe it's undocumented ), but... wxHtml is unuseble when work with htpp:// ( very very often hung - atleast for me ) and can show only simple pages( You can try for example http://forums.wxwidgets.org/ for ...
by lester
Mon Apr 28, 2008 11:18 am
Forum: C++ Development
Topic: Qn related to wxchoice
Replies: 3
Views: 542

hilda wrote:hi lester,
lester said,SetStringSelection?
i tried as u said
scbType->SetStringSelection( grid->GetCellValue( ilRow, 3 ).Trim() );
it works .:lol:
Thank u.
i'm glad to help you :)
by lester
Mon Apr 28, 2008 10:51 am
Forum: C++ Development
Topic: Qn related to wxchoice
Replies: 3
Views: 542

SetStringSelection?
by lester
Mon Apr 28, 2008 9:00 am
Forum: C++ Development
Topic: z-ordering
Replies: 3
Views: 627

FireMail wrote:yes OS is windows.

so when i want to have multiple static bitmaps that overlap, i would also need to draw them myself?
On windows - maybe yes, I also have trobles with ZOrder( and solve it by manually draw and redirect events ) on other OS( Mac OSX and Linux ) all work fine
by lester
Mon Apr 28, 2008 8:28 am
Forum: C++ Development
Topic: z-ordering
Replies: 3
Views: 627

Windows? :) for draw background bitmap better use paint event - Connect( wxEVT_PAINT, wxPaintEventHandler( ...::OnPaint ) );
by lester
Sat Apr 26, 2008 6:28 pm
Forum: C++ Development
Topic: Cant see the problem??
Replies: 8
Views: 977

please show declaration of WxPanel3
by lester
Sat Apr 26, 2008 3:57 pm
Forum: C++ Development
Topic: wxStyledTextCtrl: how to color keywords
Replies: 4
Views: 742

m_stc->StyleSetForeground( wxSTC_SQL_WORD, wxColour(65, 1, 254) );
by lester
Sat Apr 26, 2008 1:16 pm
Forum: wxWidgets Development (Russian)
Topic: Как изменить порядок виджетов?
Replies: 10
Views: 3398

вобщем на досуге попытаюсь руками сделать свой ZOrder через ручную отрисовку на wxClientDC и перенаправлении событий мыши родителю, а от него верхнему виджету по позиции
by lester
Sat Apr 26, 2008 12:24 pm
Forum: C++ Development
Topic: wxStyledTextCtrl: how to color keywords
Replies: 4
Views: 742

please try add m_stc->SetLexer(wxSTC_LEX_SQL); also for StyleSetForeground You must use one of this: #define wxSTC_SQL_COMMENT 1 #define wxSTC_SQL_COMMENTLINE 2 #define wxSTC_SQL_COMMENTDOC 3 #define wxSTC_SQL_NUMBER 4 #define wxSTC_SQL_WORD 5 #define wxSTC_SQL_STRING 6 #define wxSTC_SQL_CHARACTER 7...
by lester
Sat Apr 26, 2008 11:34 am
Forum: C++ Development
Topic: wxDatePickerCtrlGeneric Error
Replies: 2
Views: 531

#include <wx/datectrl.h> ?

also wx has many setup files - check that You set wxUSE_DATEPICKCTRL_GENERIC to 1 in all setup.h and setup0.h files in wxWidgets folder and rebuild wx
by lester
Sat Apr 26, 2008 11:32 am
Forum: C++ Development
Topic: Cant see the problem??
Replies: 8
Views: 977

Try TreeView( (wxWindow*) WxPanel3, (int) ID_WXTREECTRL1, wxPoint(1,-3), wxSize(487,260), wxTR_HAS_BUTTONS);
by lester
Sat Apr 26, 2008 8:06 am
Forum: C++ Development
Topic: How to get drive list under Windows ?
Replies: 2
Views: 1101

That's wx internal function - You just need to remove unused code / ---------------------------------------------------------------------------- // wxGetAvailableDrives, for WINDOWS, DOS, OS2, MAC, UNIX (returns "/") // ---------------------------------------------------------------------------- siz...
by lester
Fri Apr 25, 2008 5:34 pm
Forum: C++ Development
Topic: using wxConfigFile
Replies: 8
Views: 1432

Code: Select all

  wxFileConfig(wxInputStream &inStream, const wxMBConv& conv = wxConvAuto());
may be also useful
by lester
Fri Apr 25, 2008 5:32 pm
Forum: C++ Development
Topic: using wxConfigFile
Replies: 8
Views: 1432

// ctor & dtor // New constructor: one size fits all. Specify wxCONFIG_USE_LOCAL_FILE or // wxCONFIG_USE_GLOBAL_FILE to say which files should be used. wxFileConfig(const wxString& appName = wxEmptyString, const wxString& vendorName = wxEmptyString, const wxString& localFilename = wxEmptyString, co...
by lester
Wed Apr 23, 2008 6:53 pm
Forum: C++ Development
Topic: How to show modal dialog in this way on Mac OSX ?
Replies: 6
Views: 1391

I have found solution :))))

SetWindowClass (
(WindowRef) dialog->MacGetWindowRef(),
kSheetWindowClass );

ShowSheetWindow (
(WindowRef) dialog->MacGetWindowRef(),
(WindowRef) frame->MacGetWindowRef() );

with some other functions make it