Search found 86 matches
- Mon Sep 01, 2008 5:22 am
- Forum: C++ Development
- Topic: Search for a solution to drag big picture
- Replies: 8
- Views: 1647
Search for a solution to drag big picture
Hi,everyone! I'm currently developing an application that likes the ACDSee, it can zoom the picture,and drag the zoomed image easily.(the image is large ,e.g. 8000x4000, or bigger than this.) while, First, I try to use the SetUserScale() to zoom the image,it works well when I zoom the image,also it ...
- Sat Aug 30, 2008 5:15 am
- Forum: wxWidgets Development (Chinese)
- Topic: 如何用滚动窗口显示一张大的图片,可以对图
- Replies: 5
- Views: 3276
- Fri Aug 22, 2008 11:21 am
- Forum: wxCode
- Topic: wxImage from JPEG memory array
- Replies: 11
- Views: 6382
- Fri Aug 22, 2008 8:30 am
- Forum: wxCode
- Topic: wxImage from JPEG memory array
- Replies: 11
- Views: 6382
- Fri Aug 22, 2008 2:27 am
- Forum: wxCode
- Topic: wxImage from JPEG memory array
- Replies: 11
- Views: 6382
hi,friend! I met a question as yours.My code is below: wxInitAllImageHandlers(); wxString str = wxFileSelector(); //Select a jpeg image from the disk wxImage image(str); image.SetOption(wxIMAGE_OPTION_QUALITY,10); int w =image.GetWidth(); int h = image.GetHeight(); wxMemoryInputStream jpegStream(im...
- Fri Aug 22, 2008 2:22 am
- Forum: wxCode
- Topic: wxImage from JPEG memory array
- Replies: 11
- Views: 6382
hi! Thanks for your reply very very quickly! :) While, I think I have not make clear to you,sorry. I want to decommpress a jpeg image by the API image.SetOption(wxIMAGE_OPTION_QUALITY,10); and then display the image which has decompressed on the screen. I think I have to use the wxInputStream to Cre...
- Thu Aug 21, 2008 3:56 pm
- Forum: wxCode
- Topic: wxImage from JPEG memory array
- Replies: 11
- Views: 6382
hi,friend! I met a question as yours.My code is below: wxInitAllImageHandlers(); wxString str = wxFileSelector(); //Select a jpeg image from the disk wxImage image(str); image.SetOption(wxIMAGE_OPTION_QUALITY,10); int w =image.GetWidth(); int h = image.GetHeight(); wxMemoryInputStream jpegStream(ima...
- Fri Jun 20, 2008 5:23 am
- Forum: C++ Development
- Topic: why the Focus always on the Frame?
- Replies: 3
- Views: 930
- Thu Jun 12, 2008 4:40 am
- Forum: C++ Development
- Topic: why the Focus always on the Frame?
- Replies: 3
- Views: 930
why the Focus always on the Frame?
Hi! wxUsers I Create a wxScrolledWindow and then create a frame with the flag "wxFRAME_FLOAT_ON_PARENT" , set the parent is the ScrolledWindow. In the MainFrame, i use them , the problem is that ,when I click the Scrolledwindow the focus is always on the Float frame, it is crazy! why the frame alway...
- Tue May 27, 2008 8:07 am
- Forum: C++ Development
- Topic: May I modefiy my wxCAPTION ? maybe I will use a image
- Replies: 2
- Views: 698
- Fri May 16, 2008 8:30 am
- Forum: C++ Development
- Topic: May I modefiy my wxCAPTION ? maybe I will use a image
- Replies: 2
- Views: 698
May I modefiy my wxCAPTION ? maybe I will use a image
I want to create a frame which will display in my style ,
eg: Change the wxCAPTION to be a image ,the result like the follwing img,may i?
How to do it ?
thanks for anyone who can give me the big idea.
eg: Change the wxCAPTION to be a image ,the result like the follwing img,may i?
How to do it ?
thanks for anyone who can give me the big idea.
- Fri May 09, 2008 5:46 am
- Forum: C++ Development
- Topic: wxScrolledWindow question about Scroll function
- Replies: 1
- Views: 653
- Fri May 09, 2008 3:39 am
- Forum: C++ Development
- Topic: wxScrolledWindow question about Scroll function
- Replies: 1
- Views: 653
wxScrolledWindow question about Scroll function
I want to create my Ctrl to achieve the picture viewer like the "pictur viewer" on the windows xp. when i zoom out the picture, I can't Scroll the scroollbar to the postion previous. eg. I got the Scrollbar's postion with the function GetViewStart, when I zoom out the picture 2 times, i Scroll the w...
- Wed Nov 07, 2007 3:34 pm
- Forum: C++ Development
- Topic: How do I get the absolute position of a ToolBarTool?
- Replies: 0
- Views: 466
Maybe there will be something can help youhttp://forums.wxwidgets.org/viewtopic.p ... highlight=
- Fri Jul 20, 2007 7:09 am
- Forum: C++ Development
- Topic: my last question !
- Replies: 1
- Views: 496
my last question !
say goodbye to wxWidgets today!
however,I will come back some time.
however,I will come back some time.