Changing border thickness

I have a custom dialog box class that overrides the frame/ background
drawing. I want to change the thickness of the frame border as well. The
window should resize to accomodate the wider border; the client area should
remain unchanged.

This is what I have now:

CMyDialog::OnNcCalcSize( BOOL bCalcValidRects, NCCALCSIZE_PARAMS* lpncsp )
{
    CDialog::OnNcCalcSize( bCalcValidRects, lpncsp );
    RECT rect;
    GetWindowRect( &rect );
    rect.left   -= m_pSkin->nBorderWidth;
    rect.top    -= m_pSkin->nBorderWidth;
    rect.right  += m_pSkin->nBorderWidth;
    rect.bottom += m_pSkin->nBorderWidth;
    MoveWindow( &rect, TRUE );
}

void CMyDialog::SetSkin( DLGSKIN *pSkin )
{
    m_pSkin = pSkin;

    NCCALCSIZE_PARAMS ncsp;
    GetClientRect( &ncsp.rgrc[0] );
    SendMessage( WM_NCCALCSIZE, FALSE, (LPARAM)&ncsp );
}

MSDN says rgrc[0] controls the client area's size & position, rgrc[1]
specifies the window's rectangle before it was moved, and rgrc[2] controls
the client area before it is moved. So, I figure, since I don't want to
change the client area, I don't need to change the rgrc fields.

This seems to make the border thicker, but it also royally screws up the
client rectangle. It looks like the client area has been shifted.

Am I on the right track with this code? Is there a better approach to this?

Thanks,

-Aleko



0
nobody (271)
9/18/2003 1:22:14 AM
vc.mfc 33608 articles. 0 followers. Follow

4 Replies
2935 Views

Similar Articles

[PageSpeed] 32

Hello Aleko,

Thanks for posting in the group.

Based on my understanding, now the question is: How to change the thickness 
of the dialog border? Please post here if I have misunderstood anything.

Currently I am researching on it and will get back to you here as soon as 
possible. If you have any more concenrs, please also feel free to post 
here. 

Best regards,
Yanhong Huang
Microsoft Online Partner Support

Get Secure! - www.microsoft.com/security
This posting is provided "AS IS" with no warranties, and confers no rights.

--------------------
!From: "Aleko Petkov" <nobody@nowhere.com>
!Newsgroups: microsoft.public.vc.mfc
!Subject: Changing border thickness
!Lines: 44
!X-Priority: 3
!X-MSMail-Priority: Normal
!X-Newsreader: Microsoft Outlook Express 6.00.2800.1106
!X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1106
!Message-ID: <aN7ab.486898$4UE.267142@news01.bloor.is.net.cable.rogers.com>
!Date: Thu, 18 Sep 2003 01:22:14 GMT
!NNTP-Posting-Host: 24.42.72.62
!X-Complaints-To: abuse@rogers.com
!X-Trace: news01.bloor.is.net.cable.rogers.com 1063848134 24.42.72.62 (Wed, 
17 Sep 2003 21:22:14 EDT)
!NNTP-Posting-Date: Wed, 17 Sep 2003 21:22:14 EDT
!Path: 
cpmsftngxa06.phx.gbl!TK2MSFTNGP08.phx.gbl!news-out.cwix.com!newsfeed.cwix.co
m!cyclone01.bloor.is.net.cable.rogers.com!news01.bloor.is.net.cable.rogers.c
om.POSTED!not-for-mail
!Xref: cpmsftngxa06.phx.gbl microsoft.public.vc.mfc:391082
!X-Tomcat-NG: microsoft.public.vc.mfc
!
!I have a custom dialog box class that overrides the frame/ background
!drawing. I want to change the thickness of the frame border as well. The
!window should resize to accomodate the wider border; the client area should
!remain unchanged.
!
!This is what I have now:
!
!CMyDialog::OnNcCalcSize( BOOL bCalcValidRects, NCCALCSIZE_PARAMS* lpncsp )
!{
!    CDialog::OnNcCalcSize( bCalcValidRects, lpncsp );
!    RECT rect;
!    GetWindowRect( &rect );
!    rect.left   -= m_pSkin->nBorderWidth;
!    rect.top    -= m_pSkin->nBorderWidth;
!    rect.right  += m_pSkin->nBorderWidth;
!    rect.bottom += m_pSkin->nBorderWidth;
!    MoveWindow( &rect, TRUE );
!}
!
!void CMyDialog::SetSkin( DLGSKIN *pSkin )
!{
!    m_pSkin = pSkin;
!
!    NCCALCSIZE_PARAMS ncsp;
!    GetClientRect( &ncsp.rgrc[0] );
!    SendMessage( WM_NCCALCSIZE, FALSE, (LPARAM)&ncsp );
!}
!
!MSDN says rgrc[0] controls the client area's size & position, rgrc[1]
!specifies the window's rectangle before it was moved, and rgrc[2] controls
!the client area before it is moved. So, I figure, since I don't want to
!change the client area, I don't need to change the rgrc fields.
!
!This seems to make the border thicker, but it also royally screws up the
!client rectangle. It looks like the client area has been shifted.
!
!Am I on the right track with this code? Is there a better approach to this?
!
!Thanks,
!
!-Aleko
!
!
!
!

0
yhhuang (111)
9/19/2003 8:36:49 AM
Hello Aleko,

I have a sample on modifying NC area. Could you please me so that I could 
send you back the sample? Please remove online in my email address to email 
me.

Thanks. Please post here if you have anything unclear.

Best regards,
Yanhong Huang
Microsoft Online Partner Support

Get Secure! - www.microsoft.com/security
This posting is provided "AS IS" with no warranties, and confers no rights.

--------------------
!From: "Aleko Petkov" <nobody@nowhere.com>
!Newsgroups: microsoft.public.vc.mfc
!Subject: Changing border thickness
!Lines: 44
!X-Priority: 3
!X-MSMail-Priority: Normal
!X-Newsreader: Microsoft Outlook Express 6.00.2800.1106
!X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1106
!Message-ID: <aN7ab.486898$4UE.267142@news01.bloor.is.net.cable.rogers.com>
!Date: Thu, 18 Sep 2003 01:22:14 GMT
!NNTP-Posting-Host: 24.42.72.62
!X-Complaints-To: abuse@rogers.com
!X-Trace: news01.bloor.is.net.cable.rogers.com 1063848134 24.42.72.62 (Wed, 
17 Sep 2003 21:22:14 EDT)
!NNTP-Posting-Date: Wed, 17 Sep 2003 21:22:14 EDT
!Path: 
cpmsftngxa06.phx.gbl!TK2MSFTNGP08.phx.gbl!news-out.cwix.com!newsfeed.cwix.co
m!cyclone01.bloor.is.net.cable.rogers.com!news01.bloor.is.net.cable.rogers.c
om.POSTED!not-for-mail
!Xref: cpmsftngxa06.phx.gbl microsoft.public.vc.mfc:391082
!X-Tomcat-NG: microsoft.public.vc.mfc
!
!I have a custom dialog box class that overrides the frame/ background
!drawing. I want to change the thickness of the frame border as well. The
!window should resize to accomodate the wider border; the client area should
!remain unchanged.
!
!This is what I have now:
!
!CMyDialog::OnNcCalcSize( BOOL bCalcValidRects, NCCALCSIZE_PARAMS* lpncsp )
!{
!    CDialog::OnNcCalcSize( bCalcValidRects, lpncsp );
!    RECT rect;
!    GetWindowRect( &rect );
!    rect.left   -= m_pSkin->nBorderWidth;
!    rect.top    -= m_pSkin->nBorderWidth;
!    rect.right  += m_pSkin->nBorderWidth;
!    rect.bottom += m_pSkin->nBorderWidth;
!    MoveWindow( &rect, TRUE );
!}
!
!void CMyDialog::SetSkin( DLGSKIN *pSkin )
!{
!    m_pSkin = pSkin;
!
!    NCCALCSIZE_PARAMS ncsp;
!    GetClientRect( &ncsp.rgrc[0] );
!    SendMessage( WM_NCCALCSIZE, FALSE, (LPARAM)&ncsp );
!}
!
!MSDN says rgrc[0] controls the client area's size & position, rgrc[1]
!specifies the window's rectangle before it was moved, and rgrc[2] controls
!the client area before it is moved. So, I figure, since I don't want to
!change the client area, I don't need to change the rgrc fields.
!
!This seems to make the border thicker, but it also royally screws up the
!client rectangle. It looks like the client area has been shifted.
!
!Am I on the right track with this code? Is there a better approach to this?
!
!Thanks,
!
!-Aleko
!
!
!
!

0
yhhuang (111)
9/22/2003 11:39:11 AM
Now. this is some very raw WIN32 code that would add a caption to the 
bottom of a manually drawn window.  But from this I think that we can 
illustrate what you need to do.  First, in the WM_NCCALSIZE you just need 
to edit the first rgrc rect that you are passed in so that you change it to 
account for your wider border.  Here is the example: 

       case WM_NCCALCSIZE:
            // This is sent when the window manager wants to find out
            // how big our client area is to be.  If we have a mini-caption
            // then we trap this message and calculate the cleint area rect,
            // which is the client area rect calculated by DefWindowProc()
            // minus the width/height of the mini-caption bar
            //
            lRet = DefWindowProc( hWnd, uiMsg, wParam, lParam ) ;
            if (!IsIconic( hWnd ) && HASCAPTION( hWnd ))
            {
                nCapSize = GETCAPTIONSIZE( hWnd ) ;

                if (TestWinStyle( hWnd, IBS_VERTCAPTION ) )
                    ((LPRECT)lParam)->left += nCapSize ;
                else
                    ((LPRECT)lParam)->top += nCapSize ;
            }
        return lRet ;

This is what your code might look like:

CMyDialog::OnNcCalcSize( BOOL bCalcValidRects, NCCALCSIZE_PARAMS* lpncsp )
{
    CDialog::OnNcCalcSize( bCalcValidRects, lpncsp );
    lpncsp->rgrc[0]..left   -= m_pSkin->nBorderWidth;
    lpncsp->rgrc[0].top    -= m_pSkin->nBorderWidth;
    lpncsp->rgrc[0].right  += m_pSkin->nBorderWidth;
    lpncsp->rgrc[0].bottom += m_pSkin->nBorderWidth;
}

This will alter the client area that we do all of the calculations on for 
the rest of the paint..  Now., I figured that i might include this for 
grins.  Basically this is the rough code where they draw the caption from 
the above WIN32 sample:

case WM_PAINT:
case WM_NCPAINT:
                RECT  rcCap ;
                RECT  rc ;
                HDC    hDC;
                BOOL  fActive ;

                GetCaptionRect( hWnd, &rcCap ) ;    // Convert to window 
coords
                GetWindowRect( hWnd, &rc ) ;
                OffsetRect( &rcCap, -rc.left, -rc.top ) ;

                if (uiMsg == WM_NCPAINT)
                    fActive = (hWnd == GetActiveWindow()) ;
                else
                    fActive = wParam ;

                hDC = GetWindowDC( hWnd ) ;
                MyDrawCaption(  hDC, 
                              hWnd, 
                              &rcCap,
                              TestWinStyle(hWnd, IBS_VERTCAPTION),
                              TestWinStyle(hWnd, WS_SYSMENU),
                              TestWinStyle(hWnd, WS_MINIMIZEBOX),
                              TestWinStyle(hWnd, WS_MAXIMIZEBOX),
                              fActive ) ;

                ReleaseDC( hWnd, hDC ) ;

Hope that helps some.

Thanks,
Zach
Microsoft - PSS

This posting is provided "AS IS" with no warranties, and confers no rights.

0
zakramer (4)
9/23/2003 3:53:58 AM
This is a multi-part message in MIME format.

------=_NextPart_000_0266_01C38512.ACCFF040
Content-Type: text/plain;
	charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable

Thanks, Zach. With the help of your code, I figured it out. Part of the =
problem was that I was doing things in the wrong order. The correct =
order seems to be:

1) Resize the window (client area and all) to accomodate extra space for =
the increased border thickness.

    RECT rect;
    GetWindowRect( &rect );
    int nBorderDelta =3D abs( m_pSkin->nBorderHeight - GetSystemMetrics( =
SM_CXDLGFRAME ) );
    int nTitleBarDelta =3D abs( m_pSkin->nTitleHeight - =
GetSystemMetrics( SM_CYCAPTION ) );
    rect.left -=3D nBorderDelta;
    rect.top -=3D (nBorderDelta + nTitleBarDelta);
    rect.right +=3D nBorderDelta;
    rect.bottom +=3D nBorderDelta;
    MoveWindow( &rect, TRUE );

2) Send a WM_NCCALSIZE message to the dialog

    NCCALCSIZE_PARAMS ncsp;
    GetClientRect( &ncsp.rgrc[0] );
    SendMessage( WM_NCCALCSIZE, FALSE, (LPARAM)&ncsp );

3) In the OnNcCalcSize handler, adjust the client rectangle to =
compensate for the difference border thickness

    CDialog::OnNcCalcSize( bCalcValidRects, lpncsp );
    if( !m_pSkin )
        return;

    int nBorderDelta =3D abs( m_pSkin->nBorderHeight - GetSystemMetrics( =
SM_CXDLGFRAME ) );
    int nTitleBarDelta =3D abs( m_pSkin->nTitleHeight - =
GetSystemMetrics( SM_CYCAPTION ) );

    lpncsp->rgrc[0].left   +=3D nBorderDelta;
    lpncsp->rgrc[0].top    +=3D nBorderDelta + nTitleBarDelta;
    lpncsp->rgrc[0].right  -=3D nBorderDelta;
    lpncsp->rgrc[0].bottom -=3D nBorderDelta;
  =20
    NOTE: The important thing to realize is that the base implementation =
of OnNcCalcSize
    converts the client rectangle to absolute coordinates, thus changing =
rgrc[0]. So, the
    client area is no longer in client coordinates.


I hope this helps someone,

-alpe

------=_NextPart_000_0266_01C38512.ACCFF040
Content-Type: text/html;
	charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META http-equiv=3DContent-Type content=3D"text/html; =
charset=3Diso-8859-1">
<META content=3D"MSHTML 6.00.2800.1106" name=3DGENERATOR>
<STYLE></STYLE>
</HEAD>
<BODY bgColor=3D#c0c0c0>
<DIV><FONT face=3DArial size=3D2>Thanks, Zach. With the help of your =
code, I figured=20
it out. Part of the problem was that I was doing things in the wrong =
order. The=20
correct order seems to be:</FONT></DIV>
<DIV><FONT face=3DArial size=3D2></FONT>&nbsp;</DIV>
<DIV><FONT face=3DArial size=3D2>1) Resize the window (client area and =
all) to=20
accomodate extra space for the increased border thickness.</FONT></DIV>
<DIV><FONT face=3DArial size=3D2></FONT>&nbsp;</DIV>
<DIV><FONT face=3D"Courier New" size=3D2>&nbsp;&nbsp;&nbsp; RECT=20
rect;<BR>&nbsp;&nbsp;&nbsp; GetWindowRect( &amp;rect =
);<BR>&nbsp;&nbsp;&nbsp;=20
int nBorderDelta =3D abs( m_pSkin-&gt;nBorderHeight - GetSystemMetrics(=20
SM_CXDLGFRAME ) );<BR>&nbsp;&nbsp;&nbsp; int nTitleBarDelta =3D abs(=20
m_pSkin-&gt;nTitleHeight - GetSystemMetrics( SM_CYCAPTION )=20
);<BR>&nbsp;&nbsp;&nbsp; rect.left -=3D =
nBorderDelta;<BR>&nbsp;&nbsp;&nbsp;=20
rect.top -=3D (nBorderDelta + nTitleBarDelta);<BR>&nbsp;&nbsp;&nbsp; =
rect.right +=3D=20
nBorderDelta;<BR>&nbsp;&nbsp;&nbsp; rect.bottom +=3D=20
nBorderDelta;<BR>&nbsp;&nbsp;&nbsp; <STRONG>MoveWindow( &amp;rect, TRUE=20
);</STRONG></FONT><FONT face=3D"Courier New" size=3D2></DIV></FONT>
<DIV><FONT face=3DArial size=3D2></FONT>&nbsp;</DIV>
<DIV><FONT face=3DArial size=3D2>2) Send a WM_NCCALSIZE message to the=20
dialog</FONT></DIV>
<DIV><FONT face=3DArial size=3D2></FONT>&nbsp;</DIV>
<DIV><FONT face=3D"Courier New" size=3D2>&nbsp;&nbsp;&nbsp; =
NCCALCSIZE_PARAMS=20
ncsp;<BR>&nbsp;&nbsp;&nbsp; GetClientRect( &amp;ncsp.rgrc[0]=20
);<BR>&nbsp;&nbsp;&nbsp; <STRONG>SendMessage( WM_NCCALCSIZE, FALSE,=20
(LPARAM)&amp;ncsp );<BR></STRONG></FONT></DIV>
<DIV><FONT face=3DArial size=3D2>3) In the OnNcCalcSize handler, adjust =
the client=20
rectangle to compensate for the difference border thickness</FONT></DIV>
<DIV><FONT face=3DArial size=3D2></FONT>&nbsp;</DIV>
<DIV><FONT face=3D"Courier New" size=3D2>&nbsp;&nbsp;&nbsp; =
CDialog::OnNcCalcSize(=20
bCalcValidRects, lpncsp );<BR>&nbsp;&nbsp;&nbsp; if( !m_pSkin=20
)<BR>&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; return;</FONT></DIV>
<DIV><FONT face=3D"Courier New" size=3D2></FONT>&nbsp;</DIV>
<DIV><FONT face=3D"Courier New" size=3D2>&nbsp;&nbsp;&nbsp; int =
nBorderDelta =3D abs(=20
m_pSkin-&gt;nBorderHeight - GetSystemMetrics( SM_CXDLGFRAME )=20
);<BR>&nbsp;&nbsp;&nbsp; int nTitleBarDelta =3D abs( =
m_pSkin-&gt;nTitleHeight -=20
GetSystemMetrics( SM_CYCAPTION ) );</FONT></DIV>
<DIV><FONT face=3D"Courier New" size=3D2></FONT>&nbsp;</DIV>
<DIV><FONT face=3D"Courier New" size=3D2><STRONG>&nbsp;&nbsp;&nbsp;=20
lpncsp-&gt;rgrc[0].left&nbsp;&nbsp; +=3D =
nBorderDelta;<BR>&nbsp;&nbsp;&nbsp;=20
lpncsp-&gt;rgrc[0].top&nbsp;&nbsp;&nbsp; +=3D nBorderDelta +=20
nTitleBarDelta;<BR>&nbsp;&nbsp;&nbsp; lpncsp-&gt;rgrc[0].right&nbsp; =
-=3D=20
nBorderDelta;<BR>&nbsp;&nbsp;&nbsp; lpncsp-&gt;rgrc[0].bottom -=3D=20
nBorderDelta;<BR>&nbsp;&nbsp;&nbsp;</STRONG></FONT></DIV>
<DIV><FONT face=3D"Courier New" size=3D2><EM>&nbsp;&nbsp;&nbsp; NOTE: =
The important=20
thing to realize is that the base implementation of=20
OnNcCalcSize</EM></FONT></DIV>
<DIV><FONT face=3D"Courier New" size=3D2><EM>&nbsp;&nbsp;&nbsp; converts =
the client=20
rectangle to absolute coordinates, thus changing rgrc[0]. So,=20
the</EM></FONT></DIV>
<DIV><FONT face=3D"Courier New" size=3D2><EM>&nbsp;&nbsp;&nbsp; client =
area is no=20
longer in client coordinates.</EM></FONT></DIV>
<DIV><FONT face=3DArial size=3D2></FONT>&nbsp;</DIV>
<DIV>&nbsp;</DIV>
<DIV><FONT face=3DArial size=3D2>I hope this helps someone,</FONT></DIV>
<DIV><FONT face=3DArial size=3D2></FONT>&nbsp;</DIV>
<DIV><FONT face=3DArial size=3D2>-alpe</FONT></DIV>
<DIV><FONT face=3DArial size=3D2></FONT>&nbsp;</DIV></BODY></HTML>

------=_NextPart_000_0266_01C38512.ACCFF040--

0
nobody (271)
9/27/2003 8:15:38 PM
Reply:

Similar Artilces:

External data link change
Hi, I've a sheet linked to an external data on the net, and I would like that a cell in this sheet to indicate the last date and time it was updated, the simplest way the better but I can do some programming too. Thanks for your attention, -- Domingos Junqueira No need of help any more, I solved the question. Thanks again ...

Why does the change change to a number?
Hi all, I've noticed something wierd and always wondered WHY it happens. When you type a date into a cell, and then change the Formatting of it to a 'general' cell, it turns into a number. How does it come up with that number? What is the significance? i.e. type today's date of "12/7/2007" - change it to a 'General' format, and it then says "39423". I'm a trainer of Excel and this question always comes up. I'm curious myself too. Thanks! Joe It's the number of days since January zero 1900 using Excel default for windows (M...

changing the way Excel displays selected cells
Is there a way to change the way Excel displays selected cells? I'm interested in viewing all the selected cells highlighted (with light blue for instance), but by default excel highlights all the cells but not the first one the same occurs when you define a range with no adyacents cells Your definition of the display is not quite correct. Excel highlights the current cell, Excel also highlights a selecte range. The currently selected cell is generally the first of a range, bu press enter and the current cell changes and becomes the second, the third etc in the range. You cannot...

Track Changes
How do i remove the track changes in outlook? When i press "Enter", a symbol that represents "Enter" will appears. Same for space etc. ...

DST changes for Exchange 5.5
I noticed the 2007 DST Calendar Update "Exchange tool" is available now: http://support.microsoft.com/kb/930879 This will seemingly take care of calendars for mailboxes still on Exchange 5.5 servers, as Exchange 5.5 is listed as "compatible" . However would this address the CDO issues such as BlackBerry users and OWA users still on Exchange 5.5 ? Thanks in advance, Itrcb4 On Mon, 12 Feb 2007 14:31:00 -0800, itrcb4 <itrcb4@discussions.microsoft.com> wrote: >I noticed the 2007 DST Calendar Update "Exchange tool" is available now: > >http://su...

Can't Publish changes with Deploy Manager
After a migration process, I can't publish the changes made on CRM. When I try do this in Deploy Manager I get the follow error: ---------------------------------------------------------------------------- ----- Publish done with errors. See the event log to get deitails NETRA-INOVACAO: ***Error*** Failed to download XSL template files from Web Server ---------------------------------------------------------------------------- ----- Can somebody help me? I don't know if the migration process have any relationship with the error. Thank you for pay attention. []'s Vin�cius Pitta...

more on VBA function name change
I thought I'd start a new thread since I haven't received any replies to my first one... To recap: I've declared a function in a module using mixed case: Function TMDE_Category (FormName As Form) I noticed recently that it appeared in the module as Function tmde_category(FormName As Form) I changed it back to the mixed case declaration, saved the module, exited the app, reopened it and looked. The function had changed back to the all lowercase declaration. Things I've tried since the original post: Using the databse documenter, I selected all ob...

How to change icon for my application
Hi, I am currently developing an application on visual studio 6.0, and i wish to change the MFC icon on my application header. Anyone can help? Thank you. Raed Sawalha wrote: > Hi, I am currently developing an application on visual studio 6.0, and i > wish to change the MFC icon on my application header. Anyone can help? Thank > you. > > Open the icon resource for editing by double clicking. Then notice the control just above the editing grid that lets you switch between editing the large icon and editing the small one. -- Scott McPhillips [VC++ MVP] thanx that work...

Border with text
I'm trying to make a border using text. I want to repeat the same phrase over and over again. Idealy, I'd like the words to make a rectangular border for a sign... and when it hit the corner of the page, the phrase would continue down the next angle, and so on, until it made a box. Does anyone have any ideas on how to do this? WordArt would be your only option. If you had a draw program... Serif has a free draw application. http://www.freeserifsoftware.com/ OpenOffice is free and has a draw feature. www.openoffice.org I have a method using WordArt on my web site that might be...

How to change newsgroup message font
Like many other ribbon based programs I sometimes struggle to find how to make a change. This time its how to change the font just for newsgroup messages? regards "nobody" wrote in message news:EWTao.39493$GF5.7129@hurricane... > Like many other ribbon based programs I sometimes struggle to find how to make a change. This time its how to change the font just for newsgroup messages? Newsgroup messages are usually plain text. The font used is that selected at [no name tab] > Options > Mail > Read > Fonts for the encoding specified for the messag...

Notify change of email address when changing ISP
How do I notify my entire address book of an email address when I change ISP's? Thanks By sending a mail to everyone ? If you do so, please use BCC for the adresses, this way you won't spread everybody's e-mail adres to everybody. Niels Bob Baker wrote: > How do I notify my entire address book of an email address when I change ISP's? > Thanks ...

Change a formula to an acual number
I want to change the formula I have created to the number it has created Example: Cell A1 is the number 1. Cell A2 is the formula =a1+1 creatin the number 2. I want this to be a two not a formula. Any ideas? Laura, copy, then paste special, valves -- Paul B Always backup your data before trying something new Please post any response to the newsgroups so others can benefit from it Feedback on answers is always appreciated! Using Excel 2000 & 97 ** remove news from my email address to reply by email ** "Laura" <anonymous@discussions.microsoft.com> wrote in message news...

Problem Changing an Investment Name
I am trying to change an investment name and Money 2006 tells me "The name or symbol 'TRP Spectrum Income' has already been used for a deleted investment. Please enter a different name." When I go to delete investments the name does not appear! Any ideas on how I get Money to accept the name change? This is the first time I have run into this situation and I have made numerous name changes in Money over the years. In microsoft.public.money, Ken wrote: >I am trying to change an investment name and Money 2006 tells me "The name >or symbol 'TRP Spec...

Should I change this code?
Should I change 556 to 560???..............Thanks for your help..........Bob Private Sub Command560_Click() On Error GoTo Err_Command556_Click Dim stDocName As String Dim stLinkCriteria As String stDocName = "frmClientInfomation" DoCmd.OpenForm stDocName, , , stLinkCriteria Exit_Command556_Click: Exit Sub Err_Command556_Click: MsgBox Err.Description Resume Exit_Command556_Click End Sub On Sun, 15 Jul 2007 16:37:26 +1200, "Bob V" <rjvance@ihug.co.nz> wrote: > >Should I change 556 to 560???..............Thanks for your help.....

How to change default font in Outlook 2003
Can someone tell me how to change tthe default font in Outlook 2003 when composing a new email. It always comes up as Times New Roman. I remember somewhere that I specified that Outlook should use Word as the text editor and that seems to be the case. I have Arial as my default font in Word but this seems to make no difference when using Outlook. Hi, Please go to Tools > Setting > Mail Format > Stationery and Fonts > Fonts It's right there :) On 20 Nov 2005 06:28:45 -0800, amarsarit@gmail.com wrote: >Hi, >Please go to Tools > Setting > Mail Format > Statione...

icon changes with change of extension
when we change the extension of a file in windows, its icon also changes..... how does windows do tht. in my application i require a similar approach. i want the icon to be dependent on the file extension not on the attributes of the file. i have gone trough the registry but things are not very clear. Windows has listed all the file extensions avaliable there, but there is no general way to extract icons for those extension... kindly help icon changes with change of extension "Neelu" <nemesia31@gmail.com> wrote in message news:1161232739.720722.120950@b28g2000cwb.google...

Field Type Change
I am trying to change a free text field to a drop down menu in my current database, that already has data entered for this particular field, in order to avoid multiple versions of the same organization that are just typed in differently. I'm assuming that I'll need to recode the different versions of an entry to make them uniform but after that, I'm unsure how to proceed so I won't lose any data. Is this possible or will I need to delete the field, recreate it as a drop down and then re-enter the data? Thanks in advance! Mike Thanks everyone for all the input and advice s...

Save Changes? #2
Sometimes, but not always, Excel asks if I want to save the current file, even though I've made no changes. Does anyone know why this occurs, and if there is a setting I can change to avoid the prompt unless actual changes are made? Thank you. Sprinks There are a number of functions that will update themselves when the workbook is opened, and this causes Excel to act as though the workbook has been changed. These functions include NOW() , TODAY(), ROW(), etc. See Volatile Functions in help for more info. -- Cordially, Chip Pearson Microsoft MVP - Excel Pearson Software Consult...

Tracking Changes
I am the author of a document and am making revisions to it. I want to chnage the redline color to denote new edits from the 1st version. Can anyone guide me through this process? I am sure it is easy but I cannot figure it out. THanks Peter On Wed, 10 Feb 2010 07:08:06 -0800, Peter SSI <Peter SSI@discussions.microsoft.com> wrote: >I am the author of a document and am making revisions to it. I want to >chnage the redline color to denote new edits from the 1st version. Can >anyone guide me through this process? I am sure it is easy but I cannot >figure i...

colour change of dated box
How can I change the colour of a dated box of excel after the date is over. I want the programme to read date automatically from pc and change colour. try Conditional Formatting In 2003: 1. Select the cells you want to format 2. Choose Format, Conditional Formatting 3. Choose Cell Value Is from the first drop down 3. Choose Formula is from the first drop down 4. Choose less than 5. In the third box, enter =TODAY() 6. Click the Format button 7. Choose a color on the Patterns tab (or any available option) 7. Click OK twice. -- Hope this is helpful Appreciate that you provide your feedbac...

Daylight saving time changes for Exchange 2003 server
Hi guys, I was wondering how other real life systems administrators are preparing for the upcoming “2007 global time zone update for Windows” (daylight time change for exchange 2003 server). I'd like to know what contingency plans are being planned out to implement this update and what practical ideas you think thus far are the best. I would greatly value your input. http://www.microsoft.com/windows/timezone/dst2007.mspx -Thanks! ...

changes made but how do I revert !
When I deleted messages they used to dissapear straight away. Now when I delete a message it has a strike through line but the message remains, although it dissapears after I close outlook. I should also add that I use SPAM Inspector but I think this is an Outlook problem caused by some changes. the moral here is change one thing at a time ! Any ideas from anyone. email address required remove to be removed ! Kind regards Nigel Are you using an IMAP account? --� Milly Staples [MVP - Outlook] Post all replies to the group to keep the discussion intact. After searching google.groups.co...

Can't Send After Changing From/Reply-To
Greetings! I am using Outlook 2003 and Exchange server 2003 to try to send a message From public folder with the replies going to the same public folder. It utterly fails. I created a public folder under Exchange called ContactASA and gave myself "Send on behalf" priviledges. I then created a new message in Outlook, set the From field to ContactASA, and set the "Have replies sent to..." (reply-to) set to ContactASA. When I send the message to my gmail account I get the following error message: Your message did not reach some or all of the intended recipients. S...

How can I Change recurrence settings with OUT updating details????
Hello, I have a recurring appointment that I use to keep daily notes. I set it up for 4:30 and would like to change it to 3:30 -- however, when I actually make the change it clears ALL of my previous entires notes. So I lose about 2 years worth of notes when I make this change. Anyone know how I can make the change without this loss of information? Thanks Shawn Create a new recurring appointment for 3:30 and end the recurrence of the old one. --� Milly Staples [MVP - Outlook] Post all replies to the group to keep the discussion intact. Due to the (insert latest virus name ...

Bus. Card changes font when I change print copies / page. I save
Please use this space top fully ask your question. And we need details. -- JoAnn Paules MVP Microsoft [Publisher] "Grateful" <Grateful@discussions.microsoft.com> wrote in message news:61932EEC-79BB-45DF-87A2-8E5AE4BEC538@microsoft.com... > "JoAnn Paules [MVP]" wrote: > Please use this space top fully ask your question. And we need details. > I modified a design option in business cards. I created it as 1 copy / sheet. I saved it. When I try to print it as 10 / sheet, the font and font color didn't save. I went to styles and formatting...