View Poll Results: about this idea

Voters
0. You may not vote on this poll
  • nice

    0 0%
  • good

    0 0%
  • bad

    0 0%
Multiple Choice Poll.
Results 1 to 4 of 4

Thread: how can create user control like these properties(no need property page)

  1. #1

    Thread Starter
    Fanatic Member Black_Storm's Avatar
    Join Date
    Sep 2007
    Location
    any where
    Posts
    591

    Post how can create user control like these properties(no need property page)

    hi,i want create my user control and then design like these properties :

    Name:  0.jpg
Views: 245
Size:  46.2 KB

    if i can create property page and then i can call it so how ?
    important is can show direct my properties on properties bar.

  2. #2
    VB-aholic & Lovin' It LaVolpe's Avatar
    Join Date
    Oct 2007
    Location
    Beside Waldo
    Posts
    19,541

    Re: how can create user control like these properties(no need property page)

    Something like that would likely involve some serious subclassing. But you need to ask yourself is it even worth the trouble. In this project, you can see how complex it is just to build your custom listing, and that doesn't include drawing the combobox dropdown.

    The reason why I said "worth the trouble" is because, the only time someone is even going to see the fancy effects is during design time.
    Insomnia is just a byproduct of, "It can't be done"

    Classics Enthusiast? Here's my 1969 Mustang Mach I Fastback. Her sister '67 Coupe has been adopted

    Newbie? Novice? Bored? Spend a few minutes browsing the FAQ section of the forum.
    Read the HitchHiker's Guide to Getting Help on the Forums.
    Here is the list of TAGs you can use to format your posts
    Here are VB6 Help Files online


    {Alpha Image Control} {Memory Leak FAQ} {Unicode Open/Save Dialog} {Resource Image Viewer/Extractor}
    {VB and DPI Tutorial} {Manifest Creator} {UserControl Button Template} {stdPicture Render Usage}

  3. #3

    Thread Starter
    Fanatic Member Black_Storm's Avatar
    Join Date
    Sep 2007
    Location
    any where
    Posts
    591

    Re: how can create user control like these properties(no need property page)

    do u have any sample code with graphics like my image atached in 1? for example listview or combobox themed or color box like as combbo box or ... ?


    and your sample code compiled (ocx) did work on other ui like vb.net or any other prgramming used ocx?

  4. #4
    VB-aholic & Lovin' It LaVolpe's Avatar
    Join Date
    Oct 2007
    Location
    Beside Waldo
    Posts
    19,541

    Re: how can create user control like these properties(no need property page)

    Any usercontrol I create is not guaranteed to work in .Net

    As for sample code for other controls, suggest google, using the key word: ownerdrawn.
    For example, google: ownerdrawn combobox site:vbforums.com
    Insomnia is just a byproduct of, "It can't be done"

    Classics Enthusiast? Here's my 1969 Mustang Mach I Fastback. Her sister '67 Coupe has been adopted

    Newbie? Novice? Bored? Spend a few minutes browsing the FAQ section of the forum.
    Read the HitchHiker's Guide to Getting Help on the Forums.
    Here is the list of TAGs you can use to format your posts
    Here are VB6 Help Files online


    {Alpha Image Control} {Memory Leak FAQ} {Unicode Open/Save Dialog} {Resource Image Viewer/Extractor}
    {VB and DPI Tutorial} {Manifest Creator} {UserControl Button Template} {stdPicture Render Usage}

Tags for this Thread

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