Help ! Support please!

Just starting out? Need help? Post your questions and find answers here.
BackupUser
PureBasic Guru
PureBasic Guru
Posts: 16777133
Joined: Tue Apr 22, 2003 7:42 pm

Post by BackupUser »

Restored from previous forum. Originally posted by marlo.

I make a dll to load an image for the window app that call that dll,how can i do to draw the image on the window app that call the dll? How can i tell to a dll the window of the external app that call the dll. Thanks fred, or any support people.

from Corruptionland
BackupUser
PureBasic Guru
PureBasic Guru
Posts: 16777133
Joined: Tue Apr 22, 2003 7:42 pm

Post by BackupUser »

Restored from previous forum. Originally posted by tinman.
Originally posted by marlo

I make a dll to load an image for the window app that call that dll,how can i do to draw the image on the window app that call the dll? How can i tell to a dll the window of the external app that call the dll. Thanks fred, or any support people.
Pass the window handle as a parameter to your DLL function, by either doing "hwnd.l = OpenWindow(...)" or "UseWindow(x)" to get the handle.



--
It's not minimalist - I'm increasing efficiency by reducing input effort.
(Win98first ed. + all updates, PB3.50)
BackupUser
PureBasic Guru
PureBasic Guru
Posts: 16777133
Joined: Tue Apr 22, 2003 7:42 pm

Post by BackupUser »

Restored from previous forum. Originally posted by marlo.

Thanks tinman,fred, and all support people!

south south america
Post Reply