Search found 15 matches

by saffari2005
Wed May 16, 2007 6:03 am
Forum: wx.NET
Topic: run a sample with unicode settings!
Replies: 2
Views: 4267

I built unicode libs but still I have erros :

Code: Select all

msvcrtd.lib(crtexew.obj) : error LNK2019: unresolved external symbol [email protected] referenced in function ___tmainCRTStartup
vc_mswud\mfctest.exe : fatal error LNK1120: 1 unresolved externals
by saffari2005
Mon May 14, 2007 8:26 am
Forum: wx.NET
Topic: run a sample with unicode settings!
Replies: 2
Views: 4267

run a sample with unicode settings!

Hi freinds, for some reason I downloaded wxWindgets 2.6.4 and build it in VS 2005 succesfully.after that I try to run MFC sample of this package in unicode mode( by setting character set as Unicode in project properties ), but I recieved 11 link errors: mfctest.obj : error LNK2001: unresolved extern...
by saffari2005
Thu Nov 30, 2006 5:06 am
Forum: Platform Related Issues
Topic: create a dialog in a MFC application
Replies: 7
Views: 1011

"CreateFrame" creates a frame ! but I need a window, however Frame is kind of window.as you know wxwindow can't be create without parent.can we use a way to solve this?
by saffari2005
Wed Nov 29, 2006 11:49 am
Forum: Platform Related Issues
Topic: create a dialog in a MFC application
Replies: 7
Views: 1011

yes, I'm mfc programmer but for my current project I'm trying to use mfc and wxwindow together.
I understand how to create dialog but now I have a mfc dialog and I want to create a wxwindow(not wxdilaog!) in it.but wxWindow constructor need a non Null parent, and I havent a wxwindow parent!
by saffari2005
Wed Nov 29, 2006 11:10 am
Forum: Platform Related Issues
Topic: create a dialog in a MFC application
Replies: 7
Views: 1011

oh. yes!
Is there any way to create a wxwindow without parent in the CDialog like creat wxDialog?
by saffari2005
Wed Nov 29, 2006 10:15 am
Forum: Platform Related Issues
Topic: create a dialog in a MFC application
Replies: 7
Views: 1011

create a dialog in a MFC application

Hi I read mfc sample in wxWindows. after that I tried to ignore wxapp and create dialog in mfc app. now, I haven't any error but wxdialog don't be shown,I can't see it! I have code like this in onCreate function in dialog based mfc application: pocwxWnd = new wxDialog(null,"Test", true ); I can only...
by saffari2005
Tue Nov 21, 2006 8:30 am
Forum: C++ Development
Topic: a cwnd parent for wxwindow!
Replies: 9
Views: 1369

Code: Select all

if (wxTheApp && wxTheApp->GetTopWindow())
{
      ocWnd = new CDummyWindow((HWND) wxTheApp->GetTopWindow()->GetHWND());
}
   ocWnd -> SetParent( this );
by saffari2005
Tue Nov 07, 2006 10:19 am
Forum: C++ Development
Topic: a cwnd parent for wxwindow!
Replies: 9
Views: 1369

I will want to create a second CWnd inside of the CWnd (using MFC), then get the HWND handle for that, then tell wxWidgets to create a wxWindow object around the HWND, and then finally put my wx stuff inside of that!
by saffari2005
Sun Nov 05, 2006 6:46 am
Forum: C++ Development
Topic: a cwnd parent for wxwindow!
Replies: 9
Views: 1369

your guess isn't right!
I initialize it correctly with wxEntry.
by saffari2005
Thu Nov 02, 2006 8:30 am
Forum: C++ Development
Topic: a cwnd parent for wxwindow!
Replies: 9
Views: 1369

yes, but I should explain my problem!
I have a dialog(in mfc) and I want to have a wxwindow with a wxDC for draw on it.I created an object of Wxwindow and attach it's hwnd to it.when I create an object of WXDC and set it's with this wxwindow , I have problem!
by saffari2005
Thu Nov 02, 2006 8:18 am
Forum: C++ Development
Topic: a cwnd parent for wxwindow!
Replies: 9
Views: 1369

This is right but I use Mfc and Wx together and I have Cwnd and WxWindow!
by saffari2005
Sun Oct 29, 2006 11:36 am
Forum: C++ Development
Topic: a cwnd parent for wxwindow!
Replies: 9
Views: 1369

a cwnd parent for wxwindow!

Hi
Can I create a wxWindow that it's parent is a Cwnd?
by saffari2005
Sun Oct 29, 2006 11:34 am
Forum: Platform Related Issues
Topic: use wx and MFC
Replies: 4
Views: 841

Thanks :)
by saffari2005
Sun Oct 22, 2006 7:00 am
Forum: Platform Related Issues
Topic: use wx and MFC
Replies: 4
Views: 841

This sample is under POSIX but I'm working with windows os.please tell me a sample in windows.
thanks.
by saffari2005
Sat Oct 21, 2006 11:14 am
Forum: Platform Related Issues
Topic: use wx and MFC
Replies: 4
Views: 841

use wx and MFC

Hi,
I have an open source project ( Audacity ! ) that use only Wx.I'm
going to use a part of this project in my project.as we know Audacity use
only Wx but I should use Mfc in my project.pleast tell me some initial
step to do this.(use Wx and Mfc )
thanks.