Re: Working Windows GUI library - no console Window

2015-11-06 Thread Spacen Jasset via Digitalmars-d-learn

On Friday, 6 November 2015 at 15:52:10 UTC, johann wrote:

hi,
i like to use a window gui library and i think i found a 
working one.


https://github.com/FrankLIKE/dfl2  - works with x64

the problem is, that with DMD 2.069.0, VS2015 and visualD the 
trick of using "-L/SUBSYSTEM:windows,6.00 
-L/ENTRY:mainCRTStartup" does not suppress the console window 
anymore.


does anybody have a solution for that problem?
is anybody still working on that library?

johann


Have a look at the resultant executable header with a tool like 
objdump / pebrowse. In the header somewhere there is a field that 
specifies the subsystem type. It should be set to gui, rather 
than console.



IMAGE_SUBSYSTEM_WINDOWS_GUI
2


https://msdn.microsoft.com/en-us/library/windows/desktop/ms680339%28v=vs.85%29.aspx


Re: Working Windows GUI library - no console Window

2015-11-06 Thread John Chapman via Digitalmars-d-learn

On Friday, 6 November 2015 at 15:52:10 UTC, johann wrote:

hi,
i like to use a window gui library and i think i found a 
working one.


https://github.com/FrankLIKE/dfl2  - works with x64

the problem is, that with DMD 2.069.0, VS2015 and visualD the 
trick of using "-L/SUBSYSTEM:windows,6.00 
-L/ENTRY:mainCRTStartup" does not suppress the console window 
anymore.


does anybody have a solution for that problem?
is anybody still working on that library?

johann


Same problem here. I had to remove the mainCRTStartup flag and 
use WinMain as my entry point.


Re: Working Windows GUI library - no console Window

2015-11-06 Thread johann via Digitalmars-d-learn

On Friday, 6 November 2015 at 21:02:59 UTC, John Chapman wrote:

On Friday, 6 November 2015 at 15:52:10 UTC, johann wrote:

hi,
i like to use a window gui library and i think i found a 
working one.


https://github.com/FrankLIKE/dfl2  - works with x64

the problem is, that with DMD 2.069.0, VS2015 and visualD the 
trick of using "-L/SUBSYSTEM:windows,6.00 
-L/ENTRY:mainCRTStartup" does not suppress the console window 
anymore.


does anybody have a solution for that problem?
is anybody still working on that library?

johann


Same problem here. I had to remove the mainCRTStartup flag and 
use WinMain as my entry point.


me too. i need to start a main(), since the lib will not work 
with a starting WinMain.


Re: Working Windows GUI library?

2015-09-04 Thread Andre Polykanine via Digitalmars-d-learn
Hello thedeemon,

tvDdl> Yes, DFL!
tvDdl> https://github.com/Rayerd/dfl

Sounds  good.  but still... I can't find any examples or documentation
:(

-- 
With best regards from Ukraine,
Andre
Skype: Francophile
Twitter: @m_elensule; Facebook: menelion
My blog: http://menelion.oire.org/


 Original message 
From: thedeemon via Digitalmars-d-learn 
To: digitalmars-d-learn@puremagic.com
Date created: , 9:30:34 AM
Subject: Working Windows GUI library?


  On Thursday, 3 September 2015 at 15:46:28 UTC, Andre Polykanine 
wrote:
> So  my  question  is:  is  there any reliable GUI library 
> implementing native Windows controls?

Yes, DFL!
https://github.com/Rayerd/dfl
It's a thin wrapper over WinAPI so all controls are native. I've 
built several apps with it and quite happy with this library. It 
comes with a graphical interface builder called Entice Designer 
which is rather old but still works fine. Also, with this lib 
your app is just a single binary less than 1 MB, no additional 
DLLs required.



Re: Working Windows GUI library?

2015-09-04 Thread thedeemon via Digitalmars-d-learn
On Friday, 4 September 2015 at 13:54:25 UTC, Andre Polykanine 
wrote:

Hello thedeemon,

tvDdl> Yes, DFL!
tvDdl> https://github.com/Rayerd/dfl

Sounds  good.  but still... I can't find any examples or 
documentation :(


Here's some original docs and examples:
http://wiki.dprogramming.com/Dfl/Tutorial
http://wiki.dprogramming.com/Dfl/HomePage

Documentation is a bit scarce, but if you're familiar with 
WinForms (from .NET) you'll recognize everything immediately and 
will feel at home with DFL.


Here's a real world sample - an app I made for our clients:
https://bitbucket.org/thedeemon/autovideoenhance
For instance, a simple typical form (window) code:
https://bitbucket.org/thedeemon/autovideoenhance/src/b0259ca763577cb50169eaa7ee99f074da21724d/folderform.d?at=default
(most of the big setup code is generated by Entice Designer, not 
written manually)




Re: Working Windows GUI library?

2015-09-04 Thread Jacob Carlborg via Digitalmars-d-learn

On 2015-09-03 17:46, Andre Polykanine via Digitalmars-d-learn wrote:

Hi everyone,
Does   anyone   of   you  work  with a Windows GUI library with native
controls in order to write desktop apps in D?
Here  is  why  I'm  asking:  actually, there are quite a number of GUI
libraries listed at wiki.dlang.org.
However, I have one specific requirement: the resulting apps should be
accessible  for blind and visually impaired users. To do that, Windows
native  controls are highly preferred since they are treated correctly
by  screen  reading  software.


DWT [1] uses native controls. Supports Windows and Linux. I have not 
tried the accessible features but I know it has some code for that.


All documentation for SWT should be applicable.

[1] https://github.com/d-widget-toolkit/dwt

--
/Jacob Carlborg


Re: Working Windows GUI library?

2015-09-04 Thread thedeemon via Digitalmars-d-learn
On Thursday, 3 September 2015 at 15:46:28 UTC, Andre Polykanine 
wrote:
So  my  question  is:  is  there any reliable GUI library 
implementing native Windows controls?


Yes, DFL!
https://github.com/Rayerd/dfl
It's a thin wrapper over WinAPI so all controls are native. I've 
built several apps with it and quite happy with this library. It 
comes with a graphical interface builder called Entice Designer 
which is rather old but still works fine. Also, with this lib 
your app is just a single binary less than 1 MB, no additional 
DLLs required.


Re: Working Windows GUI library?

2015-09-03 Thread Andre Polykanine via Digitalmars-d-learn
Hello Adam,

ADRvDdl> Easily usable by the blind or people with motor difficulties and
ADRvDdl> other similar challenges.

Exactly, thank you.
I.e.,   the   app   should   be usable without mouse and with a screen
reader (to over-simplify the
things).

-- 
With best regards from Ukraine,
Andre
Skype: Francophile
Twitter: @m_elensule; Facebook: menelion
My blog: http://menelion.oire.org/


 Original message 
From: Adam D. Ruppe via Digitalmars-d-learn 
To: digitalmars-d-learn@puremagic.com
Date created: , 7:56:52 PM
Subject: Working Windows GUI library?


  On Thursday, 3 September 2015 at 16:49:51 UTC, BBasile wrote:
> I don't know what you meant by 'accessible'

Easily usable by the blind or people with motor difficulties and 
other similar challenges.



Re: Working Windows GUI library?

2015-09-03 Thread Adam D. Ruppe via Digitalmars-d-learn

On Thursday, 3 September 2015 at 16:49:51 UTC, BBasile wrote:

I don't know what you meant by 'accessible'


Easily usable by the blind or people with motor difficulties and 
other similar challenges.


Re: Working Windows GUI library?

2015-09-03 Thread BBasile via Digitalmars-d-learn
On Thursday, 3 September 2015 at 15:46:28 UTC, Andre Polykanine 
wrote:

[...]


Hello, there this one: https://github.com/nomad-software/tkd


[...]


I don't know what you meant by 'accessible' but the two 
respective runtimes exist for windows.


Re: Working Windows GUI library?

2015-09-03 Thread jqb via Digitalmars-d-learn

On Thursday, 3 September 2015 at 16:49:51 UTC, BBasile wrote:

[...]
I don't know what you meant by 'accessible' [...]


https://en.wikipedia.org/wiki/Computer_accessibility

Accessibility is even more important than native language support.