Search found 14 matches

by AgentOrange
Thu Oct 16, 2003 8:00 pm
Forum: Coding Questions
Topic: Dangling Participles
Replies: 6
Views: 1853

..

Karbon wrote:Be sure to check out PureVision too - another visual designer. http://www.reelmediaproductions.com/purevision/
I've seen that before.. Just wish the screen shot was bigger. :cry:

ao
by AgentOrange
Thu Oct 16, 2003 3:43 pm
Forum: Coding Questions
Topic: ICO Rsrc Maker for PB (Windows)
Replies: 2
Views: 1383

..

freak wrote:You can use IncludeBinary and CatchImage() directly with Icons, no need
for this anymore.

Timo
Sweet, thanks!
by AgentOrange
Thu Oct 16, 2003 1:28 am
Forum: Coding Questions
Topic: ICO Rsrc Maker for PB (Windows)
Replies: 2
Views: 1383

ICO Rsrc Maker for PB (Windows)

ICO Rsrc Maker for PB (Windows)

Is this program still needed in 3.8? Or is there a different way to handle this.. IncludeBinary an icon, and use it in your app for different windows/dialogs?

;ICON RESOURCE EXAMPLE
;The file icon.res contain the icon,
;if you compile this code the icon will be ...
by AgentOrange
Thu Oct 16, 2003 1:19 am
Forum: Coding Questions
Topic: Dangling Participles
Replies: 6
Views: 1853

Kale wrote:
is it going to be this easy to include and play a wav file?
Yes! Binary include it within a datasection, use CatchSound() to grab it from binary to memory then use PlaySound() to play it! :D
Thanks Kale.. that was too easy.. :lol:
by AgentOrange
Wed Oct 15, 2003 2:11 am
Forum: Coding Questions
Topic: Dangling Participles
Replies: 6
Views: 1853

..

There sure is - check out CatchImage()

Hey thanks a bunch.. I think what's happening, is that I'm making this harder than it needs to be... the Visual Designer is freakin sweet.

Especially, the Include Event Loop..

Very nice.. so should I be so bold to ask, is it going to be this easy to ...
by AgentOrange
Tue Oct 14, 2003 11:55 pm
Forum: Coding Questions
Topic: Dangling Participles
Replies: 6
Views: 1853

Dangling Participles

I don't care much for leaving graphics out in the open. I read about the IncludeBinary. Once included, is there a way to access the binary without having to write it out to the disk?

If CreateToolBar(0, WindowID())
ToolBarImageButton(0, LoadImage(0, "Icons\Load.ico"))
ToolBarSeparator ...
by AgentOrange
Tue Oct 14, 2003 7:12 pm
Forum: Coding Questions
Topic: MessageRequester Icons
Replies: 4
Views: 1955

..

Berikco wrote:Danilo posted an overview of all flags once
if you search forum for #MB_ICONINFORMATION, you get also this link...(on page 2)

viewtopic.php?t=4765
Wow sweet!.. guess I'll do my searching prior to asking..

Thanks..

ao
by AgentOrange
Tue Oct 14, 2003 4:53 pm
Forum: Coding Questions
Topic: MessageRequester Icons
Replies: 4
Views: 1955

..

MB_ICONEXCLAMATION,
MB_ICONWARNING
An exclamation-point icon appears in the message box.
MB_ICONINFORMATION, MB_ICONASTERISK
An icon consisting of a lowercase letter i in a circle appears in the message box.
MB_ICONQUESTION
A question-mark icon appears in the message box.
MB_ICONSTOP,
MB ...
by AgentOrange
Tue Oct 14, 2003 4:43 pm
Forum: Coding Questions
Topic: MessageRequester Icons
Replies: 4
Views: 1955

MessageRequester Icons

Where might I find a complete list of these for the MessageRequester?

#MB_ICONINFORMATION

ao
by AgentOrange
Tue Oct 14, 2003 4:11 pm
Forum: Coding Questions
Topic: DLLs
Replies: 8
Views: 2427

..

RJP Computing wrote:Nope I don't believe that is covered in the help file.

Unless you are talking about the parameters that you can send the compiler. That is in the help file. Under "Using the command line Compiler"

Hope this helps. :D
Hey guys, that's great. Thanks for all the help!!

ao
by AgentOrange
Tue Oct 14, 2003 6:43 am
Forum: Coding Questions
Topic: DLLs
Replies: 8
Views: 2427

..

Close they are being read by the PureBasic Editor and setting the parameters it is going to send to the compiler. Just for clarification the editor and the compiler are two separate things. The Editor is a nice shell around the compiler.

Hope that makes more sense.

Thanks.

10-4 on the editor ...
by AgentOrange
Tue Oct 14, 2003 6:26 am
Forum: Coding Questions
Topic: DLLs
Replies: 8
Views: 2427

Re: DLLs

Those are comments, but they are used by the PureBasic editor to keep the settings correct for the compiler on a PER file basis. Basicaly so that you don't have to enter the type of program and the location you want the *.exe/*.dll to be when done compiling.

Hope this clears things up.

Thanks ...
by AgentOrange
Tue Oct 14, 2003 3:07 am
Forum: Coding Questions
Topic: DLLs
Replies: 8
Views: 2427

DLLs

I got a DLL to work and function with just the following as code for dll:

ProcedureDLL MyFunction()
MessageRequester("Hello", "This is a PureBasic DLL !", 0)
EndProcedure

and this for the client exe: (basically rips from the help file)

; Now the client program, which use the DLL
;
If ...
by AgentOrange
Sun Oct 12, 2003 3:57 am
Forum: Coding Questions
Topic: audio
Replies: 1
Views: 956

audio

My first post.. :lol:

Is there an example that shows the FULL use of embedded audio. I looked through the examples.. and the help file. Found:

CatchSound(0, ?Music)
End

Music: IncludeBinary "Sound.wav"

Also, I see stuff about fmod, and ogg... what's the best to use if i plan to include ...