Results 1 to 2 of 2

Thread: XP Theme support

  1. #1

    Thread Starter
    Addicted Member DKasler's Avatar
    Join Date
    Jan 2005
    Location
    Brooklyn, NYC
    Posts
    177

    XP Theme support

    Im trying to make my app look and feel like a windows app by using the built in XP themes in my forms.

    Mainly trying to make my command buttons look like XP buttons.... Thought this code would do it, but it doesnt seem to work.

    VB Code:
    1. Private Declare Sub InitCommonControls Lib "comctl32.dll" ()
    2.  
    3. Private Sub Form_Initialize()
    4.     InitCommonControls
    5. End Sub
    -----MY SITES-----
    BayRidgeNights.Com - NYC Nightlife Forums

    Fight Communism - Rate Posts!

  2. #2
    PowerPoster
    Join Date
    Dec 2003
    Posts
    4,787

    Re: XP Theme support

    Quote Originally Posted by DKasler
    Im trying to make my app look and feel like a windows app by using the built in XP themes in my forms.

    Mainly trying to make my command buttons look like XP buttons.... Thought this code would do it, but it doesnt seem to work.

    VB Code:
    1. Private Declare Sub InitCommonControls Lib "comctl32.dll" ()
    2.  
    3. Private Sub Form_Initialize()
    4.     InitCommonControls
    5. End Sub
    http://www.vbforums.com/showthread.php?t=323690


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