Search found 210 matches

by emarti
Fri Apr 28, 2006 10:47 pm
Forum: The Code Dump
Topic: wxMRTEdit class
Replies: 1
Views: 1306

Screenshot

Image
by emarti
Fri Apr 28, 2006 10:41 pm
Forum: The Code Dump
Topic: wxMRTEdit class
Replies: 1
Views: 1306

wxMRTEdit class

Download sample & class
http://emarti.50webs.com/MrtEditSample.zip

wxMrtEdit.h

Code: Select all

///////////////////////////////////////////////////////////////////////////////
// Name:		wxMrtEdit.h
// Purpose:     Mrt Style Edit
// Author:      emarti, Murat
by emarti
Fri Apr 28, 2006 10:36 pm
Forum: The Code Dump
Topic: wxScrollText class
Replies: 9
Views: 4076

wxScrollText class

Scrolling Text
Download sample & class
http://emarti.50webs.com/ScrollTextSample.zip

wxScrollText.h

Code: Select all

///////////////////////////////////////////////////////////////////////////////
// Name:		wxScrollText.h
// Purpose:     Scrolling Text
// Author:      emarti, Murat
by emarti
Tue Apr 25, 2006 10:26 pm
Forum: C++ Development
Topic: Using Multiple inheritance for wxWidgets Classes
Replies: 5
Views: 1094

My purpose: Setup wxTextCtrl In wxPanel or wxControl. I do it. But, EVT_WINDOW_ENTER & EVT_WINDOW_LEAVE events works on wxPanel or wxControl only but not wxTextCtrl for Refresh() function. Before refresh, I wanna draw on wxpanel or wxcontrol. In addition, I created event table this class (wxTextCtrl...
by emarti
Mon Apr 24, 2006 11:24 pm
Forum: C++ Development
Topic: Using Multiple inheritance for wxWidgets Classes
Replies: 5
Views: 1094

by emarti
Mon Apr 24, 2006 11:10 pm
Forum: C++ Development
Topic: Using Multiple inheritance for wxWidgets Classes
Replies: 5
Views: 1094

Using Multiple inheritance for wxWidgets Classes

Is it possible that using multiple inheritance for wxwidgets classes? for example: class NewClass : public wxPanel, public wxTextCtrl { public: ...... private: ..... } But, it occurs error while compiling event table. BEGIN_EVENT_TABLE(NewClass,wx??????) //When it is wxPanel or wxTextCtrl, give to m...
by emarti
Fri Apr 21, 2006 7:01 pm
Forum: Compiler / Linking / IDE Related
Topic: VS2005 Wizard with errors in copy of DLLs
Replies: 8
Views: 1780

I also use this wizard. After setup it, I have to do that.

Move vcprojects folder from "C:\Program Files\Microsoft Visual Studio 8\VC\Express"
to
"C:\Program Files\Microsoft Visual Studio 8\VC".

I have no problem. it works very well. it Copies wxDll Files.
by emarti
Thu Apr 20, 2006 9:19 pm
Forum: Compiler / Linking / IDE Related
Topic: VS2005 Wizard with errors in copy of DLLs
Replies: 8
Views: 1780

Which wizard are you using? Link? I wanna test it.

Respectly,
emarti
by emarti
Thu Apr 20, 2006 9:11 pm
Forum: The Code Dump
Topic: Analog Clock Class
Replies: 7
Views: 3286

Thanks HK! This is cross-platform power. I like wxWidgets programming with C++ any platforms.
by emarti
Thu Apr 20, 2006 8:57 pm
Forum: The Code Dump
Topic: (Mo)use(Sen)sitive(Pic)ture(But)ton
Replies: 2
Views: 1283

Thanks :idea: , I take into consideration your opinion while coding another class.
by emarti
Wed Apr 19, 2006 12:20 am
Forum: Compiler / Linking / IDE Related
Topic: VS2005 Wizard with errors in copy of DLLs
Replies: 8
Views: 1780

Hi, In C:\wxWidgets-2.6.3\build\msw, edit config.vc. if (SHARED = 1) { creating dll files} ..... # What type of library to build? [0,1] SHARED = 1 # Compile Unicode build of wxWidgets? [0,1] UNICODE = 0 # Type of compiled binaries [debug,release] BUILD = release ....... And than Open VC 2005 Command...
by emarti
Wed Apr 19, 2006 12:10 am
Forum: C++ Development
Topic: Painting on the transparent part of a wxBitmap
Replies: 1
Views: 492

Hi,
Please, browse wx/sample folder & open "shaped" sample.
by emarti
Tue Apr 18, 2006 11:56 pm
Forum: C++ Development
Topic: wxBITMAP transparency and opacity
Replies: 9
Views: 2315

cyrixware wrote:but sir.. where do i put the image? like for example the "image.png"
Hi,
Please, browse wx sample folder & look at the "rotate" or "pngdemo" sample.
by emarti
Mon Apr 17, 2006 6:52 pm
Forum: C++ Development
Topic: wxBITMAP transparency and opacity
Replies: 9
Views: 2315

You must use wxPaintEvent on the frame.

Code: Select all

void YourFrame::OnPaint(wxPaintEvent& WXUNUSED(event)) 
{    
	wxPaintDC dc(this);
	dc.DrawBitmap(wxBitmap,0,0,true);
} 
by emarti
Mon Apr 17, 2006 6:43 pm
Forum: C++ Development
Topic: wxBitmap and gradient transparency
Replies: 7
Views: 1985

wxBitmap -> wxImage
use wxBitmap::ConvertToImage()
Creates an image from a platform-dependent bitmap.