Search found 539 matches

by mael15
Wed Dec 07, 2016 11:14 am
Forum: C++ Development
Topic: dynamic #include?!
Replies: 7
Views: 1715

Re: dynamic #include?!

thank you for your explanations!
so, do I understand it correctly: he only way to use my program when these dlls are not installed is to use dynamic linking, which is a hassle? or maybe just copying the dlls shown in Dependency Walker manually into the program directory?
by mael15
Wed Dec 07, 2016 9:54 am
Forum: C++ Development
Topic: open pdf after printing it
Replies: 4
Views: 921

open pdf after printing it

Hi, After successfully printing a PDF using wxPrinter, I want to open the PDF file. On some other occasion I use ShellExecute(0, 0, fileName, 0, 0, SW_SHOW); but I am unable to find the used file name that seems to be obtained somewhere deep within wxPrintout::OnBeginDocument. So how can I get the f...
by mael15
Fri Dec 02, 2016 2:49 pm
Forum: C++ Development
Topic: dynamic #include?!
Replies: 7
Views: 1715

dynamic #include?!

hi, my program uses some national instruments drivers that have 1.3gb installer. since i do not always need these drivers, i would like to only load them in my program if they are installed. i already figured out that i can check for their installation by using if(wxRegKey(wxRegKey::HKLM, "SOFT...
by mael15
Fri Oct 28, 2016 3:52 pm
Forum: C++ Development
Topic: ShowModal() from window opened with ShowModal() is behind the first one
Replies: 2
Views: 744

Re: ShowModal() from window opened with ShowModal() is behind the first one

ah, yes, i did not have the correct parent. works now, thank you very much!
by mael15
Fri Oct 28, 2016 3:25 pm
Forum: C++ Development
Topic: ShowModal() from window opened with ShowModal() is behind the first one
Replies: 2
Views: 744

ShowModal() from window opened with ShowModal() is behind the first one

hi,
i have a window opened with ShowModal(). when i click inside this window to open a second window with ShowModal(), the second windows is hidden behind the first. how can i fix this?
Thank you.
by mael15
Fri Oct 07, 2016 3:18 pm
Forum: C++ Development
Topic: how to handle mousewheel click
Replies: 4
Views: 989

Re: how to handle mousewheel click

AUX1 it is, thank you!
by mael15
Fri Oct 07, 2016 3:07 pm
Forum: C++ Development
Topic: how to handle mousewheel click
Replies: 4
Views: 989

Re: how to handle mousewheel click

thank you. i have a mouse with three buttons plus a mousewheel that is clickable. capturing the middle button works, but nothing happens when i click the mouse wheel. what can i do?
by mael15
Fri Oct 07, 2016 9:38 am
Forum: C++ Development
Topic: how to handle mousewheel click
Replies: 4
Views: 989

how to handle mousewheel click

hi,
how can i handle a mousewheel click? it is not a wxEVT_MOUSEWHEEL und not a wxEVT_MIDDLE_UP.
by mael15
Wed Sep 28, 2016 11:32 am
Forum: C++ Development
Topic: opengl canvas always on top of frames?
Replies: 4
Views: 1072

Re: opengl canvas always on top of frames?

ok, i attached a minimal example using the opengl pyramid sample. the problem described in my first post does not occur here, but instead i have a nasty flicker problem. when using the scrollbar, the opengl windows does not Refresh() and stays grey, when i use Dragging starting on an empty space nex...
by mael15
Tue Sep 27, 2016 2:43 pm
Forum: C++ Development
Topic: opengl canvas always on top of frames?
Replies: 4
Views: 1072

opengl canvas always on top of frames?

hi everyone,
i am beginning to experiment with an opengl canvas on a wxScrolledWindow. when i scroll the canvas out of the window, it is still seen over the window´s frame. it should be cropped.
can i do something about it?
by mael15
Thu Aug 18, 2016 3:26 pm
Forum: Platform Related Issues
Topic: wxTranslationHelper problem with decimal point on WinXP
Replies: 4
Views: 1211

Re: wxTranslationHelper problem with decimal point on WinXP

no idea anyone? i know that one should consider not using winxp anymore, but i am stuck with some old laptops my company has to keep using because of old hardware connectors. they are offline though... ;)
by mael15
Mon Aug 15, 2016 1:48 pm
Forum: Platform Related Issues
Topic: wxTranslationHelper problem with decimal point on WinXP
Replies: 4
Views: 1211

Re: wxTranslationHelper problem with decimal point on WinXP

i am not sure if this really is platform related, because the problem appears on different msw versions. maybe the post should be move to "c++ development"?
by mael15
Mon Aug 15, 2016 11:14 am
Forum: Platform Related Issues
Topic: wxTranslationHelper problem with decimal point on WinXP
Replies: 4
Views: 1211

wxTranslationHelper problem with decimal point on WinXP

hi, i use wxTranslationHelper in my program and it works fine on Win10 64bit with wxwidgets 3.1.0. on WinXP 32bit i cannot save a float value to a wxRegConfig: translationError.jpg this is the code i use: bool wxTranslationHelperCustom::applyNewLanguage(wxLanguage selLang) { if (GetLocale() &&am...
by mael15
Wed Aug 03, 2016 4:45 pm
Forum: C++ Development
Topic: wxAtof fails with some strings
Replies: 8
Views: 2334

Re: wxAtof fails with some strings

doublemax wrote:

Code: Select all

line = line.ToAscii('_');
Just note that this will also remove umlauts etc.
oh yes, thank you, i did not think of that. good to have another german guy here :)
by mael15
Wed Aug 03, 2016 4:20 pm
Forum: C++ Development
Topic: wxAtof fails with some strings
Replies: 8
Views: 2334

Re: wxAtof fails with some strings

thank you everyone! until now i did not know that these unprintable characters stay inside a string even after copy/paste into visual studio and compilation. since i use wxwidgets 3.1.0 i will remove all non-ascii characters like this: line = line.ToAscii('_'); line.Replace('_', wxEmptyString); that...