-
C++ (
http://www.daniweb.com/forums/forum8.html)
| shakoush2001 | Oct 28th, 2005 6:35 pm | |
| Cbuilder Fullscreen form how to ??? Hi guys
This is not my homework it is a private project Iam working on .... and Ive searched google for an answer...I also found a similar thread on this site but the code would not work.
Can someone tell me please how to create a full screen form in C++Builder...Ive got SDK installed if that helps..... |
| SlyMaelstrom | Oct 29th, 2005 7:40 am | |
| Re: Cbuilder Fullscreen form how to ??? Form1->BorderStyle=bsNone;
Form1->WindowState=wsMaximized; I believe... |
| shakoush2001 | Oct 29th, 2005 1:16 pm | |
| Re: Cbuilder Fullscreen form how to ??? Quote: Originally Posted by SlyMaelstrom Form1->BorderStyle=bsNone;
Form1->WindowState=wsMaximized; I believe... | Thanks for your help I got it configured..... you need API functions to get it done.... wsMaximized covers all the available workspace...that does not include the taskbar thus the taskbar has to be hidden first and then the Form can be maximized.... |
| SlyMaelstrom | Oct 30th, 2005 12:22 am | |
| Re: Cbuilder Fullscreen form how to ??? Oh, I see. You were looking for a maximized screen like a video game would be maximized. I understood it like you wanted a standard windows form maximized. |
| shakoush2001 | Oct 30th, 2005 5:24 am | |
| Re: Cbuilder Fullscreen form how to ??? Here is what Ive done in case someone searched for it .....
Form1->FormStyle = fsStayOnTop;
Form1->Width = Screen->Width;
Form1->Height = Screen->Height;
Form1->BorderStyle = bsNone;
Form1->Top = 0;
Form1->Left = 0;
//and to hide the taskbar "FindWindow gets the handle of the taskbar"
ShowWindow(FindWindow("Shell_TrayWnd", NULL), SW_HIDE);
//to show the taskbar again
ShowWindow(FindWindow("Shell_TrayWnd", NULL), SW_SHOW); |
| All times are GMT -4. The time now is 2:01 am. | |
Forum system based on vBulletin Copyright ©2000 - 2009, Jelsoft Enterprises Ltd.
©2003 - 2009 DaniWeb® LLC