Search found 427 matches
- Wed Jan 13, 2021 9:50 pm
- Forum: wxWidgets Development (Russian)
- Topic: How to Privent wxFrame from Move and stay it maxsized
- Replies: 20
- Views: 25594
Re: How to Privent wxFrame from Move and stay it maxsized
Обнаружил проблему с wxMoveEvent Прога "жрет" процессор на 100%. оказалось, что при установке позиции окна в wxPoint(0, 0) опять вызывается wxMoveEvent, и так все в цикле один вызов вызывает другой вызов рекурсивно. Как лучше предотвращать перемещения окна? void MyFrame::OnFrameMove2() { w...
- Mon Dec 14, 2020 7:59 pm
- Forum: C++ Development
- Topic: КРАС to wxString
- Replies: 4
- Views: 713
Re: КРАС to wxString
hello!
Now I got this string from onother server.
How to convert it to wxString?
wxHtmlEntitiesParser - dit not help
Thank you
Now I got this string from onother server.
Code: Select all
"\u041d\u0435\u0442 \u043f\u0440\u0430\u0432 \u0434\u043e\u0441\u0442\u0443\u043f\u0430"
wxHtmlEntitiesParser - dit not help
Thank you
- Fri Dec 04, 2020 9:28 am
- Forum: wxCode
- Topic: wxPdfDC - DrawRectangle() uses black pen instead of mine
- Replies: 6
- Views: 15252
Re: wxPdfDC - DrawRectangle() uses black pen instead of mine
Greate thanks for your job.
- Thu Dec 03, 2020 11:30 pm
- Forum: wxCode
- Topic: wxPdfDC - DrawRectangle() uses black pen instead of mine
- Replies: 6
- Views: 15252
Re: wxPdfDC - DrawRectangle() uses black pen instead of mine
Thank you, now it is ok. But now I have an assertion ASSERT INFO: ../src/common/unichar.cpp(52): assert ""Assert failure"" failed in FromHi8bit(): invalid multibyte character BACKTRACE: [1] wxUniChar::FromHi8bit(char) [2] wxPdfEncrypt::CreateDocumentId() [3] wxPdfDocument::PutTra...
- Thu Dec 03, 2020 10:07 am
- Forum: wxCode
- Topic: wxPdfDC - DrawRectangle() uses black pen instead of mine
- Replies: 6
- Views: 15252
wxPdfDC - DrawRectangle() uses black pen instead of mine
Hello, utelle Could you help me? At first I thought I had wrong code in my drawings. But after simplifing my code I found that DrawRectangle() uses always BLACK PEN started from second page On first page pen is ok, but starting from page 2 it always black Here is my code for (int nPage = 1; nPage <=...
- Wed Nov 25, 2020 11:58 am
- Forum: wxCode
- Topic: wxPdfDocument how to compile for code::blocs?
- Replies: 2
- Views: 20072
Re: wxPdfDocument how to compile for code::blocs?
thank you
this did help
this did help
Code: Select all
mingw32-make config=release_wxdll_win32 all
- Wed Nov 25, 2020 12:18 am
- Forum: wxCode
- Topic: wxPdfDocument how to compile for code::blocs?
- Replies: 2
- Views: 20072
wxPdfDocument how to compile for code::blocs?
Hello
I didn't find information on how to compile wxPdfDocument with mingw32 on Windows.
Is this command right?
Thank you
I didn't find information on how to compile wxPdfDocument with mingw32 on Windows.
Is this command right?
Code: Select all
mingw32-make -f wxpdfdoc.make BUILD=release SHARED=1 -IE:\wx\lib\gcc_dll\mswu
- Tue Nov 24, 2020 12:06 pm
- Forum: wxCode
- Topic: PDF/A-1 ISO 19005-1:2005 How to?
- Replies: 33
- Views: 44983
- Mon Nov 23, 2020 11:46 pm
- Forum: wxCode
- Topic: PDF/A-1 ISO 19005-1:2005 How to?
- Replies: 33
- Views: 44983
Re: PDF/A-1 ISO 19005-1:2005 How to?
THANK YOU!!! No erros are displeyed now. But... Anyway, I have one little problem with displaying images in PDF. 1. If I insert none transparent image in PDF, then all OK, no errors. but... in this case all text(drawings) are hidden by the image inside the document see 1.pdf at the bottom of the doc...
- Sat Nov 21, 2020 7:25 pm
- Forum: C++ Development
- Topic: How to remove transparency from an image
- Replies: 8
- Views: 1193
Re: How to remove transparency from an image
thank you ConvertAlphaToMask(); did help
- Sat Nov 21, 2020 5:08 pm
- Forum: C++ Development
- Topic: How to remove transparency from an image
- Replies: 8
- Views: 1193
Re: How to remove transparency from an image
I don't know whether it is tranaparent or not
My service just responed that
I just want to write a code for any image without transparancy
I'm not an mage-alpha expert
My service just responed that
Code: Select all
ImageTransparency is set, but shouldn't be
I'm not an mage-alpha expert
- Sat Nov 21, 2020 4:40 pm
- Forum: C++ Development
- Topic: How to remove transparency from an image
- Replies: 8
- Views: 1193
Re: How to remove transparency from an image
if I call ClearAlpha() an assertion is called stating that this image does not have Alpha. Setting 24-bit depth did the trick, and this error does not reported. But my image has black background instead of white How to make it white? If I call image.Replace(image.GetMaskRed(), image.GetMaskGreen(), ...
- Sat Nov 21, 2020 3:19 pm
- Forum: C++ Development
- Topic: How to remove transparency from an image
- Replies: 8
- Views: 1193
How to remove transparency from an image
I have an wxImge which must be drawn on wxDC not using transparency Is this right code? image.Rescale(x0, y0, wxIMAGE_QUALITY_NEAREST); wxBitmap bmp(image); bool useMask = false pdc->DrawBitmap(bmp, x, y, useMask); The problem is, I convert this to wxPdfDocument and my service reponds ImageTranspare...
- Sat Nov 21, 2020 1:45 pm
- Forum: wxCode
- Topic: PDF/A-1 ISO 19005-1:2005 How to?
- Replies: 33
- Views: 44983
Re: PDF/A-1 ISO 19005-1:2005 How to?
1 error left
I found where I draw rectengle out of page bounderies. And this did help on removing the error
RealOverflow14 is set, but shouldn't be
Thank you
Code: Select all
CIDFontTrueTypeWithoutCIDToGIDMap is set, but shouldn't be
RealOverflow14 is set, but shouldn't be
Thank you
- Sat Nov 21, 2020 9:50 am
- Forum: wxCode
- Topic: PDF/A-1 ISO 19005-1:2005 How to?
- Replies: 33
- Views: 44983
Re: PDF/A-1 ISO 19005-1:2005 How to?
2 errors left ))))
Code: Select all
CIDFontTrueTypeWithoutCIDToGIDMap is set, but shouldn't be
RealOverflow14 is set, but shouldn't be