Search found 13 matches

by roarek82
Fri Dec 29, 2006 1:02 am
Forum: C++ Development
Topic: how to get item from sizer...
Replies: 5
Views: 781

any ideas?
by roarek82
Wed Dec 27, 2006 11:14 pm
Forum: C++ Development
Topic: how to get item from sizer...
Replies: 5
Views: 781

I check my code and I think problem is not there... There is a function which I use when I clicked on button: void MyButton::OnButtonClick( wxMouseEvent &event) { //item49->SetToolTip( wxT("SubiektZZZ") ); int i,tmp; int j=0; wxImage bmp0x=GetBitmapLabel().ConvertToImage(); //wxImage next=GetBitmapL...
by roarek82
Wed Dec 27, 2006 9:45 pm
Forum: C++ Development
Topic: how to get item from sizer...
Replies: 5
Views: 781

GetId() working good but its only number of ID wxBitmapButton or other controls but I cant control it...I want one thing. if I click on button A , and I wanna to change Bitmap on button B to do it I must catch wxBitmapButton , ID of wxBitmapButton dont help me...because I cant use SetBitmapLabel. An...
by roarek82
Wed Dec 27, 2006 1:11 am
Forum: C++ Development
Topic: how to get item from sizer...
Replies: 5
Views: 781

how to get item from sizer...

I had function in file Sizers_wdr.cpp wxSizer *MyDialogFunc( wxWindow *parent, bool call_fit, bool set_sizer ) { wxBoxSizer *item0 = new wxBoxSizer( wxVERTICAL ); wxBoxSizer *item1 = new wxBoxSizer( wxHORIZONTAL ); MyButton *item2 = new MyButton( parent, ID_BITMAPBUTTONG1, MyBitmapsFunc21( 6 ), wxDe...
by roarek82
Mon Dec 18, 2006 3:54 pm
Forum: C++ Development
Topic: compare ...wxImage or wxBitmap
Replies: 3
Views: 854

compare ...wxImage or wxBitmap

Is it possible to compare bitmaps in wxWidgets? I mean sth like that: bmp = new wxEmptyBitmap(0,0) bmp2 = new wxEmptyBitmap(0,0) bmp.LoadFile("f:/documenti/calcio.bmp", wxBITMAP_TYPE_BMP); bmp2.LoadFile("f:/documenti/calcio2.bmp", wxBITMAP_TYPE_BMP); and now I want sth like that if (bmp==bmp2) { //c...
by roarek82
Tue Nov 21, 2006 3:36 am
Forum: Compiler / Linking / IDE Related
Topic: Microsoft Visual Studio 2005+wxWidgets 2.8.0 rc1 compiling
Replies: 1
Views: 513

Microsoft Visual Studio 2005+wxWidgets 2.8.0 rc1 compiling

------ Rebuild All started: Project: Projekt, Configuration: Debug Win32 ------ Deleting intermediate and output files for project 'Projekt', configuration 'Debug|Win32' Compiling... Projekt_wdr.cpp c:\program files\wxdesigner\wx/chkconf.h(122) : fatal error C1189: #error : "wxUSE_FS_ARCHIVE must b...
by roarek82
Sat Sep 02, 2006 11:11 pm
Forum: Component Writing
Topic: circle Controls
Replies: 3
Views: 1687

Could you send me to email [email protected] your examples?

I want to know how to make circle buttons and others and how to use SetWindowRgn with wxWidgets.
Regards
Kamil
by roarek82
Sat Sep 02, 2006 3:28 pm
Forum: Component Writing
Topic: circle Controls
Replies: 3
Views: 1687

It is possible in wxWidgets to make sth like this? roundbutton.cpp // RoundButton.cpp : implementation file // // Round Buttons! // // Written by Chris Maunder ([email protected].com) // Copyright (c) 1997,1998. // // Modified: 2 Feb 1998 - Fix vis problem, CRgn resource leak, // button repositi...
by roarek82
Sat Sep 02, 2006 3:24 pm
Forum: Component Writing
Topic: circle Controls
Replies: 3
Views: 1687

circle Controls

Hi. I want to know is it possible to create our circle button using wxWidgets and using wxBitmapButton? How wxBitmapButton is drawing? It is possible to draw circle , not rectangle(which method answer for it?)? This button is rectangle but I want circle or elipse. But there no properties to change b...
by roarek82
Sat Sep 02, 2006 2:28 pm
Forum: C++ Development
Topic: wxBitmapButton question
Replies: 4
Views: 733

Anybody know how to make circle BitmapButton?
by roarek82
Sat Sep 02, 2006 12:52 pm
Forum: C++ Development
Topic: wxBitmapButton question
Replies: 4
Views: 733

and there is Projekt_wdr.cpp begin where is code which I think maybe problem: //------------------------------------------------------------------------------ // Source code generated by wxDesigner from file: Projekt.wdr // Do not modify this file, all changes will be lost! //-----------------------...
by roarek82
Sat Sep 02, 2006 12:34 pm
Forum: C++ Development
Topic: wxBitmapButton question
Replies: 4
Views: 733

Here is my code Projekt.cpp ///////////////////////////////////////////////////////////////////////////// // Name: Projekt.cpp // Author: XX // Created: XX/XX/XX // Copyright: ///////////////////////////////////////////////////////////////////////////// #if defined(__GNUG__) && !defined(NO_GCC_PRAGM...
by roarek82
Sat Aug 26, 2006 2:51 am
Forum: C++ Development
Topic: wxBitmapButton question
Replies: 4
Views: 733

wxBitmapButton question

Hi. I want to change shape of wxBitmapButton. I want to create own custom button. I want create wxBitmapButton with all functions like wxBitmapButton but I dont want rectangle wxBitmapButton. I want to draw button shape. I want to draw elipse or circle button. ANd my question how to do it? I know th...