Home > Back-end >  After years to regain programming, encounter problems: how to realize the image object will QQ dialo
After years to regain programming, encounter problems: how to realize the image object will QQ dialo

Time:10-09

After many years as friends to help write a small software, then pick up rusty BCB programming, long just encountered the problem from the start, please theory in friend must help me think it over:
How to implement drag the pictures in QQ chat dialog object or drag in the image file to the program interface Timage control display (or other controls), then the next step of processing?

CodePudding user response:

Drag the file, it is ok to catch WM_DROPFILES, refer to http://bcbjournal.org/articles/vol1/9709/What_a_drag! .htm? PHPSESSID=143 f339fa9322aaf851fe484b063e789
The pictures in QQ chat dialog object is OLE object, TDropTarget will send WM_OLEDROP to form,

CodePudding user response:

Thank moderator adult on-the-spot guidance, can be a bit too much for all the English information, eldest brother can speak more detailed point?
  • Related