Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.clipper.visual-objects > #9655 > unrolled thread

Windows 10, Calculator called from own program

Started by"Arne Ortlinghaus" <Arne.Ortlinghaus@acs.it>
First post2016-08-24 15:49 +0200
Last post2016-08-25 09:38 +0200
Articles 4 — 3 participants

Back to article view | Back to comp.lang.clipper.visual-objects


Contents

  Windows 10, Calculator called from own program "Arne Ortlinghaus" <Arne.Ortlinghaus@acs.it> - 2016-08-24 15:49 +0200
    Re: Windows 10, Calculator called from own program D.J.W. van Kooten <vankooten@removethis.ic2.com> - 2016-08-24 16:11 +0200
    Re: Windows 10, Calculator called from own program kormondi@kotech.hu - 2016-08-24 09:01 -0700
      Re: Windows 10, Calculator called from own program "Arne Ortlinghaus" <Arne.Ortlinghaus@acs.it> - 2016-08-25 09:38 +0200

#9655 — Windows 10, Calculator called from own program

From"Arne Ortlinghaus" <Arne.Ortlinghaus@acs.it>
Date2016-08-24 15:49 +0200
SubjectWindows 10, Calculator called from own program
Message-ID<npk8ld$raf$1@dont-email.me>
In our programs a user can open the calculator calc.exe from a number field 
and the calculator starts having the number already inserted. Until Windows 
8 this has worked  good, sending the number via virtual keys using 
"PostMessage" to the window handle connectec to the task.

We have found out that this does not work with Windows 10 anymore. The 
calculator in Windows 10 is programmed using the new Windows UI interface. 
There aren't any windows handles returned. Looking into the Internet also 
other programmers have a similar problem and are suggesting using other free 
calculators.

This issue isn't a big one. I ask me only what possibilities Microsoft has 
planned to connect programs to each other. Until now sending messages to 
windows handles was a limited but often nicely working method without having 
to know too much about the foreign programs.

Arne Ortlinghaus
ACS Data Systems 

[toc] | [next] | [standalone]


#9656

FromD.J.W. van Kooten <vankooten@removethis.ic2.com>
Date2016-08-24 16:11 +0200
Message-ID<4harrb1tds4crppuqntsmve1puq6kv4eho@4ax.com>
In reply to#9655
Replying on message of Wed, 24 Aug 2016 15:49:33 +0200 from Arne
Ortlinghaus:


 Hello Arne,

>In our programs a user can open the calculator calc.exe from a number field 
>and the calculator starts having the number already inserted. Until Windows 
>8 this has worked  good, sending the number via virtual keys using 
>"PostMessage" to the window handle connectec to the task.

We found the Windows 10 calculator unusable, mainly because it does
not accept both the . and the , as decimal sign as the old calculator
does. I am not the only one, because on the Winearo site they make it
possible to reinstall the Windows 7 calculator. Once installed it will
work as it did in W7.

http://winaero.com/download.php?view.1795

It's a bit of work (Classic Shell menu, calculator, Windows 7 games)
but after that you have a couple of W10 advantages without giving up
what Microsoft tried so desperately to take away from users.

Dick

--- news://freenews.netfront.net/ - complaints: news@netfront.net ---

[toc] | [prev] | [next] | [standalone]


#9665

Fromkormondi@kotech.hu
Date2016-08-24 09:01 -0700
Message-ID<f9321fb8-0ff1-4ea9-946d-91990f50df7c@googlegroups.com>
In reply to#9655
Hi Arne!

Start UWP Calculator in Windows 10:

ShellExecute(self:Handle(), String2Psz("open"),String2Psz("Shell:AppsFolder\Microsoft.WindowsCalculator_8wekyb3d8bbwe!App"), NULL, NULL, SW_SHOW)

Hope this help!

István Körmöndi

[toc] | [prev] | [next] | [standalone]


#9670

From"Arne Ortlinghaus" <Arne.Ortlinghaus@acs.it>
Date2016-08-25 09:38 +0200
Message-ID<npm7a3$tug$1@dont-email.me>
In reply to#9665
Hi István,

it is interesting how many possibilities exist to start a program.
Your command starts the same program as starting "calc.exe". Starting the 
calculator is not the problem, only to manipulate it. It seems that a 
separate program is necessary as Dick proposed.

Arne


<kormondi@kotech.hu> schrieb im Newsbeitrag 
news:f9321fb8-0ff1-4ea9-946d-91990f50df7c@googlegroups.com...
Hi Arne!

Start UWP Calculator in Windows 10:

ShellExecute(self:Handle(), 
String2Psz("open"),String2Psz("Shell:AppsFolder\Microsoft.WindowsCalculator_8wekyb3d8bbwe!App"), 
NULL, NULL, SW_SHOW)

Hope this help!

István Körmöndi 

[toc] | [prev] | [standalone]


Back to top | Article view | comp.lang.clipper.visual-objects


csiph-web