Giter VIP home page Giter VIP logo

Comments (9)

GoogleCodeExporter avatar GoogleCodeExporter commented on September 6, 2024
Some useful windows API functions that should make it into the example:

SHBrowseForFolder(): 
http://msdn.microsoft.com/en-us/library/windows/desktop/bb762115(v=vs.85).aspx

GetOpenFileName(): 
http://msdn.microsoft.com/en-us/library/windows/desktop/ms646927(v=vs.85).aspx

GetSaveFileName(): 
http://msdn.microsoft.com/en-us/library/windows/desktop/ms646928(v=vs.85).aspx

Open and save as dialog boxes: 
http://msdn.microsoft.com/en-us/library/windows/desktop/ms646960(v=vs.85).aspx

Original comment by [email protected] on 30 May 2013 at 10:33

from phpdesktop.

GoogleCodeExporter avatar GoogleCodeExporter commented on September 6, 2024
The functions in comment #1 should definitely be exposed to javascript. There 
are also some other that we might want:

CloseWindow()
ExitApplication()

The window functions below will be required for Issue 6 "Frameless browser, 
minimize/maximize using javascript".

ShowWindow()
HideWindow()
MinimizeWindow()
MaximizeWindow()
RestoreWindow()
MoveWindow()
ResizeWindow()

SetFullscreen() - see Issue 38 "Javascript API to set fullscreen".

ShellExecute()? - equivalent of php system/exec functions. But this one would 
be exposed to javascript?

Original comment by [email protected] on 23 Jan 2014 at 3:39

  • Changed title: Expose useful Windows API functions to PHP/Javascript

from phpdesktop.

GoogleCodeExporter avatar GoogleCodeExporter commented on September 6, 2024
Exposing the windows API functions to PHP would be in a form of a PHP example, 
that shows how to use the w32api experimental extension 
(http://php.net/manual/en/book.w32api.php) or something similar.

Original comment by [email protected] on 23 Jan 2014 at 3:59

from phpdesktop.

GoogleCodeExporter avatar GoogleCodeExporter commented on September 6, 2024
The api should accessible in javascript through the "phpdesktop" object:

  phpdesktop.SetFullscreen()

Original comment by [email protected] on 23 Jan 2014 at 4:50

from phpdesktop.

GoogleCodeExporter avatar GoogleCodeExporter commented on September 6, 2024
Regarding functions to show a dialog to open/save a file, or browser for 
folder, see what options to these functions we could expose:
http://www.zzee.com/phpexe/help.html#zzee_link_18_1215035079
http://www.zzee.com/phpexe/help.html#zzee_link_19_1215035079

Original comment by [email protected] on 24 Jan 2014 at 12:27

from phpdesktop.

GoogleCodeExporter avatar GoogleCodeExporter commented on September 6, 2024
[deleted comment]

from phpdesktop.

GoogleCodeExporter avatar GoogleCodeExporter commented on September 6, 2024
Some functions have already been exposed, see the JavascriptApi wiki page.

Original comment by [email protected] on 26 Jan 2014 at 9:58

from phpdesktop.

GoogleCodeExporter avatar GoogleCodeExporter commented on September 6, 2024

Original comment by [email protected] on 21 Oct 2014 at 10:37

  • Added labels: Restrict-AddIssueComment-Commit

from phpdesktop.

GoogleCodeExporter avatar GoogleCodeExporter commented on September 6, 2024
Project will move to Github. Find this issue at the new address (soon): 
https://github.com/cztomczak/phpdesktop/issues/31

Original comment by [email protected] on 24 Aug 2015 at 3:18

from phpdesktop.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.