943,952 Members | Top Members by Rank

Ad:
  • C++ Discussion Thread
  • Unsolved
  • Views: 3666
  • C++ RSS
Oct 28th, 2005
0

Cbuilder Fullscreen form how to ???

Expand Post »
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.....
Similar Threads
Reputation Points: 10
Solved Threads: 0
Newbie Poster
shakoush2001 is offline Offline
10 posts
since Jul 2005
Oct 29th, 2005
0

Re: Cbuilder Fullscreen form how to ???

C++ Syntax (Toggle Plain Text)
  1. Form1->BorderStyle=bsNone;
  2. Form1->WindowState=wsMaximized;
I believe...
Reputation Points: 15
Solved Threads: 2
Newbie Poster
SlyMaelstrom is offline Offline
21 posts
since Oct 2005
Oct 29th, 2005
0

Re: Cbuilder Fullscreen form how to ???

Quote originally posted by SlyMaelstrom ...
C++ Syntax (Toggle Plain Text)
  1. Form1->BorderStyle=bsNone;
  2. 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....
Reputation Points: 10
Solved Threads: 0
Newbie Poster
shakoush2001 is offline Offline
10 posts
since Jul 2005
Oct 30th, 2005
0

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.
Reputation Points: 15
Solved Threads: 2
Newbie Poster
SlyMaelstrom is offline Offline
21 posts
since Oct 2005
Oct 30th, 2005
0

Re: Cbuilder Fullscreen form how to ???

Here is what Ive done in case someone searched for it .....

C++ Syntax (Toggle Plain Text)
  1. Form1->FormStyle = fsStayOnTop;
  2. Form1->Width = Screen->Width;
  3. Form1->Height = Screen->Height;
  4. Form1->BorderStyle = bsNone;
  5. Form1->Top = 0;
  6. Form1->Left = 0;
  7. //and to hide the taskbar "FindWindow gets the handle of the taskbar"
  8. ShowWindow(FindWindow("Shell_TrayWnd", NULL), SW_HIDE);
  9.  
  10. //to show the taskbar again
  11. ShowWindow(FindWindow("Shell_TrayWnd", NULL), SW_SHOW);
Last edited by Dave Sinkula; Oct 30th, 2005 at 10:22 am. Reason: Added [code][/code] tags.
Reputation Points: 10
Solved Threads: 0
Newbie Poster
shakoush2001 is offline Offline
10 posts
since Jul 2005

This thread is more than three months old

No one has posted to this discussion for at least three months. Please let old threads die and do not reply to them unless you feel you have something new and valuable to contribute that absolutely must be added to make the discussion complete. Otherwise, please start a new thread in this forum instead.
Message:
Previous Thread in C++ Forum Timeline: New to C++ need some help
Next Thread in C++ Forum Timeline: Coverting varibles





About Us | Contact Us | Advertise | Acceptable Use Policy
Forum Index | Build Custom RSS Feed


Follow us on Twitter


© 2011 DaniWeb® LLC