A Microsoft Office (Excel, Word) forum. OfficeFrustration

If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

Go Back   Home » OfficeFrustration forum » Microsoft Access » Using Forms
Site Map Home Register Authors List Search Today's Posts Mark Forums Read  

How to Display NO Title Bar



 
 
Thread Tools Display Modes
  #1  
Old June 1st, 2008, 08:06 PM posted to microsoft.public.access.forms
AG[_3_]
external usenet poster
 
Posts: 129
Default How to Display NO Title Bar

Is it possible to remove both the Access and a form's title bar, when both
are maximized?

If so, can anyone point me to an example or explanation?

Thanks,

--

AG
Email: discussATadhdataDOTcom


  #2  
Old June 1st, 2008, 11:39 PM posted to microsoft.public.access.forms
Arvin Meyer [MVP]
external usenet poster
 
Posts: 4,231
Default How to Display NO Title Bar

If you turn off all the items around the titlebar (no caption, min,max,
close, and the Control Box) you can set the border to None. Make sure that
you have a button to close the form.
--
Arvin Meyer, MCP, MVP
http://www.datastrat.com
http://www.mvps.org/access
http://www.accessmvp.com

"AG" wrote in message
...
Is it possible to remove both the Access and a form's title bar, when both
are maximized?

If so, can anyone point me to an example or explanation?

Thanks,

--

AG
Email: discussATadhdataDOTcom



  #3  
Old June 2nd, 2008, 01:34 AM posted to microsoft.public.access.forms
AG[_3_]
external usenet poster
 
Posts: 129
Default How to Display NO Title Bar

Thanks Arvin, but I also want to remove the Access application title bar, so
that there is nothing at the top of the screen.

--

AG
Email: discussATadhdataDOTcom
"Arvin Meyer [MVP]" wrote in message
...
If you turn off all the items around the titlebar (no caption, min,max,
close, and the Control Box) you can set the border to None. Make sure that
you have a button to close the form.
--
Arvin Meyer, MCP, MVP
http://www.datastrat.com
http://www.mvps.org/access
http://www.accessmvp.com

"AG" wrote in message
...
Is it possible to remove both the Access and a form's title bar, when
both are maximized?

If so, can anyone point me to an example or explanation?

Thanks,

--

AG
Email: discussATadhdataDOTcom





  #4  
Old June 2nd, 2008, 11:00 AM posted to microsoft.public.access.forms
Charles Wang [MSFT]
external usenet poster
 
Posts: 68
Default How to Display NO Title Bar

Hi AG,
I recommend that you first execute "DoCmd.Maxmize" in your Form OnLoad
event and then try setting your Access Form's properties "Pop Up" and
"Modal" to Yes.

Hope this helps. Please feel free to let us know if you have any other
questions or concerns.

Best regards,
Charles Wang
Microsoft Online Community Support
================================================== =========
Delighting our customers is our #1 priority. We welcome your
comments and suggestions about how we can improve the
support we provide to you. Please feel free to let my manager
know what you think of the level of service provided. You can
send feedback directly to my manager at: .
================================================== =========
Get notification to my posts through email? Please refer to
http://msdn.microsoft.com/subscripti...ult.aspx#notif
ications.

Note: The MSDN Managed Newsgroup support offering is for
non-urgent issues where an initial response from the community
or a Microsoft Support Engineer within 1 business day is acceptable.
Please note that each follow up response may take approximately
2 business days as the support professional working with you may
need further investigation to reach the most efficient resolution.
The offering is not appropriate for situations
that require urgent, real-time or phone-based interactions or complex
project analysis and dump analysis issues. Issues of this nature are best
handled working with a dedicated Microsoft Support Engineer by
contacting Microsoft Customer Support Services (CSS) at
http://msdn.microsoft.com/subscripti...t/default.aspx.
================================================== ==========
This posting is provided "AS IS" with no warranties, and confers no rights.
================================================== =======

  #5  
Old June 2nd, 2008, 01:47 PM posted to microsoft.public.access.forms
Arvin Meyer [MVP]
external usenet poster
 
Posts: 4,231
Default How to Display NO Title Bar

You can, as Charles suggests, set the popup property to yes and your
maximized form will cover the Access screen. Setting the modal property to
yes will then require setting all the rest of your forms to modal, and they
will need to be closed, or at least the clutter dealt with, as you are done
with their current action.

You cannot hide Access's title bar (at least easily) but you can disguise it
very easily in versions 2003 and earlier. Simply supply a new icon and app
title in the database's Startup properties. You can change the background
and even supply an image for the background with:

http://www.lebans.com/changemdibackground.htm

You can also hide the entire Access interface, by minimizing it:

http://www.mvps.org/access/api/api0019.htm
--
Arvin Meyer, MCP, MVP
http://www.datastrat.com
http://www.mvps.org/access
http://www.accessmvp.com


"Arvin Meyer [MVP]" wrote in message
...
If you turn off all the items around the titlebar (no caption, min,max,
close, and the Control Box) you can set the border to None. Make sure that
you have a button to close the form.
--
Arvin Meyer, MCP, MVP
http://www.datastrat.com
http://www.mvps.org/access
http://www.accessmvp.com

"AG" wrote in message
...
Is it possible to remove both the Access and a form's title bar, when
both are maximized?

If so, can anyone point me to an example or explanation?

Thanks,

--

AG
Email: discussATadhdataDOTcom





  #6  
Old June 3rd, 2008, 02:46 AM posted to microsoft.public.access.forms
AG[_3_]
external usenet poster
 
Posts: 129
Default How to Display NO Title Bar

This will hide the Access title bar how??

--

AG
Email: discussATadhdataDOTcom
""Charles Wang [MSFT]"" wrote in message
...
Hi AG,
I recommend that you first execute "DoCmd.Maxmize" in your Form OnLoad
event and then try setting your Access Form's properties "Pop Up" and
"Modal" to Yes.

Hope this helps. Please feel free to let us know if you have any other
questions or concerns.

Best regards,
Charles Wang
Microsoft Online Community Support
================================================== =========
Delighting our customers is our #1 priority. We welcome your
comments and suggestions about how we can improve the
support we provide to you. Please feel free to let my manager
know what you think of the level of service provided. You can
send feedback directly to my manager at: .
================================================== =========
Get notification to my posts through email? Please refer to
http://msdn.microsoft.com/subscripti...ult.aspx#notif
ications.

Note: The MSDN Managed Newsgroup support offering is for
non-urgent issues where an initial response from the community
or a Microsoft Support Engineer within 1 business day is acceptable.
Please note that each follow up response may take approximately
2 business days as the support professional working with you may
need further investigation to reach the most efficient resolution.
The offering is not appropriate for situations
that require urgent, real-time or phone-based interactions or complex
project analysis and dump analysis issues. Issues of this nature are best
handled working with a dedicated Microsoft Support Engineer by
contacting Microsoft Customer Support Services (CSS) at
http://msdn.microsoft.com/subscripti...t/default.aspx.
================================================== ==========
This posting is provided "AS IS" with no warranties, and confers no
rights.
================================================== =======



  #7  
Old June 3rd, 2008, 02:53 AM posted to microsoft.public.access.forms
AG[_3_]
external usenet poster
 
Posts: 129
Default How to Display NO Title Bar

Thanks Arvin,

The second link looks promising.
The idea is to completely fill the screen. The app is for display purposes
and consists of only two forms. The main display form that constantly polls
a back end to display current data and a modal pop-up form for configuration
settings (and exit button) only.

--

AG
Email: discussATadhdataDOTcom
"Arvin Meyer [MVP]" wrote in message
...
You can, as Charles suggests, set the popup property to yes and your
maximized form will cover the Access screen. Setting the modal property to
yes will then require setting all the rest of your forms to modal, and
they will need to be closed, or at least the clutter dealt with, as you
are done with their current action.

You cannot hide Access's title bar (at least easily) but you can disguise
it very easily in versions 2003 and earlier. Simply supply a new icon and
app title in the database's Startup properties. You can change the
background and even supply an image for the background with:

http://www.lebans.com/changemdibackground.htm

You can also hide the entire Access interface, by minimizing it:

http://www.mvps.org/access/api/api0019.htm
--
Arvin Meyer, MCP, MVP
http://www.datastrat.com
http://www.mvps.org/access
http://www.accessmvp.com


"Arvin Meyer [MVP]" wrote in message
...
If you turn off all the items around the titlebar (no caption, min,max,
close, and the Control Box) you can set the border to None. Make sure
that you have a button to close the form.
--
Arvin Meyer, MCP, MVP
http://www.datastrat.com
http://www.mvps.org/access
http://www.accessmvp.com

"AG" wrote in message
...
Is it possible to remove both the Access and a form's title bar, when
both are maximized?

If so, can anyone point me to an example or explanation?

Thanks,

--

AG
Email: discussATadhdataDOTcom







  #8  
Old June 3rd, 2008, 11:57 AM posted to microsoft.public.access.forms
Charles Wang [MSFT]
external usenet poster
 
Posts: 68
Default How to Display NO Title Bar

No, you could not hide Access titile bar. There is no way in Access to do
it. The method that I showed to you can have your Access form window
displayed with full screen.

Best regards,
Charles Wang
Microsoft Online Community Support
================================================== =======
Delighting our customers is our #1 priority. We welcome your
comments and suggestions about how we can improve the
support we provide to you. Please feel free to let my manager
know what you think of the level of service provided. You can
send feedback directly to my manager at: .
================================================== =======
This posting is provided "AS IS" with no warranties, and confers no rights.
================================================== =======


  #9  
Old June 5th, 2008, 05:25 PM posted to microsoft.public.access.forms
Charles Wang [MSFT]
external usenet poster
 
Posts: 68
Default How to Display NO Title Bar

Hi AG,
I did not expect that you want to use Win32 API since for Win32 API
questions it is recommended to post them at our windows SDK communities for
the best support.

Anyway if you decided to use Win32 API, indeed you can have the window
display with NO title bar.

I write the following sample for your reference:
1. Create a module and input the following Win32 APIs
Public Declare Function GetSystemMetrics Lib "user32" (ByVal nIndex As
Long) As Long

Public Declare Function apiMoveWindow Lib "user32" Alias "MoveWindow"
(ByVal hWnd As Long, ByVal X As Long, ByVal Y As Long, _
ByVal nWidth As Long, ByVal nHeight As Long, ByVal bRepaint As Long) As
Long


2. In your form_load event, input the following code
===================================
Dim nHeight, nSX, nSY As Long

Dim nRet As Long
Dim hWnd As Long

hWnd = Forms("Form1").hWnd

nHeight = Module4.GetSystemMetrics(31)
nSX = Module4.GetSystemMetrics(0)
nSY = Module4.GetSystemMetrics(1)

nRet = Module4.apiMoveWindow(hWnd, 0, 0 - CInt(1.5 * nHeight), nSX, nSY +
nHeight, True)
======================================

Please feel free to let us know if you have any other questions or
concerns. Have a nice day!

Best regards,
Charles Wang
Microsoft Online Community Support
================================================== =======
Delighting our customers is our #1 priority. We welcome your
comments and suggestions about how we can improve the
support we provide to you. Please feel free to let my manager
know what you think of the level of service provided. You can
send feedback directly to my manager at: .
================================================== =======
This posting is provided "AS IS" with no warranties, and confers no rights.
================================================== =======

  #10  
Old June 6th, 2008, 03:19 AM posted to microsoft.public.access.forms
AG[_3_]
external usenet poster
 
Posts: 129
Default How to Display NO Title Bar

Thanks Charles,

Since I did not know how to do it, or even if it was possible, how would I
know whether or not to use WIN32 API?
If I would post to an SDK group and ask an Access specific question (which
this is), someone would tell me to post in an Access group.
I think you are splitting hairs.

--

AG
Email: discussATadhdataDOTcom
""Charles Wang [MSFT]"" wrote in message
...
Hi AG,
I did not expect that you want to use Win32 API since for Win32 API
questions it is recommended to post them at our windows SDK communities
for
the best support.

Anyway if you decided to use Win32 API, indeed you can have the window
display with NO title bar.

I write the following sample for your reference:
1. Create a module and input the following Win32 APIs
Public Declare Function GetSystemMetrics Lib "user32" (ByVal nIndex As
Long) As Long

Public Declare Function apiMoveWindow Lib "user32" Alias "MoveWindow"
(ByVal hWnd As Long, ByVal X As Long, ByVal Y As Long, _
ByVal nWidth As Long, ByVal nHeight As Long, ByVal bRepaint As Long) As
Long


2. In your form_load event, input the following code
===================================
Dim nHeight, nSX, nSY As Long

Dim nRet As Long
Dim hWnd As Long

hWnd = Forms("Form1").hWnd

nHeight = Module4.GetSystemMetrics(31)
nSX = Module4.GetSystemMetrics(0)
nSY = Module4.GetSystemMetrics(1)

nRet = Module4.apiMoveWindow(hWnd, 0, 0 - CInt(1.5 * nHeight), nSX, nSY +
nHeight, True)
======================================

Please feel free to let us know if you have any other questions or
concerns. Have a nice day!

Best regards,
Charles Wang
Microsoft Online Community Support
================================================== =======
Delighting our customers is our #1 priority. We welcome your
comments and suggestions about how we can improve the
support we provide to you. Please feel free to let my manager
know what you think of the level of service provided. You can
send feedback directly to my manager at: .
================================================== =======
This posting is provided "AS IS" with no warranties, and confers no
rights.
================================================== =======



 




Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Forum Jump


All times are GMT +1. The time now is 11:30 PM.


Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 OfficeFrustration.
The comments are property of their posters.