Search found 79 matches

by Marcus Frenkel
Tue Mar 02, 2010 9:12 pm
Forum: C++ Development
Topic: wxExecute on MS Vista
Replies: 4
Views: 1892

Re: wxExecute on MS Vista

chris_bern wrote:

Code: Select all

wxExecute(wxT("cmd /C \"")+FullPathAndFileName+wxT("\""), ....
Works great, thx.
by Marcus Frenkel
Sat Feb 27, 2010 2:53 pm
Forum: C++ Development
Topic: wxExecute on MS Vista
Replies: 4
Views: 1892

wxExecute on MS Vista

I get error 704 elevation required when using wxExecute in MS Vista when the application (installer) that should be executed requires admin privileges. If the application doesn't require admin privileges then it gets executed ok. The main wx application has the following line in the manifest: <reque...
by Marcus Frenkel
Mon Feb 15, 2010 10:05 am
Forum: C++ Development
Topic: wxURL/wxHTTP vs wxCurl/libcurl
Replies: 0
Views: 524

wxURL/wxHTTP vs wxCurl/libcurl

Hi, It was suggested on this forum lots of times to use wxCurl/libcurl instead of wxURL/wxHTTP. So far I had no issues using wxURL with GET method to send/receive data from/to server, using a secondary thread. Now, I want to use wxHTTP to post data and wonder if it is not a good idea. Can someone pl...
by Marcus Frenkel
Sun Jan 31, 2010 3:59 pm
Forum: C++ Development
Topic: Create custom installer
Replies: 12
Views: 2537

ninja9578 wrote:RequestExecutionLevel admin
That switch is related to possible issues provoked by MS Vista/7. I wanted to handle the blocking caused by anti-viruses.

So finally the solution is to have your installer digitally signed. No need for custom installer now, at least for me.

Thx for all inputs.
Marcus
by Marcus Frenkel
Mon Jan 25, 2010 10:39 pm
Forum: C++ Development
Topic: wxHtmlWindow scroll position issue
Replies: 6
Views: 1187

Try: http://docs.wxwidgets.org/stable/wx_wxscrollwinevent.html#wxscrollwinevent Thx that works for the events. However, I still have a problem. Now I can get the current position, but I cannot find whether that position is at the very bottom. When there is new content added to the window, like appe...
by Marcus Frenkel
Mon Jan 25, 2010 2:58 pm
Forum: C++ Development
Topic: wxHtmlWindow scroll position issue
Replies: 6
Views: 1187

First of all, you need to be on MSW to use wxEVT_SCROLL_CHANGED. Second, what is the type of htmlwin ? Is it htmlwin_class ? In case the answer is "yes", then you're probably in a different class when you call htmlwin->Connect but the event handler is a member of the same htmlwin. In this case the ...
by Marcus Frenkel
Mon Jan 25, 2010 12:58 pm
Forum: C++ Development
Topic: wxHtmlWindow scroll position issue
Replies: 6
Views: 1187

wxHtmlWindow scroll position issue

Hi, I need to detect whether the scroll thumb of wxHtmlWiindow is at the bottom of the page or somewhere else. I tried to catch the wxScrollEvent(s) using dynamic and static method but they just don't get fired. Any other way of detecting whether the scroll thumb is at the bottom? ex: htmlwin->Conne...
by Marcus Frenkel
Thu Jan 21, 2010 4:03 pm
Forum: C++ Development
Topic: Create custom installer
Replies: 12
Views: 2537

Hi! I wonder which component of the AV scanner reports this. Most of the times I had problems like this with the heuristic methods they tend to use by default. Actually heuristic mode was disabled. Anyway, I think you won't be able to prevent this all of the times. Maybe just fiddle a bit with the ...
by Marcus Frenkel
Sat Jan 16, 2010 5:04 pm
Forum: C++ Development
Topic: Create custom installer
Replies: 12
Views: 2537

TrV wrote:In InnoSetup you can choose "no compression". Test it to see if you experience same problems.
I tried without compression as well but I get same issues.
by Marcus Frenkel
Sat Jan 16, 2010 11:25 am
Forum: C++ Development
Topic: Create custom installer
Replies: 12
Views: 2537

Re: Create custom installer

You are right: Some AV apps may give a warning. Especially Norton is very sensitive. But my feeling is that this is not related to the setup itself. I get warnings about the fact the I downloaded the installer and that seems to bother Norton. There are some worse cases. When Kaspersky is on, Firefo...
by Marcus Frenkel
Fri Jan 15, 2010 11:55 am
Forum: C++ Development
Topic: Create custom installer
Replies: 12
Views: 2537

Create custom installer

Hi, I tried NSIS and InnoSetup to create installer for my app, but some anti-virus programs are blocking the installer. I guess using other installer systems are also detected as false positive or will be detected in some future release of the anti-virus programs. So to be safe I want to create my o...
by Marcus Frenkel
Wed Jan 13, 2010 11:03 am
Forum: C++ Development
Topic: wxRichTextCtrl get line height
Replies: 6
Views: 1062

That doesn't help. Let me be more precise: (1) RichTextCtrl is filled with long text (no new line characters) (2) When RichTextCtrl is resized, it is streched by using a sizer, but only in width. The text is wrapped, and no scroll bars are to be displayed (3) When it is re-sized, the maximum height ...
by Marcus Frenkel
Tue Jan 12, 2010 3:19 pm
Forum: C++ Development
Topic: wxRichTextCtrl get line height
Replies: 6
Views: 1062

What I need is to resize the control in order to exactly fit only 2 rows of text. I can get the height upon adding the image, but if one resizes the control, the image may end up into the 3rd line, which causes the headache.
by Marcus Frenkel
Tue Jan 12, 2010 10:54 am
Forum: C++ Development
Topic: wxRichTextCtrl get line height
Replies: 6
Views: 1062

See wxRichTextCtrl::GetCaretPositionForIndex The second parameter describes the caret, and its height is the same with the corresponding row height. I tried that but it only calculates the exact position. For example, if there are images along with the text, in order to get the highest height I nee...
by Marcus Frenkel
Mon Jan 11, 2010 5:23 pm
Forum: C++ Development
Topic: wxRichTextCtrl get line height
Replies: 6
Views: 1062

wxRichTextCtrl get line height

I cannot find a way to get the height of the line, sometimes when you place an image the line grows in height.

Thanks, Marcus