<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom">
	<channel>
		<title><![CDATA[Approximatrix Forums — Windows apps]]></title>
		<link>https://forums.approximatrix.com/viewtopic.php?id=745</link>
		<atom:link href="https://forums.approximatrix.com/extern.php?action=feed&amp;tid=745&amp;type=rss" rel="self" type="application/rss+xml" />
		<description><![CDATA[The most recent posts in Windows apps.]]></description>
		<lastBuildDate>Fri, 08 May 2020 10:21:07 +0000</lastBuildDate>
		<generator>PunBB</generator>
		<item>
			<title><![CDATA[Re: Windows apps]]></title>
			<link>https://forums.approximatrix.com/viewtopic.php?pid=3482#p3482</link>
			<description><![CDATA[<p>SOME ROUGH IDEAS</p><p>Fortran programs were once structured in a linear way.&nbsp; </p><p> - Open and read-in the data input file<br />&nbsp; &nbsp;OR<br />&nbsp; &nbsp;Send prompts to the screen and read all keyboard input</p><p> - Process the data</p><p> - Send the results to <br />&nbsp; &nbsp;the screen, or <br />&nbsp; &nbsp;a printer, or<br />&nbsp; &nbsp;an output file<br />&nbsp; <br />To create a Windows app, structure your program differently:</p><p>Design on paper your proposed GUI, with menus and/or buttons<br />to make it do stuff.</p><p>Write a program structure that just runs the GUI.<br />Write your GUI source code using SF Appgraphics or DISLIN (etc)<br />(I suggest Appgraphics but DISLIN is also excellent)</p><p>Some of the GUI menus/buttons will call routines for opening input data files, or displaying data entry gadgets on screen, such as drop-downs, input-text-box fields, data entry table tables etc..&nbsp; Write the Appgraphics calls to generate these and make them do as required.&nbsp; Some of the GUI menus/buttons will need to call your data processing code.</p><p>Write the main processing code.</p><p>Write the results-output code.&nbsp; You might want this to send results or output to<br /> - a gadget in your program window, or<br /> - another window, or<br /> - an output file that you have opened from the GUI, or<br /> - variables/arrays in memory, for the user to interrogate using the GUI.<br />---<br />John</p>]]></description>
			<author><![CDATA[null@example.com (JohnWasilewski)]]></author>
			<pubDate>Fri, 08 May 2020 10:21:07 +0000</pubDate>
			<guid>https://forums.approximatrix.com/viewtopic.php?pid=3482#p3482</guid>
		</item>
		<item>
			<title><![CDATA[Re: Windows apps]]></title>
			<link>https://forums.approximatrix.com/viewtopic.php?pid=3475#p3475</link>
			<description><![CDATA[<p>I wanted to quickly mention, as part of this thread, that we&#039;ve actually published a small utility for connecting to Virtual Network Computing (or vnc) servers that is written using AppGraphics and Fortran:</p><p><a href="https://www.microsoft.com/en-us/p/quick-virtual-network-computing/9ndq6hk8w3m2">https://www.microsoft.com/en-us/p/quick … dq6hk8w3m2</a></p><p>The manager in the screenshots that list the servers and allow connections is written in Fortran and AppGraphics with a small shim in to access Windows <a href="https://docs.microsoft.com/en-us/windows/win32/api/processthreadsapi/nf-processthreadsapi-createprocessa">CreateProcess</a> with input/output pipes (to transmit usernames and passwords).&nbsp; So, yes, you can write a Windows application in Simply Fortran and actually get it published in the Microsoft Store.</p>]]></description>
			<author><![CDATA[null@example.com (jeff)]]></author>
			<pubDate>Wed, 22 Apr 2020 11:26:29 +0000</pubDate>
			<guid>https://forums.approximatrix.com/viewtopic.php?pid=3475#p3475</guid>
		</item>
		<item>
			<title><![CDATA[Re: Windows apps]]></title>
			<link>https://forums.approximatrix.com/viewtopic.php?pid=3458#p3458</link>
			<description><![CDATA[<p>I&#039;ve also used DISLIN to create a GUI for a Windows app written and built using SF.</p><p>Another idea is to program the &#039;app&#039; to send output not only to the GUI but also to output files that your program writes as text files with RTF code embedded in the text output.&nbsp; You can then have formatted results with underlining, boldface, page-breaks and so forth, and even vector graphics in your output file, ready for opening with M$Word.&nbsp; You need to learn &#039;RTF code to do this but it&#039;s not very difficult.<br />--- <br />John</p>]]></description>
			<author><![CDATA[null@example.com (JohnWasilewski)]]></author>
			<pubDate>Fri, 03 Apr 2020 01:38:08 +0000</pubDate>
			<guid>https://forums.approximatrix.com/viewtopic.php?pid=3458#p3458</guid>
		</item>
		<item>
			<title><![CDATA[Re: Windows apps]]></title>
			<link>https://forums.approximatrix.com/viewtopic.php?pid=3457#p3457</link>
			<description><![CDATA[<p>It depends on the application you&#039;re trying to develop.&nbsp; If you&#039;re planning to use Fortran only, then we do provide the <a href="https://simplyfortran.com/features/appgraphics">AppGraphics library</a> to create windows, menus, drawing surfaces, buttons, etc. from a Fortran (or C) program.&nbsp; The library is somewhat low-level and simple, though, so it might not contain every feature you&#039;re thinking of.</p><p>You can also use GTK+ with Simply Fortran, of course.&nbsp; If you&#039;re feeling adventurous, you can develop a true Win32 application in C (which is how Simply Fortran is written); Simply Fortran includes all the Windows-specific headers and libraries needed.&nbsp; We do not provide a direct Win32 interface from Fortran, though.</p><p>Can you provide a bit more detail about what you&#039;re thinking about writing?&nbsp; Perhaps we can provide some tips or guidance.</p>]]></description>
			<author><![CDATA[null@example.com (jeff)]]></author>
			<pubDate>Mon, 30 Mar 2020 11:23:32 +0000</pubDate>
			<guid>https://forums.approximatrix.com/viewtopic.php?pid=3457#p3457</guid>
		</item>
		<item>
			<title><![CDATA[Windows apps]]></title>
			<link>https://forums.approximatrix.com/viewtopic.php?pid=3456#p3456</link>
			<description><![CDATA[<p>Is it possible to develop full fledged windows app with Simply Fortran. If so, how?</p>]]></description>
			<author><![CDATA[null@example.com (AmbiPresse)]]></author>
			<pubDate>Mon, 30 Mar 2020 08:43:00 +0000</pubDate>
			<guid>https://forums.approximatrix.com/viewtopic.php?pid=3456#p3456</guid>
		</item>
	</channel>
</rss>
