Search found 88 matches

by idhan
Fri Sep 29, 2006 12:38 pm
Forum: C++ Development
Topic: embedded resource problem
Replies: 1
Views: 398

embedded resource problem

Hi, I am try to use some embedded resources in to my application. I have compile the "wxrc" utility and I am to use the follow script: ----------------- <?xml version="1.0"?> <resource version="2.3.0.1"> <object class="wxImage" name="ApplicationPresentation">Presentation.png</object> </resource> ---...
by idhan
Thu Sep 28, 2006 10:34 am
Forum: C++ Development
Topic: Resources in visual studio 2005???
Replies: 2
Views: 605

Thanks...

I solve the problem.. to get the label I only need to include a visual studio resources type and then delete it, but I get the label "Resources" and I can modified it for wxwidgets resources type :-)
by idhan
Thu Sep 28, 2006 9:57 am
Forum: C++ Development
Topic: Resources in visual studio 2005???
Replies: 2
Views: 605

Resources in visual studio 2005???

Hi, I want to use some resources on my wx application, and I want to include my resources files in the project properties, but I dont' know why I don't have the label "Resources" in the "Configuration Properties" on Visual Studio 2005 Project. I start my project from a blank project and I have confi...
by idhan
Wed Sep 27, 2006 4:07 pm
Forum: C++ Development
Topic: How to use the scroll mouse on opengl view (GLCanvas)???
Replies: 13
Views: 2950

I am using 2.6.3-1
by idhan
Fri Sep 22, 2006 5:30 pm
Forum: C++ Development
Topic: How to use the scroll mouse on opengl view (GLCanvas)???
Replies: 13
Views: 2950

Yes I did.. and the function GetWheelRotation() is always 0, that's why nothing happens... :-(
by idhan
Fri Sep 22, 2006 5:28 pm
Forum: C++ Development
Topic: How to use shape windows with transparent png color??
Replies: 0
Views: 306

How to use shape windows with transparent png color??

Hi, I am try to display a shape windows using a png image, and the png image has a transparent background. The problem is that I don't know how to define this color on my wxRegion class. I know that I could use a specific color to fill the transparent area, but always I get some undesirable color on...
by idhan
Fri Sep 22, 2006 3:20 pm
Forum: C++ Development
Topic: How to use the scroll mouse on opengl view (GLCanvas)???
Replies: 13
Views: 2950

void glclassView::OnCamera(wxMouseEvent &event)
{
...
if(event.GetWheelRotation()!=0)
{
fCameraRadio += event.GetWheelRotation()*200;
glUpdateCamera();
ActivatedVisualUpdate();
// HERE NOTHING HAPPENS
}
...
}
by idhan
Wed Sep 06, 2006 10:49 am
Forum: C++ Development
Topic: How to use the scroll mouse on opengl view (GLCanvas)???
Replies: 13
Views: 2950

That isn't the problem, because I can change the camera position and many other options using the mouse event, the problem is only this particular event :-(, perhaps wxwidgets has a bug under windows 64 bits...
by idhan
Tue Sep 05, 2006 10:25 pm
Forum: C++ Development
Topic: How to use the scroll mouse on opengl view (GLCanvas)???
Replies: 13
Views: 2950

Thanks for you answers,

I have more and less the same code...the same IF under the same event but doesn't work..

Is you code running under window or linux?

thanks again
by idhan
Tue Sep 05, 2006 9:10 pm
Forum: C++ Development
Topic: How to use the scroll mouse on opengl view (GLCanvas)???
Replies: 13
Views: 2950

How to use the scroll mouse on opengl view (GLCanvas)???

Hi, I have asked this question long time ago but without answer.... so.. here I go again :-) under windows and wxwidgets, I have some 3D graphics with GLCanvas... and I try to catch the scroll event with the mouse over this GLCanvas widget but the mouse never generate any event, that means GetWheelR...
by idhan
Tue Sep 05, 2006 8:55 pm
Forum: Compiler / Linking / IDE Related
Topic: How to compile the wxwidgets for debug and release mode..???
Replies: 2
Views: 1347

thanks for answer my question :-) but still I have one... under MVC++ I use the two type of libraries realse and debug, that means for example wxmsw26_gl.lib for release mode and wxmsw26d_gl.lib for debug mode (notice the "d") and if I do not so then doesn't work... I get error in the compile proces...
by idhan
Fri Sep 01, 2006 11:21 am
Forum: Compiler / Linking / IDE Related
Topic: How to compile the wxwidgets for debug and release mode..???
Replies: 2
Views: 1347

How to compile the wxwidgets for debug and release mode..???

Hi, I am using codeblocks and mingw. I have compile wxwidgets 2.6.2 using this guide: - http://www.wxwidgets.org/wiki/index.php/CodeBlocks_Setup_Guide and it compile without problem :-) After that... I have open a new project wxWidgets.. the minimal example and it compile without error or warning an...
by idhan
Tue Aug 22, 2006 12:09 pm
Forum: C++ Development
Topic: How to copy a opengl view on a wxBitmap o wxImage?? help!!!
Replies: 2
Views: 1058

Thanks... that was my error... :-)
by idhan
Tue Aug 22, 2006 11:49 am
Forum: C++ Development
Topic: How to copy a opengl view on a wxBitmap o wxImage?? help!!!
Replies: 2
Views: 1058

How to copy a opengl view on a wxBitmap o wxImage?? help!!!

Hi, I am drawing some opengl view and I want to copy it the current image of my GLCanvas in a wxBitmap or wxImage..this is my code.. onPaint(.....) { wxPaintDC dc(this); // Here is the opengl command.. // and it is ok on the screen.... wxMemoryDC dct; dct.SelectObject(me_Bitmap); dct.Blit(0,0,glcanv...
by idhan
Fri Apr 14, 2006 11:44 am
Forum: C++ Development
Topic: Problem with the GetWheelRotation() event
Replies: 7
Views: 1261

no..that is not the problem... so far I have read you link the problem wasn't fixed... perhaps wxWidgets under windows has a bug.. but my code doesn't have any problem.. if someone has a code that work I will like to see it... :-)