Search found 7 matches

by Osmdesat
Tue Apr 03, 2018 11:11 am
Forum: Coding Questions
Topic: Waitwindowevent - catch user messages?
Replies: 11
Views: 2700

Re: Waitwindowevent - catch user messages?

Thanks mk-soft.
by Osmdesat
Mon Apr 02, 2018 8:10 pm
Forum: Coding Questions
Topic: Waitwindowevent - catch user messages?
Replies: 11
Views: 2700

Re: Waitwindowevent - catch user messages?

Why WM_NOTIFY? Originally I wanted to send WM_USER using PostMessage_ function.
But if it's possible to send #PB_Event_FirstCustomValue using PostEvent() function and WaitWindowEvent() will catch it, I can do it this way.
by Osmdesat
Mon Apr 02, 2018 10:42 am
Forum: Coding Questions
Topic: Waitwindowevent - catch user messages?
Replies: 11
Views: 2700

Re: Waitwindowevent - catch user messages?

@ Dude
Callback is not needed. I wrote I wanted to avoid it, if possible. I totally agree that it would be nonconsistent to have callback and WaitWindowEvent section.
My aim is to post a custom message from a thread to the main message loop, so that program knows that the thread has finished. I ...
by Osmdesat
Mon Apr 02, 2018 10:05 am
Forum: Coding Questions
Topic: Waitwindowevent - catch user messages?
Replies: 11
Views: 2700

Re: Waitwindowevent - catch user messages?

Thanks guys. Custom callback is what I wanted to avoid - that's why I asked my question. But PostEvent() with custom Event will work pretty well for me (:
by Osmdesat
Sun Apr 01, 2018 10:19 pm
Forum: Coding Questions
Topic: Waitwindowevent - catch user messages?
Replies: 11
Views: 2700

Waitwindowevent - catch user messages?

Is it possible to catch user window messages using WaitWindowEvent function, i.e. messages with uMsg >= WM_USER posted to my window? In the list of possible events is no such kind of event.
by Osmdesat
Thu Mar 29, 2018 10:19 pm
Forum: Announcement
Topic: PureObject - PureBasic OOP support
Replies: 94
Views: 81291

Re: PureObject - PureBasic OOP support

Thanks, your example looks good, although not everything I understood. Complication is, that it's necessary to always write there all the background implementation.
I found that you programmed some OOP preprocessor time ago. Don't you publish it anymore?
by Osmdesat
Wed Mar 28, 2018 8:13 pm
Forum: Announcement
Topic: PureObject - PureBasic OOP support
Replies: 94
Views: 81291

Re: PureObject - PureBasic OOP support

I'm just playing with PureBasic Demo and I am interested in OOP, too.
Is PureObject plugin still under maintenance?
Website seems to be down, so I had to download the plugin 1.0 rev 72 from archive.org.
Installed it in PureBasic Demo 5.42, but unfortunately it tells "native types can't be used with ...