zabo
New Member
Posts: 22
|
Post by zabo on Feb 9, 2019 12:19:25 GMT -5
Hello ,
i have a question how to overwrite or erase the clipboard of the os if a user want to exit from the program ?
When klicks the exit button the clipboard should also be empty that no relevant data is there. example : passwords etc.
I have not found anything about this in the documentation.
WBR Zabo
|
|
|
Post by metro on Feb 9, 2019 12:46:26 GMT -5
Hello , i have a question how to overwrite or erase the clipboard of the os if a user want to exit from the program ? When klicks the exit button the clipboard should also be empty that no relevant data is there. example : passwords etc. I have not found anything about this in the documentation. WBR Zabo Lots of info here www.libertybasicuniversity.com/lbnews/nl108/tip.htmYou could copy "" to the clipboard on exiting 'Open the clipboard CallDll #user32, "OpenClipboard", hOwner as long, r as boolean
'Remove the current contents of the clipboard CallDll #user32, "EmptyClipboard", r as boolean
CallDll #user32, "CloseClipboard", r as boolean
|
|
zabo
New Member
Posts: 22
|
Post by zabo on Feb 9, 2019 14:34:20 GMT -5
Hello metro , many thanks for that. I realize it must be an API call to get the OS function.
|
|