Search found 185 matches

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

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: 1005

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,hwnd,msg,wpar...
by leonhardt
Fri Nov 06, 2020 11:59 am
Forum: Coding Questions
Topic: #PB_EventType_LeftClick dont work with CalendarGadget +today
Replies: 4
Views: 1005

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() ...
by leonhardt
Wed Oct 28, 2020 11:26 am
Forum: Coding Questions
Topic: Wrong amount returned by FileSize()
Replies: 17
Views: 2431

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: 2431

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: 3556

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: 10892

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 note ...
by leonhardt
Fri Sep 18, 2020 2:36 pm
Forum: General Discussion
Topic: Hello. New user/learner with a question
Replies: 11
Views: 2627

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: 10892

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 as...
by leonhardt
Sun Aug 30, 2020 1:38 pm
Forum: Announcement
Topic: [Framework] OpenGL Accelerated 2D Engine (with SFML)
Replies: 37
Views: 10892

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
Thu Aug 20, 2020 9:59 am
Forum: Bugs - 3D Engine
Topic: bug TextureOutput
Replies: 6
Views: 2829

Re: bug TextureOutput

OutputID = TextureOutput(#Texture) Returns the output ID or zero if drawing is not possible. This value should be passed directly to the StartDrawing() function to start the drawing operation. The return-value is valid only for one drawing operation and cannot be reused. according to the doc InitEng...
by leonhardt
Sun Aug 16, 2020 2:42 am
Forum: Tricks 'n' Tips
Topic: Round Analog Gauge
Replies: 12
Views: 3013

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: 2315

Re: Spline Demo Crashes

update your display driver and try again.