Results 1 to 23 of 23

Thread: SKIN Programs

  1. #1

    Thread Starter
    New Member
    Join Date
    Sep 1999
    Location
    India
    Posts
    2

    Post

    Hi, I am Looking for Writting Some SKIN enabled Programs. Pl Give some Info on this and related Sites.

    ------------------
    Regards,
    AnilGopu


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

    Post

    Could you explain your self a bit.

  3. #3

    Thread Starter
    New Member
    Join Date
    Sep 1999
    Location
    India
    Posts
    2

    Post

    Skin Program mean the Program which can have a Soft Shape, in windows env. For Example Lycos "NEOPlanet" is a Skin Program. User can select, his own Skin from the Skins supplied by NeoPlanet developers. For this kind of programs user can create his own skins also. For ex. ActiveSkin ActiveX control of Softshape "www.softshape.com" provides a Skin Builder with the Control.



    ------------------
    Regards,
    AnilGopu


  4. #4
    Lively Member
    Join Date
    Dec 2000
    Location
    India, Chennai
    Posts
    121

    Cool I've a Solution For you....

    Hi AnilGopu,
    I hope that you're from India. I'm also from India. Ok, I'll come to the matter. For you, in getting example for skins, you goto http://www.planet-source-code.com and on the right hand side you'll see several links showing different subjects. From that Choose, VB and in that you'll see a demo (Project) name skin demo. Get it downloaded and it's a very nice stuff. But I'm not clear with what he had used. if u understand anything, Please help me. If you want more you search there, (keyword skins), you'll find a lot of documents with skin example.
    Meet you Later.
    Regards,
    Ramanan.

    If you've any more doubts you can contact me at
    [email protected]

  5. #5
    PowerPoster
    Join Date
    Aug 2000
    Location
    India
    Posts
    2,288
    You can try http://www.vbaccelerator.com . They have explained the whole concept as well given quite a few examples.

  6. #6
    Fanatic Member
    Join Date
    Jun 1999
    Location
    California, USA
    Posts
    662
    I could never get the NeoCaption from vbaccelerator to work with skins that i made myself. IF you put image controls around the borders of the forms, and use a couple of api functions (sendmessage and releasecapture), you can get a resizable skin app.

    I wrote a skinning control that uses this method to skin a form. very basic. you must manually resize the Skin control in the form_resize event, and you must tell it when your form gets and loses focus, but it gets the job done.

    you can get it at http://agent_153.tripod.com/SkinCTL.zip

  7. #7
    Addicted Member KrishnaSantosh's Avatar
    Join Date
    Feb 2001
    Location
    Coimbatore
    Posts
    210
    Using Windows API you can shape your form in any way you want. Either like a face, or an elephant or what ever you like. For Details Please EMail Me.

    ID : [email protected]

  8. #8
    PowerPoster
    Join Date
    Aug 2000
    Location
    India
    Posts
    2,288
    Skinning doesnot mean just creating odd shaped forms, it means making the shape of the form run time dependent. It depends upon the skin choosen by the user about which you might not be knowing at the design time.

  9. #9
    Member
    Join Date
    Jan 2001
    Location
    usa
    Posts
    43
    Well..ive made many many many skinnable programs..and there is no need for controls..

    its as simple as...loading ini's and pictures...heres an example..

    if getini("skin","current",app.path & "\myapp.ini") = "" then
    me.picture=loadpicture(app.path & "\skins\default\main.bmp")
    end if


    pretty simple...if you need more help..just ask
    check out some of my programs: www.545studios.com
    .:: jier :: 545 Studios ::.

  10. #10
    PowerPoster
    Join Date
    Aug 2000
    Location
    India
    Posts
    2,288
    That's ok if you have a predefined shape, but how do you change the shape of the form every time a new skin comes up as in Windows Media Player 7

  11. #11
    Member
    Join Date
    Jan 2001
    Location
    usa
    Posts
    43
    using me.cls, me.refresh, and CreateWindowRGN
    .:: jier :: 545 Studios ::.

  12. #12
    PowerPoster
    Join Date
    Aug 2000
    Location
    India
    Posts
    2,288
    So it means that the shape co-ordinates willhave to be provide in the ini files that yo were talking about

  13. #13
    Member
    Join Date
    Jan 2001
    Location
    usa
    Posts
    43
    no it doesnt...you pick out the magic pink, from the bmp loaded, and chape the form
    .:: jier :: 545 Studios ::.

  14. #14
    PowerPoster
    Join Date
    Aug 2000
    Location
    India
    Posts
    2,288
    Could you clarify what you do you mean by "magic pink"

  15. #15
    Member
    Join Date
    Jan 2001
    Location
    usa
    Posts
    43
    in the skin scene, magic pink refers to rgb(255,0,255), 99% of skinnable programs use this color to know what area's the skin designers want to be transparent.
    .:: jier :: 545 Studios ::.

  16. #16
    PowerPoster
    Join Date
    Aug 2000
    Location
    India
    Posts
    2,288
    Thanks jier

  17. #17
    Member
    Join Date
    Jan 2001
    Location
    usa
    Posts
    43
    no problem..if you need any more help..just ask.
    .:: jier :: 545 Studios ::.

  18. #18
    Lively Member
    Join Date
    Dec 2000
    Location
    India, Chennai
    Posts
    121

    Cool Can you change the Shape of the to any other irregular shape, like that of a tree ?

    Hi jier,
    I found that you've changed only the form's background and other things. I hope that you would've seen windows media player 7 and also a skin in it , by the name HeadSpace. There the form's shaped is irregular unlike yours. your's will be ok if my bitmap is a Rectangluar shape or Sqyare. If my bitmap is Circular or any other shape, it'll not be nice. If what I told is right, Please give me the solution, or if i'm wrong please explain me what i have to do. Anyway thank you.

  19. #19
    Member
    Join Date
    Jan 2001
    Location
    usa
    Posts
    43
    ummm..yeah

    i explained howto shape forms, and load images..you must have missed it or something, loop through the forms image, using GetPixel, if the pixel is rgb(255,0,255), update th rgn, removeing that area..loop thorough a few more times to make sure you get all the pixels...and SetWindowRgn
    .:: jier :: 545 Studios ::.

  20. #20
    New Member
    Join Date
    Nov 2000
    Location
    The Netherlands
    Posts
    3

    Cool

    Hi,
    I don't understand it, can you please give me a full example how to load a skin into VB, including the text in the .ini files?

    Ciao,
    Philip Klop

  21. #21
    Member
    Join Date
    Jan 2001
    Location
    usa
    Posts
    43

    No..

    I wont give you a example, But i have some for you!

    There's a cool little notepad replacement out..and the code for it, as well as more skin examples can be found here:

    http://www.veoweb.com/users/kewlpad/code.html
    .:: jier :: 545 Studios ::.

  22. #22
    New Member
    Join Date
    Nov 2000
    Location
    The Netherlands
    Posts
    3
    Hi,
    Thanks man!

    Ciao,
    Philip Klop

    Ibisware Productions
    http://www.ibisware.com/

  23. #23
    New Member
    Join Date
    Apr 2001
    Location
    Singapore
    Posts
    1
    I tried NeoCaption on my MDI, but it generates error upon creating a new Child Windows!

    Is there any example work with MDI?

    Much Thanks

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