Search found 10222 matches

by srod
Tue Aug 25, 2020 12:57 pm
Forum: General Discussion
Topic: Crossplatform scrollable Canvas Gadget (Win + OSX done)
Replies: 24
Views: 10276

Re: Crossplatform scrollable Canvas Gadget (Win + OSX done)

A similar approach to that taken by a ScrollAreaGadget and is limited by the size restrictions placed on a gadget by the OS in question. Windows 7 certainly has such limitations.
by srod
Fri Jul 31, 2020 9:14 am
Forum: Coding Questions
Topic: slow drawing
Replies: 23
Views: 4092

Re: slow drawing

Saki, I try to make a gcode viewer,a gcode file can contain hundreds of thousands of lines. I would like such a file on the screen so I can rotate it, zoom, move. But I still have a lot to discover. I'm also trying to find something to do this in 3D. It's probably no coincidence that most gcode vie...
by srod
Sun May 17, 2020 10:54 am
Forum: Coding Questions
Topic: ActiveX control with COMatePlus
Replies: 3
Views: 1707

Re: ActiveX control with COMatePlus

I don't think there should be any particular problem using AtlAxCreateControlLic() in place of AtlAxCreateControl() except on my system (Win 7) the function is not available through the atl.lib import library. Instead I can access it through the "atl100.dll" library file from my Windows fo...
by srod
Sat May 02, 2020 11:33 am
Forum: Coding Questions
Topic: Looking for the eScript binaries
Replies: 10
Views: 2586

Re: Looking for the eScript binaries

HeX0R wrote:...and has a damn good documentation also :twisted:
Shutup! :lol:
by srod
Sat May 02, 2020 11:19 am
Forum: Coding Questions
Topic: Looking for the eScript binaries
Replies: 10
Views: 2586

Re: Looking for the eScript binaries

Yes you really want to switch to minScript which is superior in every conceivable way. :)
by srod
Sat Apr 04, 2020 11:22 am
Forum: Applications - Feedback and Discussion
Topic: [Program] EasyHelp (all OS)
Replies: 34
Views: 13665

Re: [Program] EasyHelp (all OS)

Bisonte wrote:
Andre wrote:Below a screenshot of the help of my up-coming PB project, made with EasyHelp... ;-)
Fun with flags - Dr. S. Cooper :mrgreen: Image
:lol:
by srod
Sat Mar 07, 2020 12:21 pm
Forum: Coding Questions
Topic: How to get image format of CatchImage()?
Replies: 6
Views: 2071

Re: How to get image format of CatchImage()?

I don't understand why ICOs behave differently. You can see in the help that ResizeImage(), DrawAlphaImage(), ImageOutput() etc. don't work with ICO loaded images. Once loaded by PB, shouldn't all images behave the same? I wrote an image viewer program, and to allow zooming ICOs I have to redraw th...
by srod
Fri Mar 06, 2020 7:50 pm
Forum: Coding Questions
Topic: How to get image format of CatchImage()?
Replies: 6
Views: 2071

Re: How to get image format of CatchImage()?

What do you mean by format?

Once captured, the image is stored in an internal bitmap format regardless of whether the original file was a bmp or a jpeg etc.

However, ImageFormat() will return the format of the original file.
by srod
Fri Mar 06, 2020 7:40 pm
Forum: Coding Questions
Topic: Parsing values from specific XML tags.?
Replies: 9
Views: 1957

Re: Parsing values from specific XML tags.?

Open as a text file for reading and it shouldn't be too hard to find those tags. Make sure you use ReadStringFormat() to identify the encoding and use the resulting value when using ReadString() etc.
by srod
Fri Mar 06, 2020 7:02 pm
Forum: Coding Questions
Topic: Parsing values from specific XML tags.?
Replies: 9
Views: 1957

Re: Parsing values from specific XML tags.?

You cannot have nodes outside of the main node in a well formed XML document. The parser will effectively ignore them if they are at the end of the document.
by srod
Sun Mar 01, 2020 1:03 pm
Forum: Coding Questions
Topic: Limit of the listicon gadget.
Replies: 6
Views: 1887

Re: Limit of the listicon gadget.

the ListIcon header has a max width of 32767 pixels. Ah, that'll be it then - where did you find that documented? I'd like to read the rest of the citation... Found that out the hard way some years ago! :) I assume it has something to do with the old 16-bit scrolling/positioning messages and the fa...
by srod
Sat Feb 29, 2020 12:51 pm
Forum: Coding Questions
Topic: Limit of the listicon gadget.
Replies: 6
Views: 1887

Re: Limit of the listicon gadget.

On Windows, at least up to Win 7, the ListIcon header has a max width of 32767 pixels. If your total column widths exceed this value then expect problems! :)
by srod
Fri Feb 21, 2020 7:10 pm
Forum: Coding Questions
Topic: Parsing issues
Replies: 3
Views: 1443

Re: Parsing issues

Yes when you actually get into it, a recursive descent parser can be quite simple and very very effective. Far more flexible than reverse-polish notation, for example. You do need to lay your data structures out very carefully though and have them set up to allow for recursion, but once you get it a...
by srod
Thu Feb 13, 2020 10:55 am
Forum: General Discussion
Topic: Roadmap for PureBasic
Replies: 8
Views: 3023

Re: Roadmap for PureBasic

Fred wrote:2020 should be a bug fix year, we decided to try to hunt down as much bug as possible before moving forward again with new features. 5.72 will be a good start for this.
Now that is what I am talking about! :D Can't fault that decision.
by srod
Wed Feb 12, 2020 1:39 pm
Forum: Applications - Feedback and Discussion
Topic: [Program] EasyHelp (all OS)
Replies: 34
Views: 13665

Re: [Program] EasyHelp (all OS)

This looks very good. Thanks for sharing. Think I found a bug or two in the editor though. Load the 'EasyHelp.jmd' file into the editor. Click the 'down' arrow button and the help entries get muddled up. Hit the down button again and the muddling is even more muddled! If you keep clicking then the e...