Search found 5 matches

by midou57
Sun Jun 10, 2012 12:12 am
Forum: Compiler / Linking / IDE Related
Topic: image handler
Replies: 2
Views: 1219

Re: image handler

thank you very much thank you very much the problem is solved and for the information TIFF require the wxzlibd.lib
:D
by midou57
Fri Jun 08, 2012 12:02 am
Forum: wxWidgets Development (Russian)
Topic: image handler
Replies: 3
Views: 4272

image handler

hello everyone I want to put a picture.png as the background i use bitmap_1 = new wxStaticBitmap(panel_1, wxID_ANY, wxBitmap(wxT("hmd2.png"), wxBITMAP_TYPE_ANY)); i added #include <wx/image.h> and I tried to add one of these instructions in ::OnInit() wxImage.AddHandler (new wxPNGHandler); or wxInit...
by midou57
Fri Jun 08, 2012 12:00 am
Forum: Compiler / Linking / IDE Related
Topic: image handler
Replies: 2
Views: 1219

image handler

hello everyone I want to put a picture.png as the background i use bitmap_1 = new wxStaticBitmap(panel_1, wxID_ANY, wxBitmap(wxT("hmd2.png"), wxBITMAP_TYPE_ANY)); i added #include <wx/image.h> and I tried to add one of these instructions in ::OnInit() wxImage.AddHandler (new wxPNGHandler); or wxInit...
by midou57
Wed May 16, 2012 1:10 am
Forum: C++ Development
Topic: mouse position
Replies: 2
Views: 927

Re: mouse position

thank you, but i must use the mouse as the handel of the game to hit the ball that i drew :D
by midou57
Mon May 14, 2012 10:18 pm
Forum: C++ Development
Topic: mouse position
Replies: 2
Views: 927

mouse position

hello I'm working on a project where I need to use the position of the mouse to draw a rectangle on the mouse position to use to interact with a ball that I drew , I read about the method in order to do that with wxwidgets and I find this method ::wxGetMousePosition wxPoint wxGetMousePosition() but ...