|
-
Sep 6th, 2002, 03:19 PM
#1
Thread Starter
Lively Member
Shapes and sounds
I'm currently working on a Simon clone, but I have a few questions. First, is there a way to crop labels and forms into custom shapes and if so, how? Second, is it possible to generate sound in VB without using sound files?
ERROR: No keyboard detected. Hit F1 to continue.
-
Sep 7th, 2002, 02:22 PM
#2
Fanatic Member
u could use a shape control, and good luck with sound, ive seen it done in c++, but its very slow, and would have to be generated, saved then used, if its possible in vb then it would take forever to make(the sound). i think there is a .something property for rendering, or u could use setpixel, ill check.
-
Sep 7th, 2002, 05:34 PM
#3
Frenzied Member
Yes, to crop forms(or, in fact, anything with a window handle (a .hWnd property in VB) ), you can use the various Region functions. Take a browse through the MSDN.
If you mean without EXTERNAL sound files, you can add sound data to your exe, with resources, and then load the data into memory at runtime, and play it that way.
Z.
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|