Search found 191 matches

by hallodri
Fri Jun 24, 2016 3:44 pm
Forum: General Discussion
Topic: Alternative GUI libraries with PureBasic ?
Replies: 34
Views: 15715

Re: Alternative GUI libraries with PureBasic ?


I still do not understand why IupSetAttribute function works for IupVBox / IupCBox
container types and the same function just does not work for IupFileDlg


I did not understand. For some functions, it seems to work, while others do not.


BTW: if you type a new name of the file (to make sure ...
by hallodri
Thu Jun 23, 2016 7:30 pm
Forum: General Discussion
Topic: Alternative GUI libraries with PureBasic ?
Replies: 34
Views: 15715

Re: Alternative GUI libraries with PureBasic ?

IupGetAttribute gives a pointer on a string back. The simple way is a Macro :

PrototypeC Icallback(*ih.Integer)

ImportC "iup.lib"
IupOpen()
IupMainLoop()
IupClose()
IupButton(title.p-utf8, action.p-utf8)
IupCbox(*handle, a=0, b=0, c=0) ;(...)
IupSetAttribute(*handle, name.p-utf8, value.p ...
by hallodri
Wed Jun 22, 2016 8:17 am
Forum: General Discussion
Topic: Alternative GUI libraries with PureBasic ?
Replies: 34
Views: 15715

Re: Alternative GUI libraries with PureBasic ?

That worked fine yesterday :? Can you set the title after IupShowXY ?


P.P.S. If I am not mistaken - you mentioned that you was able to compile these libraries from source - could you please share your experience ? Instructions in toolkits documentation are very generic and seems that there were ...
by hallodri
Tue Jun 21, 2016 4:20 pm
Forum: General Discussion
Topic: Alternative GUI libraries with PureBasic ?
Replies: 34
Views: 15715

Re: Alternative GUI libraries with PureBasic ?

Try this :

PrototypeC Icallback(*ih.Integer)

ImportC "iup.lib"
IupOpen()
IupMainLoop()
IupClose()
IupButton(title.p-utf8, action.p-utf8)
IupCbox(*handle, a=0, b=0, c=0) ;(...)
IupSetAttribute(*handle, name.p-utf8, value.p-utf8)
IupSetAttributes(*handle, str.p-utf8)
IupDialog(*handle ...
by hallodri
Mon Jun 20, 2016 3:32 pm
Forum: General Discussion
Topic: Alternative GUI libraries with PureBasic ?
Replies: 34
Views: 15715

Re: Alternative GUI libraries with PureBasic ?

Can you upload a example?
by hallodri
Fri Jun 17, 2016 9:02 am
Forum: General Discussion
Topic: Alternative GUI libraries with PureBasic ?
Replies: 34
Views: 15715

Re: Alternative GUI libraries with PureBasic ?

I have compiled the libraries. I have no solution for you. :(
by hallodri
Thu Jun 16, 2016 4:38 pm
Forum: General Discussion
Topic: Alternative GUI libraries with PureBasic ?
Replies: 34
Views: 15715

Re: Alternative GUI libraries with PureBasic ?

Ok, a small example (x64 & unicode with IUP 3.18) :

Download this :
https://sourceforge.net/projects/iup/files/3.18/Windows%20Libraries/Dynamic/iup-3.18_Win64_dll10_lib.zip/download
https://sourceforge.net/projects/imtoolkit/files/3.10/Windows%20Libraries/Dynamic/im-3.10_Win64_dll10_lib.zip ...
by hallodri
Thu Jun 16, 2016 2:22 pm
Forum: General Discussion
Topic: Alternative GUI libraries with PureBasic ?
Replies: 34
Views: 15715

Re: Alternative GUI libraries with PureBasic ?

Unicode: did test it under 5.42LTS; won't run under PB 5.50b1
You have to specify the parameters with p-utf8, then it works well with 5.50b1

P.S. As I could see all bindings were done to static libs - but is it possible to use dynamic ones ?
Any hints ? I am a bit lost how to set pointers in the ...
by hallodri
Wed Jun 15, 2016 9:40 pm
Forum: General Discussion
Topic: Alternative GUI libraries with PureBasic ?
Replies: 34
Views: 15715

Re: Alternative GUI libraries with PureBasic ?

Is the current version for PureBasic maintained?
That was only for testing. The version (3.7) is about 3 years old. It misses some new features and controls. I do it no longer, but it still works :)
by hallodri
Sun Jun 28, 2015 12:16 am
Forum: Windows
Topic: PB5.31; ScintillaGadget; direct access to functions;
Replies: 2
Views: 2396

Re: PB5.31; ScintillaGadget; direct access to functions;

canundo is a result from "fn(ptr,SCI_CANUNDO,0,0)", This is not a function.
by hallodri
Mon Jun 01, 2015 10:13 pm
Forum: Applications - Feedback and Discussion
Topic: msdnLib2PB - Library Importer
Replies: 23
Views: 16333

Re: msdnLib2PB - Library Importer

Works well. Only in the case of a library, there were problems. WINSPOOL has 2 duplicate entries.
by hallodri
Sun May 31, 2015 3:56 pm
Forum: Applications - Feedback and Discussion
Topic: msdnLib2PB - Library Importer
Replies: 23
Views: 16333

Re: msdnLib2PB - Library Importer

No information from MSDN are displayed.