Search found 499 matches

by PolyVector
Tue Mar 01, 2005 8:57 pm
Forum: Coding Questions
Topic: CheckBoxGadget class is 'Button' ?
Replies: 10
Views: 2801

Here's a chunk of test code I had sitting around for the button class...

Style is #GWL_STYLE obviously...


If (Style&#BS_GROUPBOX=#BS_GROUPBOX)
Type=#SkinGroupBox
ElseIf (Style&#BS_CHECKBOX=#BS_CHECKBOX Or Style&#BS_AUTOCHECKBOX=#BS_AUTOCHECKBOX Or Style&#BS_3STATE=#BS_3STATE Or Style&#BS ...
by PolyVector
Fri Feb 04, 2005 9:41 pm
Forum: Off Topic
Topic: Goodbye to PB community
Replies: 21
Views: 6404

sorry to see ya go Balrog :(
by PolyVector
Tue Feb 01, 2005 1:37 am
Forum: Announcement
Topic: TB Lib: COM Event handler
Replies: 11
Views: 4448

Nice work Justin... This really expands what can be done with COM 8)
by PolyVector
Mon Jan 31, 2005 1:06 am
Forum: Announcement
Topic: TB Lib: COM Event handler
Replies: 11
Views: 4448

it's about 9k because you're downloading the angelfire error404 page :)
by PolyVector
Sat Jan 29, 2005 9:46 pm
Forum: Tricks 'n' Tips
Topic: An alternate LinkedList
Replies: 11
Views: 5903

Nice job, I suppose my xList is obsolete now :shock:... I didn't even think of implimenting copy procedures....
Hell, we just need PB to be OO...hehehe
by PolyVector
Fri Jan 28, 2005 9:42 pm
Forum: Feature Requests and Wishlists
Topic: MID strings
Replies: 31
Views: 10119

@freedimention
Fangbeast is just bein' weird, your comments are always welcome... I totally agree that you can't change the syntax of an entire language for a single command... Every BASIC has it's own dialect and this one simply wouldn't fit...

@eevee
It's a good suggestion, but isn't likely to ...
by PolyVector
Fri Jan 28, 2005 10:08 am
Forum: Feature Requests and Wishlists
Topic: MID strings
Replies: 31
Views: 10119

@blueznl
I didn't notice your post and I came up with...the exact same thing... :)

Procedure.s InSet(OriginalString$,Position,Length,ReplacementString$)
ProcedureReturn Left(OriginalString$,Position-1)+ReplacementString$+Right(OriginalString$,Len(OriginalString$)-(Position+Length-1))
EndProcedure ...
by PolyVector
Thu Jan 27, 2005 10:19 pm
Forum: Announcement
Topic: PureBasic Source Code Dump (PB-SCD)
Replies: 7
Views: 3416

Nice, you should consider making it a phpbb addon so people can use it in bbcode 8) 8) 8)

[pbcode]
;Enter Code Here
[/pbcode]
by PolyVector
Sat Jan 22, 2005 10:05 pm
Forum: General Discussion
Topic: pop-up's
Replies: 24
Views: 5511

ditto, firefox rules 8)
by PolyVector
Sat Jan 22, 2005 7:53 pm
Forum: Off Topic
Topic: Bill Gates is so sexy!
Replies: 7
Views: 2370

There are no words to express how I feel about this... :D
by PolyVector
Thu Jan 20, 2005 12:45 am
Forum: Tricks 'n' Tips
Topic: Threads, crashes, and EnterCriticalSection
Replies: 11
Views: 5557

oh yeah, the pb string thread stuff... i completely forgot about that :? ... I've been working with c++ lately and have been a bit rusty w/ pb...
by PolyVector
Wed Jan 19, 2005 9:01 pm
Forum: Tricks 'n' Tips
Topic: Threads, crashes, and EnterCriticalSection
Replies: 11
Views: 5557

I can't quite figure it out... the version i posted should be 100% thread safe... anybody else got an idea before paulr posts it as a bug?
by PolyVector
Wed Jan 19, 2005 8:12 pm
Forum: Tricks 'n' Tips
Topic: Threads, crashes, and EnterCriticalSection
Replies: 11
Views: 5557

well events can be used that way with slight modification... They're still a good idea...

Global ChangeEvent.l
Global CS.CRITICAL_SECTION
Global value
Global ThreadID.l
#QuitValue=-1;/Signal that we should quit...

;/Some functions to clean up things:
Procedure SetValue(NewValue ...
by PolyVector
Mon Jan 17, 2005 9:57 pm
Forum: Tricks 'n' Tips
Topic: Threads, crashes, and EnterCriticalSection
Replies: 11
Views: 5557

this is not a very good way of achieving thread-safety... if you need a thread to be notified of some kind of change (like the slider) you should use the "event" commands rather than looping with a criticalsection... The benefit is that you don't waste CPU time and have very quick response...

Here ...
by PolyVector
Mon Jan 17, 2005 4:58 pm
Forum: Off Topic
Topic: What is your age?
Replies: 28
Views: 6976

@Psychophanta
I believe that's the way Microsoft mesures uptime. :lol: