Results 1 to 4 of 4

Thread: try to create control

  1. #1

    Thread Starter
    New Member
    Join Date
    Mar 2001
    Location
    Netherlands, Europe
    Posts
    14

    try to create control

    I've got vc++ and I would like to create my own control. but I cant find any information on the web for my ideas. is there anybody how has done this or has information about creating controls?

    martijn

  2. #2
    Kitten CornedBee's Avatar
    Join Date
    Aug 2001
    Location
    In a microchip!
    Posts
    11,594
    Very complicated, and I don't think you could integrate it into VC++'s resource editor. But basically you would have to write a dll that registers a window class and provides a wndproc that draws it, updates it and handles special messages. The class would need to have the style CS_GLOBALCLASS, but I don't know more. If you are not very good this is way over your head.
    All the buzzt
    CornedBee

    "Writing specifications is like writing a novel. Writing code is like writing poetry."
    - Anonymous, published by Raymond Chen

    Don't PM me with your problems, I scan most of the forums daily. If you do PM me, I will not answer your question.

  3. #3

    Thread Starter
    New Member
    Join Date
    Mar 2001
    Location
    Netherlands, Europe
    Posts
    14
    thanx for your reply, but I'm a newby with c++. but I lern much with examples, so I was hoping that someone had an example.

    thanx anyway!

    martijn

  4. #4
    Kitten CornedBee's Avatar
    Join Date
    Aug 2001
    Location
    In a microchip!
    Posts
    11,594
    Then you should first learn how to use windows and especially the commmon controls before you attempt to write your own.
    All the buzzt
    CornedBee

    "Writing specifications is like writing a novel. Writing code is like writing poetry."
    - Anonymous, published by Raymond Chen

    Don't PM me with your problems, I scan most of the forums daily. If you do PM me, I will not answer your question.

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