Results 1 to 3 of 3

Thread: Let a class has hwnd?

  1. #1

    Thread Starter
    Lively Member Yok's Avatar
    Join Date
    Feb 2001
    Location
    Guangzhou,China
    Posts
    72

    Angry

    Can I let a class ( it has it's own region and some graphical methods ,so it can display on any DC and can be dragged or scaled,just like a control but can't handle
    any messages ,i had to build a message-process method in the class and call the method in the events of the control who is used to show the class) has hwnd?

  2. #2
    Monday Morning Lunatic parksie's Avatar
    Join Date
    Mar 2000
    Location
    Mashin' on the motorway
    Posts
    8,169
    I can't see what you're going at here, but if it's what I think, then no.

    For something like this you'd have to use a control.
    I refuse to tie my hands behind my back and hear somebody say "Bend Over, Boy, Because You Have It Coming To You".
    -- Linus Torvalds

  3. #3
    Guest
    You can use the CreateWindowEx API function to create a window as use that as your control.

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