Results 1 to 6 of 6

Thread: Very Hard Question (RESOLVED)

Threaded View

  1. #1

    Thread Starter
    Hyperactive Member
    Join Date
    Sep 2002
    Location
    Okinawa, Japan
    Posts
    271

    Very Hard Question (RESOLVED)

    Im creating custom controls and I need to use my own windows procedure.
    I know I can replace the winproc using something like

    SetWindowLong(m_hwnd, GWL_WNDPROC, AddressOf CtrlHandler)
    But I can only get it to work with the Ctrlhandler function in a module.
    How can I get this to work so I can have my message handler in the class?? Is it possible?
    Last edited by packetVB; May 17th, 2004 at 06:55 AM.

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