Comments (9)
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.
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.
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.
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.
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.
[deleted comment]
from phpdesktop.
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.
Original comment by [email protected]
on 21 Oct 2014 at 10:37
- Added labels: Restrict-AddIssueComment-Commit
from phpdesktop.
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)
- Chrome 33 release (CEF branch 1750) HOT 2
- Change mouse cursor indicator during loading of a web page in Chrome 33 and later branches HOT 1
- Help - Add settings disabled_maximinize_button in popup
- Option in settings.json to use newer IE version embedded HOT 1
- PHP Desktop X Chrome - an implementation of phpdesktop for Mac/Linux using Python and CEF Python HOT 6
- I am using html2pdf for pdf load... After pdf file print redirect anothe php page...
- I am using html2pdf for pdf load... After pdf file print redirect anothe php page...
- I am using html2pdf for pdf load... After pdf file print redirect anothe php page... My code works in browser... But not work in phpdesktop IE..
- I am using html2pdf for pdf load... After pdf file print redirect anothe php page... My code works in browser... But not work in phpdesktop IE.. Plz solve that problem
- Compiling using Mingw
- html2pdf not support
- phpdesktop application very slow
- Ie not support designing and add registry code also useless
- convert a html to pdf using html2pdf generation is not working in chrome browser
- Pdf not work in chrome...
- pdf file not support in chrome
- A way to launch external processes/servers during startup or later, and automatic shutdown of these processes when app exits HOT 2
- Certificates
- Allow to listen on all ip addresses available HOT 1
- 1>main.cpp(180): error C2440: 'initializing' : cannot convert from 'const _json_value' to 'std::basic_string<char,std::char_traits<char>,std::allocator<char>>'
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from phpdesktop.