Cbuilder Fullscreen form how to ???

Please support our C++ advertiser: Intel Parallel Studio Home
Reply

Join Date: Jul 2005
Posts: 10
Reputation: shakoush2001 is an unknown quantity at this point 
Solved Threads: 0
shakoush2001 shakoush2001 is offline Offline
Newbie Poster

Cbuilder Fullscreen form how to ???

 
0
  #1
Oct 28th, 2005
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.....
Reply With Quote Quick reply to this message  
Join Date: Oct 2005
Posts: 21
Reputation: SlyMaelstrom is an unknown quantity at this point 
Solved Threads: 2
SlyMaelstrom's Avatar
SlyMaelstrom SlyMaelstrom is offline Offline
Newbie Poster

Re: Cbuilder Fullscreen form how to ???

 
0
  #2
Oct 29th, 2005
  1. Form1->BorderStyle=bsNone;
  2. Form1->WindowState=wsMaximized;
I believe...
Reply With Quote Quick reply to this message  
Join Date: Jul 2005
Posts: 10
Reputation: shakoush2001 is an unknown quantity at this point 
Solved Threads: 0
shakoush2001 shakoush2001 is offline Offline
Newbie Poster

Re: Cbuilder Fullscreen form how to ???

 
0
  #3
Oct 29th, 2005
Originally Posted by SlyMaelstrom
  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....
Reply With Quote Quick reply to this message  
Join Date: Oct 2005
Posts: 21
Reputation: SlyMaelstrom is an unknown quantity at this point 
Solved Threads: 2
SlyMaelstrom's Avatar
SlyMaelstrom SlyMaelstrom is offline Offline
Newbie Poster

Re: Cbuilder Fullscreen form how to ???

 
0
  #4
Oct 30th, 2005
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.
Reply With Quote Quick reply to this message  
Join Date: Jul 2005
Posts: 10
Reputation: shakoush2001 is an unknown quantity at this point 
Solved Threads: 0
shakoush2001 shakoush2001 is offline Offline
Newbie Poster

Re: Cbuilder Fullscreen form how to ???

 
0
  #5
Oct 30th, 2005
Here is what Ive done in case someone searched for it .....

  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.
Reply With Quote Quick reply to this message  
Reply

This thread is more than three months old.
Perhaps start a new thread instead?
Message:



Similar Threads
Other Threads in the C++ Forum
Thread Tools Search this Thread



About Us | Contact Us | Advertise | DaniWeb | Acceptable Use Policy | RSS Feed

©2003 - 2009 DaniWeb® LLC