Ok is it just me or does visual studio's code when u search a topic not fully coded? im probably not wording this right but i'll try to explain. I was just doing some searches through Visual Studio's search engine with Visual C++ filtered. I came across setting the opacity of your program from the interface and programmatically. I decided to test to code out. I created a new Windows Form application. Added some buttons that would give the program a different opacity, double clicked each button(to bring up the code window), and entered this code straight from the help file
I changed the value of the opacity so it wouldn't be just .83. When i went to compile it, i get ALOT of errors. Don't know why its giving me errors when its code straight from the help file. I decided to try another one out. I found a FAQ on microsofts MSDN section asking
When i compiled i got 16 errors..So after this long rant my question is, am i doing something wrong? Did i install wrong, even tho i just followed the steps on installing?? Did i not include something i need to include in VC++ directories? im just completely confused on this so any advice would be great. Thanks
Code:
public:
void MakeSeeThru()
{
frmTransparentForm->Opacity = 0.83;
}
I changed the value of the opacity so it wouldn't be just .83. When i went to compile it, i get ALOT of errors. Don't know why its giving me errors when its code straight from the help file. I decided to try another one out. I found a FAQ on microsofts MSDN section asking
So i loaded a new Windows Form project and double clicked on the form itself to bring up the code window with Form_load and thought this would be the place to put it. So i entered the code straight from the help fileHow do I create a form with resizing borders and no title bar?
Code:
form1.Text = string.Empty;
form1.ControlBox = false;