People who can't program without OOP can't really call himself a
programmer. And yes, when you make it right, you can make any
program without OOP ... but of course, some things are easier.
Other's aren't.
I totally agree with you. In fact you can make anything without OOP or even using only ...
Search found 26 matches
- Wed Jul 06, 2011 6:38 pm
- Forum: Feature Requests and Wishlists
- Topic: OOP Support (it is time)
- Replies: 112
- Views: 23495
- Tue Jul 05, 2011 12:39 am
- Forum: Feature Requests and Wishlists
- Topic: OOP Support (it is time)
- Replies: 112
- Views: 23495
Re: OOP Support (it is time)
Ok, I did not know that it was a limitation of PB. Thats really bad that PureBasic will never have an usable OOP support.
Can't be that hard for the PB authors to do (correctly) what those precompilers are trying to do for years and keep all the old(thats the word) structural programming support. I ...
Can't be that hard for the PB authors to do (correctly) what those precompilers are trying to do for years and keep all the old(thats the word) structural programming support. I ...
- Mon Jul 04, 2011 6:07 pm
- Forum: Feature Requests and Wishlists
- Topic: OOP Support (it is time)
- Replies: 112
- Views: 23495
Re: OOP Support (it is time)
After doing some testing, I came to a conclusion which is the closest to make a Cross Dependency Between Classes using SimpleOOP. However there are still severe limitations since the PB Interface statment cannot be used to declare the classes as I thought.
Non OO code for demonstration ...
Non OO code for demonstration ...
- Sun Jul 03, 2011 8:16 pm
- Forum: Feature Requests and Wishlists
- Topic: OOP Support (it is time)
- Replies: 112
- Views: 23495
Re: OOP Support (it is time)
How do you make an cross-inclusion/dependency of classes using SimpleOOP?
In C++ the solution is to use a forward-declaration in one of the classes (http://stackoverflow.com/questions/1281641/circular-c-header-includes), in Java/C# the compiler solve this automatically.
How could you do this in PB ...
In C++ the solution is to use a forward-declaration in one of the classes (http://stackoverflow.com/questions/1281641/circular-c-header-includes), in Java/C# the compiler solve this automatically.
How could you do this in PB ...
- Sun Nov 14, 2010 5:51 pm
- Forum: Coding Questions
- Topic: Get the real value: Pointer to a Pointer
- Replies: 6
- Views: 1065
Re: Get the real value: Pointer to a Pointer
Thanks everybody!
- Sun Nov 14, 2010 12:16 am
- Forum: Coding Questions
- Topic: Get the real value: Pointer to a Pointer
- Replies: 6
- Views: 1065
Get the real value: Pointer to a Pointer
I have to use a library that have a callback to a function sending as one of the parameters a IStream pointer to a pointer (in lib documentation: IStream **VarName ).
How can i get the real value of it? (The "final pointer chain" value)
I've tried this:
Procedure.l ...
How can i get the real value of it? (The "final pointer chain" value)
I've tried this:
Procedure.l ...
- Fri Feb 01, 2008 12:14 pm
- Forum: PureFORM & JaPBe
- Topic: PureRESIZE library : gadget automatic resizing and more
- Replies: 160
- Views: 193653
- Fri Feb 01, 2008 11:34 am
- Forum: Coding Questions
- Topic: PureRESIZE library with MDIGadget
- Replies: 0
- Views: 1523
PureRESIZE library with MDIGadget
Is it possible to use the PureRESIZE library with the "Windows" inside a MDIGadget?
The functions PureRESIZE_SetWindowMinimumSize and MaximumSize works for me, but the "PureRESIZE_SetGadgetResize() " don't.
Why? There is any way to get it to work?
The functions PureRESIZE_SetWindowMinimumSize and MaximumSize works for me, but the "PureRESIZE_SetGadgetResize() " don't.
Why? There is any way to get it to work?
- Fri Jul 13, 2007 12:29 pm
- Forum: Coding Questions
- Topic: Callback
- Replies: 13
- Views: 3565
- Wed Jul 11, 2007 2:52 pm
- Forum: Coding Questions
- Topic: Callback
- Replies: 13
- Views: 3565
- Tue Jul 10, 2007 9:38 pm
- Forum: Coding Questions
- Topic: Callback
- Replies: 13
- Views: 3565
- Tue Jul 10, 2007 8:56 pm
- Forum: Coding Questions
- Topic: Callback
- Replies: 13
- Views: 3565
Callback
What is the Callback parameters?
"(hWnd, Msg, wParam, lParam)" what means each one?
Im trying to make a windows "waitevent" in a callback, to use in a .DLL
Can someone help me with that?
To make a callback function instead of a main loop.
"(hWnd, Msg, wParam, lParam)" what means each one?
Im trying to make a windows "waitevent" in a callback, to use in a .DLL
Can someone help me with that?
To make a callback function instead of a main loop.
- Fri Jul 06, 2007 6:49 pm
- Forum: Coding Questions
- Topic: Inverse WindowID()
- Replies: 7
- Views: 2311
WOrked! Thanks!hallodri wrote:For Window try this :
For Gadget :Code: Select all
debug GetProp_(hWnd,"PB_WindowID") -1
Code: Select all
debug GetProp_(hWnd,"PB_ID") ;or debug GetDlgCtrlID_(hWnd)

- Fri Jul 06, 2007 3:46 pm
- Forum: Coding Questions
- Topic: Inverse WindowID()
- Replies: 7
- Views: 2311
Inverse WindowID()
There is to do the inverse of WindowID()?
To find the #Window from the Handle?
Please help.
To find the #Window from the Handle?
Please help.
- Tue Jun 26, 2007 5:03 pm
- Forum: General Discussion
- Topic: 3rd party skinning apps/solutions - what do you use?
- Replies: 24
- Views: 5883