Search found 61 matches
- Fri Jul 25, 2008 12:57 pm
- Forum: C++ Development
- Topic: Scrolling window help
- Replies: 2
- Views: 1106
Scrolling window help
Hi All, In my Onpaint event I am having a function called Draw(dc(pointer to dc)) in which i am playing a metafile.I have set manually "setvirtualsize" for scrollbars.I select a part of this metafile and zoomed it to show in the window.(derived from wxscrolledwindow) Problem faced: When I ...
- Mon Jul 21, 2008 11:25 am
- Forum: C++ Development
- Topic: Printing help
- Replies: 1
- Views: 676
Printing help
Hi,
My printing function is working fine.But it is printing so small in a A4 sheet paper.It is not occupying the whole sheet.What could be the problem?
My printing function is working fine.But it is printing so small in a A4 sheet paper.It is not occupying the whole sheet.What could be the problem?
- Wed Jul 16, 2008 6:27 am
- Forum: C++ Development
- Topic: zooming a image
- Replies: 9
- Views: 2774
- Tue Jul 15, 2008 4:59 am
- Forum: C++ Development
- Topic: zooming a image
- Replies: 9
- Views: 2774
Thanks for our replies.I found some sample from this forum and managed to do it.I have another problem.After selecting the image and displaying in the same DC I get the drag rectangle displayed.I don't need the rectangle to get displayed.How can I do it?.Here is my code.. //on mouse button up void M...
- Mon Jul 14, 2008 4:07 am
- Forum: C++ Development
- Topic: zooming a image
- Replies: 9
- Views: 2774
- Sun Jul 13, 2008 6:25 am
- Forum: C++ Development
- Topic: zooming a image
- Replies: 9
- Views: 2774
zooming a image
Hi all,
I selected a region of a image using a drag rectangle.I want to zoom that region of the image only and show it in the full window.Can somebody please elaborate the steps to be done for this implementation. Please help me..
Thanks,
Mohan
I selected a region of a image using a drag rectangle.I want to zoom that region of the image only and show it in the full window.Can somebody please elaborate the steps to be done for this implementation. Please help me..
Thanks,
Mohan
- Fri Jul 11, 2008 7:03 am
- Forum: C++ Development
- Topic: rubber band effect problem
- Replies: 3
- Views: 1158
- Fri Jul 11, 2008 6:41 am
- Forum: C++ Development
- Topic: rubber band effect problem
- Replies: 3
- Views: 1158
- Fri Jul 11, 2008 5:46 am
- Forum: C++ Development
- Topic: rubber band effect problem
- Replies: 3
- Views: 1158
rubber band effect problem
I tried to draw a rubber band rectangle.It is showing some strange results.It is not deleting the old rectangle.The code is as follows, wxPoint startpoint; wxPoint endpoint; wxPoint savepoint; int width,height; bool leftclicked=false; bool selected=false; void MyCanvas::OnLeftDown(wxMouseEvent& ...
- Thu Jul 10, 2008 5:20 am
- Forum: C++ Development
- Topic: Selecting a part of image and zoom
- Replies: 4
- Views: 1450
- Wed Jul 09, 2008 4:34 am
- Forum: C++ Development
- Topic: Selecting a part of image and zoom
- Replies: 4
- Views: 1450
Selecting a part of image and zoom
Hi All,
I wanted to select a part of the whole image and zoom it.Can you please suggest me ideas on how it could be implemented.
Thanks in advance,
Mohan.
I wanted to select a part of the whole image and zoom it.Can you please suggest me ideas on how it could be implemented.
Thanks in advance,
Mohan.
- Tue Jul 01, 2008 5:43 am
- Forum: C++ Development
- Topic: how to play a metafile in frame
- Replies: 1
- Views: 647
how to play a metafile in frame
Hi all, I want to know how to use the wxMetafileDC and wxMetafile.I need a sample metafile to be played on the frame.I used metafile and metafileDC in Onpaint event as, wxPaintDC dc(this); wxMetafileDC *metaDC=new wxMetafileDC("C:\\GLOBE.wmf"); wxMetafile *metafile=metaDC->Close(); metafil...
- Wed Jun 25, 2008 1:24 pm
- Forum: C++ Development
- Topic: wxMetafile problem
- Replies: 3
- Views: 1127
- Wed Jun 25, 2008 11:25 am
- Forum: C++ Development
- Topic: wxMetafile problem
- Replies: 3
- Views: 1127
wxMetafile problem
Hi all, I am using wxMetafile for displaying.I have also attached the code.I am not able to display the diagram.I am seeing a blank window.Please tell me what is wrong in the code. Details of code: I am using a filter(microsoft filter) for converting a dxf file into metafile.In onpaint i am playing ...
- Tue Jun 17, 2008 9:58 am
- Forum: Open Discussion
- Topic: Help in importing dxfimp32.flt file
- Replies: 4
- Views: 3097