Results 1 to 6 of 6

Thread: CREATING SKINNABLE PROGRAM

  1. #1

    Thread Starter
    New Member
    Join Date
    Jun 1999
    Posts
    14

    Post

    Yeah im trying to create a program with skinz such as winamp and etc and I looked at the article below and I have tried using bitblt but I was soon to find out that it only works if the picture itself is viewable on the screen.. Are there any other ways to do this? Or am I going in the wrong direction or right direction?

  2. #2
    Addicted Member Cbomb's Avatar
    Join Date
    Jul 1999
    Posts
    153

    Post

    I'm totally into the skinning idea but this is all i have foud its an ActiveX control that will do the skinning thing for ya. There is a 30 day demo then it turns it self off. I'm lookin for a free way to do the skins but heres the link if yer' interested:
    ActiveSkin

    Good luck

  3. #3
    Junior Member
    Join Date
    Jan 1999
    Posts
    30

    Post

    use VB's PaintPicture instead.

  4. #4
    New Member
    Join Date
    Jul 1999
    Posts
    4

    Post

    The best way to use skins in visual basic is to use the BitBlt API call. Simply create an image and load it in a picture box. Create another picture box on the form and use the BitBlt call to place sections of the first picture box to anywhere you want on another picture box. Make the first picture box invisible and you can place the image bits to any picture. Email me if you would like an example. [email protected]

    [This message has been edited by jimmit_t (edited 07-14-1999).]

  5. #5
    Guest

    Post

    Here's another way at looking at how to do it. This might take more coding depending on what you do. Just place the picture on the form, but don't use any command buttons. Make all labels transparent. Lets say that we have an imaginary command button (in pixels) at a position of (8,8), a width of 64 & a height of 24. You would put this code:

    Code:
    Form_Mousedown(X as integer, Y as integer, Button as integer, Shift as integer)
        
        If Int(X) > 8 and Int(X) <= 72 Then
            If Int(Y) > 8 and Int(Y) <= 32 Then
                Call ActionProc
            End If
        End If
    
    End Sub
    You just code that as many times as you have to. it might take more work but will work just as smooth. And if you would like to get the look of a command button you could draw lines.

  6. #6
    New Member
    Join Date
    Sep 1999
    Location
    Pembroke Pines, FL, USA
    Posts
    9

    Post

    hey people, point to here "http://www.hider.com/dos/files/dos-iface.zip" this example is an EXCELLENT source to interface your app. enjoy.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width