Search found 183 matches

by leonhardt
Wed Nov 11, 2020 6:29 am
Forum: General Discussion
Topic: ARM Mac anouncement
Replies: 1
Views: 1633

ARM Mac anouncement

Apple had just anounced the arm Mac, I know PB team is developing an arm version PB, how about the current PB version? Woud the App run on arm Macs?
by leonhardt
Fri Nov 06, 2020 12:10 pm
Forum: Coding Questions
Topic: #PB_EventType_LeftClick dont work with CalendarGadget +today
Replies: 4
Views: 1517

Re: #PB_EventType_LeftClick dont work with CalendarGadget +t

I don't understand. If EventType is not possible, how to use this gadget then?
maybe you can use a callback . for example:


;button gadget 0 callback
Procedure BtnCallback(hwnd,msg,wparam,lparam)
If msg=#WM_LBUTTONDOWN


ElseIf msg=#WM_LBUTTONUP

EndIf
ProcedureReturn CallWindowProc_(Proc ...
by leonhardt
Fri Nov 06, 2020 11:59 am
Forum: Coding Questions
Topic: #PB_EventType_LeftClick dont work with CalendarGadget +today
Replies: 4
Views: 1517

Re: #PB_EventType_LeftClick dont work with CalendarGadget +t

if you click left on the number of current date, no event is triggered:
If OpenWindow(0, 0, 0, 250, 200, "CalendarGadget", #PB_Window_SystemMenu | #PB_Window_ScreenCentered)
CalendarGadget(0, 10, 10, 230, 180)
Repeat
event = WaitWindowEvent()
If event = #PB_Event_Gadget And EventGadget() = 0 ...
by leonhardt
Wed Oct 28, 2020 11:26 am
Forum: Coding Questions
Topic: Wrong amount returned by FileSize()
Replies: 17
Views: 4090

Re: Wrong amount returned by FileSize()

if API calling result is also not correct,I think no bugs in the PB command.
by leonhardt
Wed Oct 28, 2020 3:13 am
Forum: Coding Questions
Topic: Wrong amount returned by FileSize()
Replies: 17
Views: 4090

Re: Wrong amount returned by FileSize()

Or you can use API like GetFileSize_() to test again?
by leonhardt
Fri Oct 23, 2020 11:23 am
Forum: Windows
Topic: Recv_() and send_() questions.
Replies: 14
Views: 4981

Re: Recv_() and send_() questions.

maby mk-soft's network lib is the good choice for you.
viewtopic.php?f=12&t=73882
compiler option: thread safe
by leonhardt
Sun Sep 20, 2020 2:15 am
Forum: Announcement
Topic: [Framework] OpenGL Accelerated 2D Engine (with SFML)
Replies: 37
Views: 16296

Re: [Framework] OpenGL Accelerated 2D Engine (with SFML)

(Still waiting on response from Admins here or from support email...)

Update:

Events handling completely overhauled to make it more clean and PureBasic-esque, and weird bugs passing information back fixed. Joystick, Keyboard, Mouse handling completed.

https://gitlab.com/mfwlib/sample - Please ...
by leonhardt
Fri Sep 18, 2020 2:36 pm
Forum: General Discussion
Topic: Hello. New user/learner with a question
Replies: 11
Views: 3480

Re: Hello. New user/learner with a question

I think the official doc(chm) is good enough for beginners to start with. :D
by leonhardt
Sun Aug 30, 2020 1:43 pm
Forum: Announcement
Topic: [Framework] OpenGL Accelerated 2D Engine (with SFML)
Replies: 37
Views: 16296

Re: OpenGL Accelerated 2D Engine (with SFML)

Looks good.
But the DLL are close codes. And I never use codes from third parties that are not open.
Besides that, maybe you could use them for macOS and Linux.

The code in the DLL is purely just a lot of wrapping, prototypes and some glue code with external libraries statically linked in (I can ...
by leonhardt
Sun Aug 30, 2020 1:38 pm
Forum: Announcement
Topic: [Framework] OpenGL Accelerated 2D Engine (with SFML)
Replies: 37
Views: 16296

Re: OpenGL Accelerated 2D Engine (with SFML)

Great engine! but I agree with mk-soft, libraries without source would not be good choices, there were so many engines out there but soon be dead as the author disappeared. So make it open source would be great :D
by leonhardt
Sun Aug 16, 2020 2:42 am
Forum: Tricks 'n' Tips
Topic: Round Analog Gauge
Replies: 12
Views: 4149

Re: Round Analog Gauge

thanks for the job!
by leonhardt
Sun Aug 09, 2020 1:38 pm
Forum: Coding Questions
Topic: Spline Demo Crashes
Replies: 16
Views: 3247

Re: Spline Demo Crashes

update your display driver and try again.
by leonhardt
Sat Aug 08, 2020 1:12 pm
Forum: Feature Requests and Wishlists
Topic: Native Registry Support
Replies: 40
Views: 11603

Re: Native Registry Support

If crossplatform is the reason why windows specific library can't be added, then the native like commands such as "GetTickCount_()" should be removed too. :mrgreen: