Home > database >  Written by vc ocx controls, how to call the events of pb
Written by vc ocx controls, how to call the events of pb

Time:10-03

Written in vc ocx calls in the pb, ocx want to invoke a function in the events on the pb window, how to do?

CodePudding user response:

Is usually to pb window sendmessage, message number with wm_user
Pb in two parm pbm_custom01 inside according to processing

CodePudding user response:

If you don't know how to get the window handle
Just add a registerwindow ocx functions like
Pb calls it, the handle (yourwin)

CodePudding user response:

On the top floor, PB window handle, then send message!
  • Related