Results 1 to 17 of 17

Thread: Import .msstyle for form theme

  1. #1

    Thread Starter
    Member
    Join Date
    Nov 2009
    Posts
    50

    Import .msstyle for form theme

    Hello.
    My next question is how do i use a .msstyle file for the form theme/style?

    Preferably not using SkinSoft Visual Styler.net because this doesnt support some things like fixed single border. It also isnt free.

    Thanks.

  2. #2

    Thread Starter
    Member
    Join Date
    Nov 2009
    Posts
    50

    Re: Import .msstyle for form theme

    Delete
    Last edited by NextToNothing; Oct 6th, 2010 at 04:16 AM.

  3. #3

    Thread Starter
    Member
    Join Date
    Nov 2009
    Posts
    50

    Re: Import .msstyle for form theme

    Bump. no replys

  4. #4
    Frenzied Member
    Join Date
    Jan 2010
    Location
    Connecticut
    Posts
    1,687

    Re: Import .msstyle for form theme

    What's a form theme? None of my standard forms have a theme property or a msstyle property. Sounds like you are using a third party something but failing to mention it.
    VB6 Library

    If I helped you then please help me and rate my post!
    If you solved your problem, then please mark the post resolved

  5. #5

    Thread Starter
    Member
    Join Date
    Nov 2009
    Posts
    50

    Re: Import .msstyle for form theme

    Quote Originally Posted by MarMan View Post
    What's a form theme? None of my standard forms have a theme property or a msstyle property. Sounds like you are using a third party something but failing to mention it.
    The form border style, the button styles. Its basically using a .msstyle file to change the form border button styles radio button styles list box styles etc which the msstyle file has in it. The windows 7 windows have a different style from the windows xp styles.
    Attached Images Attached Images  

  6. #6
    Frenzied Member
    Join Date
    Jan 2010
    Location
    Connecticut
    Posts
    1,687

    Re: Import .msstyle for form theme

    So you are saying that .msstyle is only available in Windows 7? You may have to manually parse the file yourself. If you post an example I will try to help you.
    VB6 Library

    If I helped you then please help me and rate my post!
    If you solved your problem, then please mark the post resolved

  7. #7

    Thread Starter
    Member
    Join Date
    Nov 2009
    Posts
    50

    Re: Import .msstyle for form theme

    Quote Originally Posted by MarMan View Post
    So you are saying that .msstyle is only available in Windows 7? You may have to manually parse the file yourself. If you post an example I will try to help you.
    No .msstyle as available on all windows as far as i know and they are used to style the windows.

    EDIT:
    Wikipedia:: http://en.wikipedia.org/wiki/Msstyle

    example of windows xp custom msstyle:
    Last edited by NextToNothing; Oct 6th, 2010 at 01:02 PM.

  8. #8
    Frenzied Member
    Join Date
    Jan 2010
    Location
    Connecticut
    Posts
    1,687

    Re: Import .msstyle for form theme

    Then what are they? Part of the operating system? 3rd party application?
    VB6 Library

    If I helped you then please help me and rate my post!
    If you solved your problem, then please mark the post resolved

  9. #9

    Thread Starter
    Member
    Join Date
    Nov 2009
    Posts
    50

    Re: Import .msstyle for form theme

    Quote Originally Posted by MarMan View Post
    Then what are they? Part of the operating system? 3rd party application?
    There a file for the operating systems window styles and taskbar styles etc. They are customizable and Microsoft even supply a couple of alteratives for you to use if you wish to.

  10. #10
    Frenzied Member
    Join Date
    Jan 2010
    Location
    Connecticut
    Posts
    1,687

    Re: Import .msstyle for form theme

    Well if you wish to use them you will have to manually parse them. If you post an example I will try to help.
    VB6 Library

    If I helped you then please help me and rate my post!
    If you solved your problem, then please mark the post resolved

  11. #11

    Thread Starter
    Member
    Join Date
    Nov 2009
    Posts
    50

    Re: Import .msstyle for form theme

    I dont know what i would post as an example but the msstyle i want to use is in this zip.
    Attached Files Attached Files

  12. #12
    Frenzied Member
    Join Date
    Jan 2010
    Location
    Connecticut
    Posts
    1,687

    Re: Import .msstyle for form theme

    Well you picked a very difficult job for yourself.
    Here's the file format.
    This may help; too much for me to read right now.
    You may be able to extract what you want from here.

    This could take several days to get a single bitmap. I hope you have a lot of time on your hands
    VB6 Library

    If I helped you then please help me and rate my post!
    If you solved your problem, then please mark the post resolved

  13. #13

    Thread Starter
    Member
    Join Date
    Nov 2009
    Posts
    50

    Re: Import .msstyle for form theme

    Quote Originally Posted by MarMan View Post
    Well you picked a very difficult job for yourself.
    Here's the file format.
    This may help; too much for me to read right now.
    You may be able to extract what you want from here.

    This could take several days to get a single bitmap. I hope you have a lot of time on your hands
    I can get the bitmaps easily.
    Its the part where i dont know how to change form border etc. So i thought it might be easier to just see if i can import the msstyle.

    Thanks for your help so far.

  14. #14
    Frenzied Member
    Join Date
    Jan 2010
    Location
    Connecticut
    Posts
    1,687

    Re: Import .msstyle for form theme

    I believe you need to use this API setwindowlong. I don't know the parameters for it.
    VB6 Library

    If I helped you then please help me and rate my post!
    If you solved your problem, then please mark the post resolved

  15. #15

    Thread Starter
    Member
    Join Date
    Nov 2009
    Posts
    50

    Re: Import .msstyle for form theme

    Quote Originally Posted by MarMan View Post
    I believe you need to use this API setwindowlong. I don't know the parameters for it.
    How would i use this? is there another way too?

  16. #16

    Thread Starter
    Member
    Join Date
    Nov 2009
    Posts
    50

    Re: Import .msstyle for form theme

    Anyone?

  17. #17
    Frenzied Member
    Join Date
    Jan 2010
    Location
    Connecticut
    Posts
    1,687

    Re: Import .msstyle for form theme

    Do a search on the API setwindowlong. Then try using it, see what you get.
    VB6 Library

    If I helped you then please help me and rate my post!
    If you solved your problem, then please mark the post resolved

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