Search found 6 matches

by Splondike
Sat Aug 13, 2005 5:13 am
Forum: Coding Questions
Topic: ListIconGadget with JPG images
Replies: 6
Views: 1585

2000 different icons?! Whew.. Mightent it be better to maybe not load them all at once, ie. load the ones which can currently be seen, as well as a few on either side as a 'buffer':

*Buffered image 1*
*Buffered image 2*
---Viewable---
*Visible Icon 1*
*Visble Icon 2*
----------------
*Buffered ...
by Splondike
Sat Aug 13, 2005 5:08 am
Forum: Coding Questions
Topic: MessageRequester Font
Replies: 4
Views: 1262

Unfortunately, it's not that simple, at least with the normal messagebox API (which I assume Purebasic uses on some level). The long and the short of it is, you can't actually alter anything about the messagebox short of what you can via the flags in the argument -Icon and buttons-. To change the ...
by Splondike
Fri Aug 05, 2005 8:38 am
Forum: Coding Questions
Topic: Console vs. Windows Executable format
Replies: 6
Views: 2558

Yeah, i'm familiar with the different methods of user interraction :wink:. What I was talking about was the apparent difference in the amount of memory each uses.

Take a look at this application -you'll have to terminate it with task manager-:

OpenWindow(1, 100, 100, 100, 100, 0, "Test")
While 1 ...
by Splondike
Tue Aug 02, 2005 12:51 pm
Forum: Coding Questions
Topic: Random number pickup
Replies: 10
Views: 2923

As I understand it, you're looking to randomise the order of the numbers 1 to 80 (using your example). Eg. Using the numbers 1 to 4:

What you're getting:
3 3 1 2
What you want:
4 1 3 2

Here's a bit of code which should help you -i'm not going to worry about writing to a file, just assigning an ...
by Splondike
Tue Aug 02, 2005 10:53 am
Forum: Coding Questions
Topic: Console vs. Windows Executable format
Replies: 6
Views: 2558

Hmm, maybe it's something they've 'fixed' subsequently; I am running an older version. You're right, I have only tested this on small GUI-less applications, but if there's no particular reason not to, I guess i'll keep doing it where it works :).

To get rid of the console window I just use the old ...
by Splondike
Tue Aug 02, 2005 4:19 am
Forum: Coding Questions
Topic: Console vs. Windows Executable format
Replies: 6
Views: 2558

Console vs. Windows Executable format

I'm a new user to PB, and running version 3.30 (full), which I got off the cover of some magazine. It's rapidly convincing me into buying the full version, i'm very impressed :).

My question is regarding the use of the console executable format as opposed to windows. It would seem to me, that there ...