Results 1 to 12 of 12

Thread: manifest file and Options Box [RESOLVED]

  1. #1

    Thread Starter
    Addicted Member
    Join Date
    Apr 2003
    Location
    Australia
    Posts
    252

    manifest file and Options Box [RESOLVED]

    Hi there,

    In every occasion, when try to get the XP Style using the manifest file, I am getting a black bar for Option boxes.

    Please check the screenshot.

    Can you please explain me the reason or a fix for this.

    Much appreciated.

    McoreD
    Attached Images Attached Images  
    Last edited by ~*McoreD*~; Dec 20th, 2003 at 06:15 PM.

  2. #2
    Supreme User Madboy's Avatar
    Join Date
    Oct 2003
    Location
    England
    Posts
    3,253
    Try setting the form to AutoRedraw = True

  3. #3

    Thread Starter
    Addicted Member
    Join Date
    Apr 2003
    Location
    Australia
    Posts
    252
    Unfortunately no luck yet dude. I also got the modXPStyle to initialise the comctl32.dll, but it is still like that. Appreciate your help.

  4. #4
    Supreme User Madboy's Avatar
    Join Date
    Oct 2003
    Location
    England
    Posts
    3,253
    How are you setting the XPStyle, through a control or code?

  5. #5

    Thread Starter
    Addicted Member
    Join Date
    Apr 2003
    Location
    Australia
    Posts
    252
    I have added the modXPStyle to Project I am currently working on. I heard that when you have the modXPStyle added to a project, it will initialise the comctl32.dll and will able to acquire XP Style via the Manifest file. It works except for this problem with Option boxes.
    Attached Files Attached Files

  6. #6
    Supreme User Madboy's Avatar
    Join Date
    Oct 2003
    Location
    England
    Posts
    3,253
    Sorry, that module is no good to me, im a Win98 User.

    Someone with XP should help though......

  7. #7
    Addicted Member
    Join Date
    Sep 2000
    Location
    UK
    Posts
    199
    This is a problem with the manifest file. If you put your option boxes within a picture box you should find that they display properly.

  8. #8

    Thread Starter
    Addicted Member
    Join Date
    Apr 2003
    Location
    Australia
    Posts
    252

    Thumbs up Perfect!

    Hi PaulTilley,

    It works great mate.
    The problem occurs as soon as you draw an Option box within a Frame.

    1. So I drew the Frame.
    2. Drew a PictureBox within the Frame.
    3. Drew the OptionBox within the PictureBox (as you adviced).

    Now it works perfect!

    Thanks very much.

  9. #9
    Addicted Member
    Join Date
    Sep 2000
    Location
    UK
    Posts
    199
    No a problem at all.

    Glad it worked for u

  10. #10
    Supreme User Madboy's Avatar
    Join Date
    Oct 2003
    Location
    England
    Posts
    3,253
    Paul, where in UK are you from?

  11. #11
    Addicted Member
    Join Date
    Sep 2000
    Location
    UK
    Posts
    199
    somerset

  12. #12
    Supreme User Madboy's Avatar
    Join Date
    Oct 2003
    Location
    England
    Posts
    3,253
    Wheres somerset? I live up north near Newcastle

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