I want to minimize my windows form when i clicked anywhere outside it.... But this code will just close the whole program, can anyone help? I want to hide the app to taskbar, and when i press it from taskbar it shows up again.......
Here is the code:
protected override void...
Because i need to copy texts from the coded c# program and paste it at powerpoint. It would be more easy if i just click outside the program and paste it at powerpoint, and go back to the program again when i need to copy another thing. Now the coded program is blocking powerpoint.. So i need to...
Actually i've found a solution, but this is not i want.... Because this will just close the whole program, what i want is just minimize it in taskbar, and show up again when i press it from taskbar
Here is the code:
protected override void OnMouseCaptureChanged(EventArgs e)
{...
Hi, thanks for all replies,
But unfortunately what i need is to able to minimize/hide the app when i clicked anywhere outside the application, and display it again when i click from taskbar.... Because for now the app is unable to hide when i click outside it, so it is blocking my other running...
My WFA has overlayed other application since i added this code unto it. But i need this code to lock other users from repositioning the form. Please help ?
protected override void WndProc(ref Message m)
{
const int WM_NCLBUTTONDOWN = 161;
const int WM_SYSCOMMAND = 274;
const int...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.