Search found 61 matches

by mohan
Tue Feb 24, 2009 9:16 am
Forum: C++ Development
Topic: Help on wxPdfdocument and html
Replies: 2
Views: 632

Help on wxPdfdocument and html

Hi All, Please provide me some suggestions on displaying the html file which also has images in it on pdf.I need the same layout as a html file displayed in htmlwindow. I used Totext()(wxhtmlwindow) function to write the text in pdf but images in htmlfile cannot be included by this way. Thanks, Mohan.
by mohan
Thu Feb 05, 2009 1:36 pm
Forum: C++ Development
Topic: wxpdfdocument Cell
Replies: 1
Views: 543

wxpdfdocument Cell

Hi All, How to print text within cell width?.The problem is if I print text using wxpdfdocument cell it is overflowing than the cell width. ------------------------------ hi this is wxpdfdocument cell comman ------------------------------ Similar to the diagram the text gets overflowed.I want to bri...
by mohan
Fri Oct 31, 2008 9:47 am
Forum: C++ Development
Topic: wxAutomationObject(opening a existing doc problem)
Replies: 5
Views: 1239

Yes It is existing and I am using MS WORD 2007.It is still showing a blank word application without document.
by mohan
Fri Oct 31, 2008 7:21 am
Forum: C++ Development
Topic: wxAutomationObject(opening a existing doc problem)
Replies: 5
Views: 1239

wxAutomationObject(opening a existing doc problem)

Hi All, This is my code for opening the existing doc.It is displaying the word application but not opening the existing doc. wxAutomationObject objectWordApp; wxString docPath = "C:\\testword.doc"; objectWordApp.CreateInstance("Word.Application"); objectWordApp.PutProperty("Visible","1"); objectWord...
by mohan
Mon Oct 13, 2008 1:38 pm
Forum: Compiler / Linking / IDE Related
Topic: How to link wxPdfDocument with visual studio 2005?
Replies: 5
Views: 1062

I am trying to include a windows metafile in the pdf.The Image function is returning true.The problem is the windows metafile is not included in the pdf.I have also added the code wxFileSystem::AddHandler(new wxLocalFSHandler); wxFileSystem::CleanUpHandlers(); And another question,Will only the wind...
by mohan
Mon Oct 13, 2008 8:55 am
Forum: Compiler / Linking / IDE Related
Topic: How to link wxPdfDocument with visual studio 2005?
Replies: 5
Views: 1062

Hi utelle,
Thanks for your response.I found the problem and I linked wxPdfDocument.Now I am facing the problem of "Couldn't embed a windows metafile which is similar to a cad file".How could I embed it??

Thanks,
Mohan.
by mohan
Tue Oct 07, 2008 6:48 am
Forum: Compiler / Linking / IDE Related
Topic: How to link wxPdfDocument with visual studio 2005?
Replies: 5
Views: 1062

How to link wxPdfDocument with visual studio 2005?

Hi All,
I need wxPdfDocument to build reports.But I dont know to link this library with visual studio 2005.Someone please help me.


Thanks,
Mohan.
by mohan
Wed Aug 20, 2008 1:30 pm
Forum: C++ Development
Topic: Getting the handle problem
Replies: 1
Views: 597

Getting the handle problem

Hi All,
I have a Notebook class Which has about 5 tabs.I want to get the handle of the window attached to you a tab.How can I get it?.Since I want to draw on the specific window attached to a tab.

Thanks,
Mohan.
by mohan
Mon Aug 11, 2008 6:06 am
Forum: Compiler / Linking / IDE Related
Topic: wxwidgets and visual studio 2005 Linking problem
Replies: 1
Views: 727

wxwidgets and visual studio 2005 Linking problem

Hi All,
I am using Microsoft Visual Studio 2005 Team Suite and wxwidgets 2.8.7.I have attached you the screenshot of my problem which says these files are missing when i try to link with wxwidgets.What could be the error?

Thanks,
Mohan.
by mohan
Wed Aug 06, 2008 5:38 am
Forum: C++ Development
Topic: wxGrid and SplitterWindow help
Replies: 1
Views: 796

wxGrid and SplitterWindow help

Hi All, I have a grid attached to a scroll window which in turn is splitted into two by a splitter window.I want to update the values of the grid when a event is generated.I need the control of the grid.How can I get the control of the grid? I am able to create a new grid with the following code but...
by mohan
Mon Aug 04, 2008 5:53 am
Forum: C++ Development
Topic: Static text and event help
Replies: 1
Views: 516

Static text and event help

Hi All,
I need some value should be passed to a function dynamically at run time when user clicks on a static text in a Panel.The value is a path of a file which should be given dynamically.Can I acheive this using wxHyperlinkctrl? or any other suggestions.

Thanks,
Mohan
by mohan
Wed Jul 30, 2008 6:01 am
Forum: C++ Development
Topic: Splitter window help
Replies: 4
Views: 1250

Thanks for your immediate reply and helping me out to solve it.

Thanks once again,
Mohan
by mohan
Wed Jul 30, 2008 4:29 am
Forum: C++ Development
Topic: Splitter window help
Replies: 4
Views: 1250

Here is my code.VariableGrid is a scrolled window derived class.Now I want to add a panel to the SplitterWindow. splitter = new SplitterWindow(this); splitter->SetSashGravity(0.5); split_top=new VariableGrid(splitter); split_top->SetBackgroundColour(*wxWHITE); split_middle=new VariableGrid(splitter)...
by mohan
Wed Jul 30, 2008 4:10 am
Forum: C++ Development
Topic: Splitter window help
Replies: 4
Views: 1250

Splitter window help

Hi All,
I want to split a window horizontally into three parts.I am able to split the window into two parts but I can't split into three.What should I do to acheive it??

Thanks,
Mohan.
by mohan
Mon Jul 28, 2008 12:14 pm
Forum: C++ Development
Topic: Scrolling window help
Replies: 2
Views: 779

Any solutions for this???As in the screenshot I get the zoomed image when I scroll.The original metafile is redrawn over the zoomed image..