Search found 13 matches
- Fri Dec 29, 2006 1:02 am
- Forum: C++ Development
- Topic: how to get item from sizer...
- Replies: 5
- Views: 902
- Wed Dec 27, 2006 11:14 pm
- Forum: C++ Development
- Topic: how to get item from sizer...
- Replies: 5
- Views: 902
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...
- Wed Dec 27, 2006 9:45 pm
- Forum: C++ Development
- Topic: how to get item from sizer...
- Replies: 5
- Views: 902
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...
- Wed Dec 27, 2006 1:11 am
- Forum: C++ Development
- Topic: how to get item from sizer...
- Replies: 5
- Views: 902
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...
- Mon Dec 18, 2006 3:54 pm
- Forum: C++ Development
- Topic: compare ...wxImage or wxBitmap
- Replies: 3
- Views: 998
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...
- 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: 565
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...
- Sat Sep 02, 2006 11:11 pm
- Forum: Component Writing
- Topic: circle Controls
- Replies: 3
- Views: 1822
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
I want to know how to make circle buttons and others and how to use SetWindowRgn with wxWidgets.
Regards
Kamil
- Sat Sep 02, 2006 3:28 pm
- Forum: Component Writing
- Topic: circle Controls
- Replies: 3
- Views: 1822
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...
- Sat Sep 02, 2006 3:24 pm
- Forum: Component Writing
- Topic: circle Controls
- Replies: 3
- Views: 1822
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...
- Sat Sep 02, 2006 2:28 pm
- Forum: C++ Development
- Topic: wxBitmapButton question
- Replies: 4
- Views: 797
- Sat Sep 02, 2006 12:52 pm
- Forum: C++ Development
- Topic: wxBitmapButton question
- Replies: 4
- Views: 797
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! //-----------------------...
- Sat Sep 02, 2006 12:34 pm
- Forum: C++ Development
- Topic: wxBitmapButton question
- Replies: 4
- Views: 797
Here is my code Projekt.cpp ///////////////////////////////////////////////////////////////////////////// // Name: Projekt.cpp // Author: XX // Created: XX/XX/XX // Copyright: ///////////////////////////////////////////////////////////////////////////// #if defined(__GNUG__) && !defined(NO_GCC_PRAGM...
- Sat Aug 26, 2006 2:51 am
- Forum: C++ Development
- Topic: wxBitmapButton question
- Replies: 4
- Views: 797
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...