Search found 12 matches
- Sun Sep 20, 2009 7:59 am
- Forum: C++ Development
- Topic: wxWizard shaped
- Replies: 0
- Views: 403
wxWizard shaped
hi, has anyone ever tried to apply shapes to wizard window? wizard being a top level window, it has SetShape() function ,but trying to apply it the same way as a wxFrame is not yielding any result so far. Here is my code: void MyWizard::SetWindowShape() { wxImage m_bmp; ImageManager::getInstance()->...
- Sun Sep 20, 2009 7:34 am
- Forum: Compiler / Linking / IDE Related
- Topic: Strange error when trying to do #include <wx/socket.h>
- Replies: 4
- Views: 819
- Sun Sep 20, 2009 7:31 am
- Forum: C++ Development
- Topic: Calling c Sharp DLL from wxWidgets
- Replies: 2
- Views: 879
- Tue May 12, 2009 7:34 am
- Forum: C++ Development
- Topic: Calling c Sharp DLL from wxWidgets
- Replies: 2
- Views: 879
Calling c Sharp DLL from wxWidgets
hi, i have been trying to call a c# dll from wxWidgets. For that I have done the following: #using <mscorlib.dll> using namespace SocketDLL; //c# dll when i tried to compile it gave an error which said /clr must be enabled. Error 11 fatal error C1190: managed targeted code requires a '/clr' option c...
- Tue May 12, 2009 7:26 am
- Forum: C++ Development
- Topic: C# to C++ ( simple OCR Code )
- Replies: 5
- Views: 2567
C# dll example in wxWidgets
hi, so have you been able to create a DLL in c# and use it in wxWidgets? i have been looking for a way to do it for ages!
- Tue May 12, 2009 3:12 am
- Forum: Compiler / Linking / IDE Related
- Topic: Strange error when trying to do #include <wx/socket.h>
- Replies: 4
- Views: 819
hi,thankyou for the quick reply. Yes, I have added the wx.h and other necessary header files. My program is actually working great minus the socket server/client part. Here is my code that creates error: #if defined(__GNUG__) && !defined(NO_GCC_PRAGMA) #pragma implementation "myframe.h" #endif // Fo...
- Mon May 11, 2009 2:29 pm
- Forum: Compiler / Linking / IDE Related
- Topic: Strange error when trying to do #include <wx/socket.h>
- Replies: 4
- Views: 819
Strange error when trying to do #include <wx/socket.h>
hi, i am kinda lost with this problem. I have to write a socket server/client using wxWidgets and whenever i try to include the header using: #include <wx/socket.h> i get this following error: 1>c:\work\wxwidgets\include\wx\msw\gsockmsw.h(94) : error C2146: syntax error : missing ';' before identifi...
- Sun Jan 18, 2009 6:18 am
- Forum: C++ Development
- Topic: customizing virtual wxListCtrl
- Replies: 0
- Views: 476
customizing virtual wxListCtrl
hi, i am trying to create a customized WxListCrtl. for that i have a virtual class to implement the methods and events. right now i have two problems that i can not figure out: 1) having different font and color for each collumn/ cell of the list. 2) how to draw a customized separator between the ro...
- Sun Jan 18, 2009 2:20 am
- Forum: C++ Development
- Topic: virtual wxListCtrl SetItemTextColour does not work
- Replies: 1
- Views: 839
fixed it. i was trying to put attributed in wrong function (DUH!!) if anyone comes across this problem, this is for them. in order to set textColor,font,background etc for virtual wxListCtrl..the overriddent function OnGetItemAttr should be used. this is the code that worked for me. wxListItemAttr *...
- Sat Jan 17, 2009 9:10 pm
- Forum: C++ Development
- Topic: virtual wxListCtrl SetItemTextColour does not work
- Replies: 1
- Views: 839
virtual wxListCtrl SetItemTextColour does not work
hi, i have one class representing the so called virtual ListCtrl in wxWidgets. i am trying to set the color of the text programmatically but it does not seem to work in any way. i am trying to set the text color in the method OnGetItemText . i have attached my code snippet here. does anyone hav any ...
- Mon Jan 12, 2009 3:27 am
- Forum: C++ Development
- Topic: wxSlider with customized background
- Replies: 2
- Views: 652
- Sun Jan 11, 2009 2:50 pm
- Forum: C++ Development
- Topic: wxSlider with customized background
- Replies: 2
- Views: 652
wxSlider with customized background
hi guys, i am trying to create a customized wxSlider with a background image. but i can not get it to work in any possible way. i am trying to catch the wxEVT_ERASE_BACKGROUND and draw background of the slider. this is my code: /*! * wxEVT_ERASE_BACKGROUND event handler for MYPHONEPANEL_MICSLIDER */...