CToolbar and update command UI

This is a multi-part message in MIME format.

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

I've got a VC7.1 MFC MDI application with a couple of toolbars. The =
first toolbar in the standard on generated by the app wizard. The second =
has a couple of buttons whose Id's are mapped in the document class with =
ON_UPDATE_COMMAND_UI. Clicking a button changes a state variable used in =
the update handler then executes a worker thread. The last thing the =
worker thread does is toggle the state variable and posts a =
WM_IDLEUPDATECMDUI message to the main frame window. This causes the =
buttons to have their visual states updated.=20

This only works when any of the following are true:

- the cursor is over any child window view
- the cursor is over any toolbar button ( not a separator )
- the app is running under the debugger from the ide
- Spy++ is running capturing message from the main window

It doesn't work when (unless Spy++ is capturing):

- the application is not active, or
- the cursor is not above a child window or toolbar button

In any case moving the mouse causes the visual update.

Any thoughts are welcomed!

Thanks, Jeff F
------=_NextPart_000_000B_01C4B787.EA5C6C10
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.1476" name=3DGENERATOR>
<STYLE></STYLE>
</HEAD>
<BODY bgColor=3D#ffffff>
<DIV><FONT face=3DArial size=3D2>I've got a VC7.1 MFC MDI application =
with a couple=20
of toolbars. The first toolbar in the standard on generated by the app =
wizard.=20
The second has a couple of buttons whose Id's are mapped in the document =
class=20
with ON_UPDATE_COMMAND_UI. Clicking a button changes a state variable =
used in=20
the update handler then executes a worker thread. The last thing the =
worker=20
thread does is toggle the state variable and posts a WM_IDLEUPDATECMDUI =
message=20
to the main frame window. This causes the buttons to have their visual =
states=20
updated. </FONT></DIV>
<DIV><FONT face=3DArial size=3D2></FONT>&nbsp;</DIV>
<DIV><FONT face=3DArial size=3D2>This only works when any of the =
following are=20
true:</FONT></DIV>
<DIV><FONT face=3DArial size=3D2></FONT>&nbsp;</DIV>
<DIV><FONT face=3DArial size=3D2>- the cursor is over any child window=20
view</FONT></DIV>
<DIV><FONT face=3DArial size=3D2>- the cursor is over any toolbar button =
( not a=20
separator )</FONT></DIV>
<DIV><FONT face=3DArial size=3D2>- the app is running under the debugger =
from the=20
ide</FONT></DIV>
<DIV><FONT face=3DArial size=3D2>- Spy++ is running capturing message =
from the main=20
window</FONT></DIV>
<DIV><FONT face=3DArial size=3D2></FONT>&nbsp;</DIV>
<DIV><FONT face=3DArial size=3D2>It doesn't work when (unless Spy++ is=20
capturing):</FONT></DIV>
<DIV><FONT face=3DArial size=3D2></FONT>&nbsp;</DIV>
<DIV><FONT face=3DArial size=3D2>- the application is not active, =
or</FONT></DIV>
<DIV><FONT face=3DArial size=3D2>- the cursor is not above a child =
window or toolbar=20
button</FONT></DIV>
<DIV><FONT face=3DArial size=3D2></FONT>&nbsp;</DIV>
<DIV><FONT face=3DArial size=3D2>In any case moving the mouse causes the =
visual=20
update.</FONT></DIV>
<DIV><FONT face=3DArial size=3D2></FONT>&nbsp;</DIV>
<DIV><FONT face=3DArial size=3D2>Any thoughts are welcomed!</FONT></DIV>
<DIV><FONT face=3DArial size=3D2></FONT>&nbsp;</DIV>
<DIV><FONT face=3DArial size=3D2>Thanks, Jeff =
F</FONT></DIV></BODY></HTML>

------=_NextPart_000_000B_01C4B787.EA5C6C10--

0
not1 (120)
10/21/2004 8:06:25 PM
vc.mfc 33608 articles. 0 followers. Follow

5 Replies
804 Views

Similar Articles

[PageSpeed] 50

This is a multi-part message in MIME format.

------=_NextPart_000_00E3_01C4B787.9482BB00
Content-Type: text/plain;
	charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable

I myself get a bit confused about how ON_UPDATE_COMMAND_UI works.=20
I know that if you handle the message in a particular view then that =
view has to be active for the ON_UPDATE_COMMAND_UI message to actually =
be called.  So if you want it to work all the time.  So I would suggest =
that you move the ON_UPDATE_COMMAND_UI macro from the view to the main =
frame.

AliR.
  "Jeff F" <not@anywhere.com> wrote in message =
news:eUq0zl6tEHA.2452@TK2MSFTNGP10.phx.gbl...
  I've got a VC7.1 MFC MDI application with a couple of toolbars. The =
first toolbar in the standard on generated by the app wizard. The second =
has a couple of buttons whose Id's are mapped in the document class with =
ON_UPDATE_COMMAND_UI. Clicking a button changes a state variable used in =
the update handler then executes a worker thread. The last thing the =
worker thread does is toggle the state variable and posts a =
WM_IDLEUPDATECMDUI message to the main frame window. This causes the =
buttons to have their visual states updated.=20

  This only works when any of the following are true:

  - the cursor is over any child window view
  - the cursor is over any toolbar button ( not a separator )
  - the app is running under the debugger from the ide
  - Spy++ is running capturing message from the main window

  It doesn't work when (unless Spy++ is capturing):

  - the application is not active, or
  - the cursor is not above a child window or toolbar button

  In any case moving the mouse causes the visual update.

  Any thoughts are welcomed!

  Thanks, Jeff F
------=_NextPart_000_00E3_01C4B787.9482BB00
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.1476" name=3DGENERATOR>
<STYLE></STYLE>
</HEAD>
<BODY bgColor=3D#ffffff>
<DIV>
<DIV><FONT face=3DArial size=3D2>I myself get a bit confused about how=20
ON_UPDATE_COMMAND_UI works. </FONT></DIV>
<DIV><FONT face=3DArial size=3D2>I know that if you handle the message =
in a=20
particular view then that view has to be active for the =
ON_UPDATE_COMMAND_UI=20
message to actually be called.&nbsp; So if you want it to work all the=20
time.&nbsp; So I would suggest that you move the ON_UPDATE_COMMAND_UI =
macro from=20
the view to the main frame.</FONT></DIV>
<DIV><FONT face=3DArial size=3D2></FONT>&nbsp;</DIV>
<DIV><FONT face=3DArial size=3D2>AliR.</FONT></DIV></DIV>
<BLOCKQUOTE dir=3Dltr=20
style=3D"PADDING-RIGHT: 0px; PADDING-LEFT: 5px; MARGIN-LEFT: 5px; =
BORDER-LEFT: #000000 2px solid; MARGIN-RIGHT: 0px">
  <DIV>"Jeff F" &lt;<A =
href=3D"mailto:not@anywhere.com">not@anywhere.com</A>&gt;=20
  wrote in message <A=20
  =
href=3D"news:eUq0zl6tEHA.2452@TK2MSFTNGP10.phx.gbl">news:eUq0zl6tEHA.2452=
@TK2MSFTNGP10.phx.gbl</A>...</DIV>
  <DIV><FONT face=3DArial size=3D2>I've got a VC7.1 MFC MDI application =
with a=20
  couple of toolbars. The first toolbar in the standard on generated by =
the app=20
  wizard. The second has a couple of buttons whose Id's are mapped in =
the=20
  document class with ON_UPDATE_COMMAND_UI. Clicking a button changes a =
state=20
  variable used in the update handler then executes a worker thread. The =
last=20
  thing the worker thread does is toggle the state variable and posts a=20
  WM_IDLEUPDATECMDUI message to the main frame window. This causes the =
buttons=20
  to have their visual states updated. </FONT></DIV>
  <DIV><FONT face=3DArial size=3D2></FONT>&nbsp;</DIV>
  <DIV><FONT face=3DArial size=3D2>This only works when any of the =
following are=20
  true:</FONT></DIV>
  <DIV><FONT face=3DArial size=3D2></FONT>&nbsp;</DIV>
  <DIV><FONT face=3DArial size=3D2>- the cursor is over any child window =

  view</FONT></DIV>
  <DIV><FONT face=3DArial size=3D2>- the cursor is over any toolbar =
button ( not a=20
  separator )</FONT></DIV>
  <DIV><FONT face=3DArial size=3D2>- the app is running under the =
debugger from the=20
  ide</FONT></DIV>
  <DIV><FONT face=3DArial size=3D2>- Spy++ is running capturing message =
from the=20
  main window</FONT></DIV>
  <DIV><FONT face=3DArial size=3D2></FONT>&nbsp;</DIV>
  <DIV><FONT face=3DArial size=3D2>It doesn't work when (unless Spy++ is =

  capturing):</FONT></DIV>
  <DIV><FONT face=3DArial size=3D2></FONT>&nbsp;</DIV>
  <DIV><FONT face=3DArial size=3D2>- the application is not active, =
or</FONT></DIV>
  <DIV><FONT face=3DArial size=3D2>- the cursor is not above a child =
window or=20
  toolbar button</FONT></DIV>
  <DIV><FONT face=3DArial size=3D2></FONT>&nbsp;</DIV>
  <DIV><FONT face=3DArial size=3D2>In any case moving the mouse causes =
the visual=20
  update.</FONT></DIV>
  <DIV><FONT face=3DArial size=3D2></FONT>&nbsp;</DIV>
  <DIV><FONT face=3DArial size=3D2>Any thoughts are =
welcomed!</FONT></DIV>
  <DIV><FONT face=3DArial size=3D2></FONT>&nbsp;</DIV>
  <DIV><FONT face=3DArial size=3D2>Thanks, Jeff=20
F</FONT></DIV></BLOCKQUOTE></BODY></HTML>

------=_NextPart_000_00E3_01C4B787.9482BB00--

0
AliR (179)
10/21/2004 9:04:01 PM
This is a multi-part message in MIME format.

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

The ON_UPDATE_COMMAND_UI handler is in the CDocument derived class, not =
the view. In all but the particular conditions specified, it works fine. =
Any other thoughts?

Jeff F
  "AliR" <AliR@mailserver.com> wrote in message =
news:5vVdd.8394$Lk3.1488@newssvr12.news.prodigy.com...
  I myself get a bit confused about how ON_UPDATE_COMMAND_UI works.=20
  I know that if you handle the message in a particular view then that =
view has to be active for the ON_UPDATE_COMMAND_UI message to actually =
be called.  So if you want it to work all the time.  So I would suggest =
that you move the ON_UPDATE_COMMAND_UI macro from the view to the main =
frame.

  AliR.
    "Jeff F" <not@anywhere.com> wrote in message =
news:eUq0zl6tEHA.2452@TK2MSFTNGP10.phx.gbl...
    I've got a VC7.1 MFC MDI application with a couple of toolbars. The =
first toolbar in the standard on generated by the app wizard. The second =
has a couple of buttons whose Id's are mapped in the document class with =
ON_UPDATE_COMMAND_UI. Clicking a button changes a state variable used in =
the update handler then executes a worker thread. The last thing the =
worker thread does is toggle the state variable and posts a =
WM_IDLEUPDATECMDUI message to the main frame window. This causes the =
buttons to have their visual states updated.=20

    This only works when any of the following are true:

    - the cursor is over any child window view
    - the cursor is over any toolbar button ( not a separator )
    - the app is running under the debugger from the ide
    - Spy++ is running capturing message from the main window

    It doesn't work when (unless Spy++ is capturing):

    - the application is not active, or
    - the cursor is not above a child window or toolbar button

    In any case moving the mouse causes the visual update.

    Any thoughts are welcomed!

    Thanks, Jeff F
------=_NextPart_000_0060_01C4B794.CEAEEDF0
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.1476" name=3DGENERATOR>
<STYLE></STYLE>
</HEAD>
<BODY bgColor=3D#ffffff>
<DIV><FONT face=3DArial size=3D2>The ON_UPDATE_COMMAND_UI handler is in =
the=20
CDocument derived class, not the view. In all but the particular =
conditions=20
specified, it works fine. Any other thoughts?</FONT></DIV>
<DIV><FONT face=3DArial size=3D2></FONT>&nbsp;</DIV>
<DIV><FONT face=3DArial size=3D2>Jeff F</FONT></DIV>
<BLOCKQUOTE dir=3Dltr=20
style=3D"PADDING-RIGHT: 0px; PADDING-LEFT: 5px; MARGIN-LEFT: 5px; =
BORDER-LEFT: #000000 2px solid; MARGIN-RIGHT: 0px">
  <DIV>"AliR" &lt;<A=20
  href=3D"mailto:AliR@mailserver.com">AliR@mailserver.com</A>&gt; wrote =
in message=20
  <A=20
  =
href=3D"news:5vVdd.8394$Lk3.1488@newssvr12.news.prodigy.com">news:5vVdd.8=
394$Lk3.1488@newssvr12.news.prodigy.com</A>...</DIV>
  <DIV>
  <DIV><FONT face=3DArial size=3D2>I myself get a bit confused about how =

  ON_UPDATE_COMMAND_UI works. </FONT></DIV>
  <DIV><FONT face=3DArial size=3D2>I know that if you handle the message =
in a=20
  particular view then that view has to be active for the =
ON_UPDATE_COMMAND_UI=20
  message to actually be called.&nbsp; So if you want it to work all the =

  time.&nbsp; So I would suggest that you move the ON_UPDATE_COMMAND_UI =
macro=20
  from the view to the main frame.</FONT></DIV>
  <DIV><FONT face=3DArial size=3D2></FONT>&nbsp;</DIV>
  <DIV><FONT face=3DArial size=3D2>AliR.</FONT></DIV></DIV>
  <BLOCKQUOTE dir=3Dltr=20
  style=3D"PADDING-RIGHT: 0px; PADDING-LEFT: 5px; MARGIN-LEFT: 5px; =
BORDER-LEFT: #000000 2px solid; MARGIN-RIGHT: 0px">
    <DIV>"Jeff F" &lt;<A =
href=3D"mailto:not@anywhere.com">not@anywhere.com</A>&gt;=20
    wrote in message <A=20
    =
href=3D"news:eUq0zl6tEHA.2452@TK2MSFTNGP10.phx.gbl">news:eUq0zl6tEHA.2452=
@TK2MSFTNGP10.phx.gbl</A>...</DIV>
    <DIV><FONT face=3DArial size=3D2>I've got a VC7.1 MFC MDI =
application with a=20
    couple of toolbars. The first toolbar in the standard on generated =
by the=20
    app wizard. The second has a couple of buttons whose Id's are mapped =
in the=20
    document class with ON_UPDATE_COMMAND_UI. Clicking a button changes =
a state=20
    variable used in the update handler then executes a worker thread. =
The last=20
    thing the worker thread does is toggle the state variable and posts =
a=20
    WM_IDLEUPDATECMDUI message to the main frame window. This causes the =
buttons=20
    to have their visual states updated. </FONT></DIV>
    <DIV><FONT face=3DArial size=3D2></FONT>&nbsp;</DIV>
    <DIV><FONT face=3DArial size=3D2>This only works when any of the =
following are=20
    true:</FONT></DIV>
    <DIV><FONT face=3DArial size=3D2></FONT>&nbsp;</DIV>
    <DIV><FONT face=3DArial size=3D2>- the cursor is over any child =
window=20
    view</FONT></DIV>
    <DIV><FONT face=3DArial size=3D2>- the cursor is over any toolbar =
button ( not a=20
    separator )</FONT></DIV>
    <DIV><FONT face=3DArial size=3D2>- the app is running under the =
debugger from=20
    the ide</FONT></DIV>
    <DIV><FONT face=3DArial size=3D2>- Spy++ is running capturing =
message from the=20
    main window</FONT></DIV>
    <DIV><FONT face=3DArial size=3D2></FONT>&nbsp;</DIV>
    <DIV><FONT face=3DArial size=3D2>It doesn't work when (unless Spy++ =
is=20
    capturing):</FONT></DIV>
    <DIV><FONT face=3DArial size=3D2></FONT>&nbsp;</DIV>
    <DIV><FONT face=3DArial size=3D2>- the application is not active,=20
or</FONT></DIV>
    <DIV><FONT face=3DArial size=3D2>- the cursor is not above a child =
window or=20
    toolbar button</FONT></DIV>
    <DIV><FONT face=3DArial size=3D2></FONT>&nbsp;</DIV>
    <DIV><FONT face=3DArial size=3D2>In any case moving the mouse causes =
the visual=20
    update.</FONT></DIV>
    <DIV><FONT face=3DArial size=3D2></FONT>&nbsp;</DIV>
    <DIV><FONT face=3DArial size=3D2>Any thoughts are =
welcomed!</FONT></DIV>
    <DIV><FONT face=3DArial size=3D2></FONT>&nbsp;</DIV>
    <DIV><FONT face=3DArial size=3D2>Thanks, Jeff=20
F</FONT></DIV></BLOCKQUOTE></BLOCKQUOTE></BODY></HTML>

------=_NextPart_000_0060_01C4B794.CEAEEDF0--

0
not1 (120)
10/21/2004 9:38:42 PM
This is a multi-part message in MIME format.

------=_NextPart_000_013B_01C4B78D.62176A70
Content-Type: text/plain;
	charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable

Same thing with the Doc.  Try moving it to the MainFrame and see what =
happens.
  "Jeff F" <not@anywhere.com> wrote in message =
news:%23deOYZ7tEHA.2608@TK2MSFTNGP10.phx.gbl...
  The ON_UPDATE_COMMAND_UI handler is in the CDocument derived class, =
not the view. In all but the particular conditions specified, it works =
fine. Any other thoughts?

  Jeff F
    "AliR" <AliR@mailserver.com> wrote in message =
news:5vVdd.8394$Lk3.1488@newssvr12.news.prodigy.com...
    I myself get a bit confused about how ON_UPDATE_COMMAND_UI works.=20
    I know that if you handle the message in a particular view then that =
view has to be active for the ON_UPDATE_COMMAND_UI message to actually =
be called.  So if you want it to work all the time.  So I would suggest =
that you move the ON_UPDATE_COMMAND_UI macro from the view to the main =
frame.

    AliR.
      "Jeff F" <not@anywhere.com> wrote in message =
news:eUq0zl6tEHA.2452@TK2MSFTNGP10.phx.gbl...
      I've got a VC7.1 MFC MDI application with a couple of toolbars. =
The first toolbar in the standard on generated by the app wizard. The =
second has a couple of buttons whose Id's are mapped in the document =
class with ON_UPDATE_COMMAND_UI. Clicking a button changes a state =
variable used in the update handler then executes a worker thread. The =
last thing the worker thread does is toggle the state variable and posts =
a WM_IDLEUPDATECMDUI message to the main frame window. This causes the =
buttons to have their visual states updated.=20

      This only works when any of the following are true:

      - the cursor is over any child window view
      - the cursor is over any toolbar button ( not a separator )
      - the app is running under the debugger from the ide
      - Spy++ is running capturing message from the main window

      It doesn't work when (unless Spy++ is capturing):

      - the application is not active, or
      - the cursor is not above a child window or toolbar button

      In any case moving the mouse causes the visual update.

      Any thoughts are welcomed!

      Thanks, Jeff F
------=_NextPart_000_013B_01C4B78D.62176A70
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.1476" name=3DGENERATOR>
<STYLE></STYLE>
</HEAD>
<BODY bgColor=3D#ffffff>
<DIV><FONT face=3DArial size=3D2>Same thing with the Doc.&nbsp; Try =
moving it to the=20
MainFrame and see what happens.</FONT></DIV>
<BLOCKQUOTE dir=3Dltr=20
style=3D"PADDING-RIGHT: 0px; PADDING-LEFT: 5px; MARGIN-LEFT: 5px; =
BORDER-LEFT: #000000 2px solid; MARGIN-RIGHT: 0px">
  <DIV>"Jeff F" &lt;<A =
href=3D"mailto:not@anywhere.com">not@anywhere.com</A>&gt;=20
  wrote in message <A=20
  =
href=3D"news:%23deOYZ7tEHA.2608@TK2MSFTNGP10.phx.gbl">news:%23deOYZ7tEHA.=
2608@TK2MSFTNGP10.phx.gbl</A>...</DIV>
  <DIV><FONT face=3DArial size=3D2>The ON_UPDATE_COMMAND_UI handler is =
in the=20
  CDocument derived class, not the view. In all but the particular =
conditions=20
  specified, it works fine. Any other thoughts?</FONT></DIV>
  <DIV><FONT face=3DArial size=3D2></FONT>&nbsp;</DIV>
  <DIV><FONT face=3DArial size=3D2>Jeff F</FONT></DIV>
  <BLOCKQUOTE dir=3Dltr=20
  style=3D"PADDING-RIGHT: 0px; PADDING-LEFT: 5px; MARGIN-LEFT: 5px; =
BORDER-LEFT: #000000 2px solid; MARGIN-RIGHT: 0px">
    <DIV>"AliR" &lt;<A=20
    href=3D"mailto:AliR@mailserver.com">AliR@mailserver.com</A>&gt; =
wrote in=20
    message <A=20
    =
href=3D"news:5vVdd.8394$Lk3.1488@newssvr12.news.prodigy.com">news:5vVdd.8=
394$Lk3.1488@newssvr12.news.prodigy.com</A>...</DIV>
    <DIV>
    <DIV><FONT face=3DArial size=3D2>I myself get a bit confused about =
how=20
    ON_UPDATE_COMMAND_UI works. </FONT></DIV>
    <DIV><FONT face=3DArial size=3D2>I know that if you handle the =
message in a=20
    particular view then that view has to be active for the =
ON_UPDATE_COMMAND_UI=20
    message to actually be called.&nbsp; So if you want it to work all =
the=20
    time.&nbsp; So I would suggest that you move the =
ON_UPDATE_COMMAND_UI macro=20
    from the view to the main frame.</FONT></DIV>
    <DIV><FONT face=3DArial size=3D2></FONT>&nbsp;</DIV>
    <DIV><FONT face=3DArial size=3D2>AliR.</FONT></DIV></DIV>
    <BLOCKQUOTE dir=3Dltr=20
    style=3D"PADDING-RIGHT: 0px; PADDING-LEFT: 5px; MARGIN-LEFT: 5px; =
BORDER-LEFT: #000000 2px solid; MARGIN-RIGHT: 0px">
      <DIV>"Jeff F" &lt;<A=20
      href=3D"mailto:not@anywhere.com">not@anywhere.com</A>&gt; wrote in =
message=20
      <A=20
      =
href=3D"news:eUq0zl6tEHA.2452@TK2MSFTNGP10.phx.gbl">news:eUq0zl6tEHA.2452=
@TK2MSFTNGP10.phx.gbl</A>...</DIV>
      <DIV><FONT face=3DArial size=3D2>I've got a VC7.1 MFC MDI =
application with a=20
      couple of toolbars. The first toolbar in the standard on generated =
by the=20
      app wizard. The second has a couple of buttons whose Id's are =
mapped in=20
      the document class with ON_UPDATE_COMMAND_UI. Clicking a button =
changes a=20
      state variable used in the update handler then executes a worker =
thread.=20
      The last thing the worker thread does is toggle the state variable =
and=20
      posts a WM_IDLEUPDATECMDUI message to the main frame window. This =
causes=20
      the buttons to have their visual states updated. </FONT></DIV>
      <DIV><FONT face=3DArial size=3D2></FONT>&nbsp;</DIV>
      <DIV><FONT face=3DArial size=3D2>This only works when any of the =
following are=20
      true:</FONT></DIV>
      <DIV><FONT face=3DArial size=3D2></FONT>&nbsp;</DIV>
      <DIV><FONT face=3DArial size=3D2>- the cursor is over any child =
window=20
      view</FONT></DIV>
      <DIV><FONT face=3DArial size=3D2>- the cursor is over any toolbar =
button ( not=20
      a separator )</FONT></DIV>
      <DIV><FONT face=3DArial size=3D2>- the app is running under the =
debugger from=20
      the ide</FONT></DIV>
      <DIV><FONT face=3DArial size=3D2>- Spy++ is running capturing =
message from the=20
      main window</FONT></DIV>
      <DIV><FONT face=3DArial size=3D2></FONT>&nbsp;</DIV>
      <DIV><FONT face=3DArial size=3D2>It doesn't work when (unless =
Spy++ is=20
      capturing):</FONT></DIV>
      <DIV><FONT face=3DArial size=3D2></FONT>&nbsp;</DIV>
      <DIV><FONT face=3DArial size=3D2>- the application is not active,=20
      or</FONT></DIV>
      <DIV><FONT face=3DArial size=3D2>- the cursor is not above a child =
window or=20
      toolbar button</FONT></DIV>
      <DIV><FONT face=3DArial size=3D2></FONT>&nbsp;</DIV>
      <DIV><FONT face=3DArial size=3D2>In any case moving the mouse =
causes the=20
      visual update.</FONT></DIV>
      <DIV><FONT face=3DArial size=3D2></FONT>&nbsp;</DIV>
      <DIV><FONT face=3DArial size=3D2>Any thoughts are =
welcomed!</FONT></DIV>
      <DIV><FONT face=3DArial size=3D2></FONT>&nbsp;</DIV>
      <DIV><FONT face=3DArial size=3D2>Thanks, Jeff=20
  F</FONT></DIV></BLOCKQUOTE></BLOCKQUOTE></BLOCKQUOTE></BODY></HTML>

------=_NextPart_000_013B_01C4B78D.62176A70--

0
AliR (179)
10/21/2004 9:45:34 PM
This is a multi-part message in MIME format.

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

For the record, I got things working. The problem was the logic for the =
state variable was mistakenly dependent on the worker thread being =
completed. The state is now updated before the ::PostMessage( =
MainWndHdl, WM_IDLEUPDATECMDUI ) call. This message gets handled before =
the worker thread exits. The CFrameWnd handler does everything it needs =
to.

Jeff F
  "AliR" <AliR@mailserver.com> wrote in message =
news:26Wdd.8418$Lk3.2280@newssvr12.news.prodigy.com...
  Same thing with the Doc.  Try moving it to the MainFrame and see what =
happens.
    "Jeff F" <not@anywhere.com> wrote in message =
news:%23deOYZ7tEHA.2608@TK2MSFTNGP10.phx.gbl...
    The ON_UPDATE_COMMAND_UI handler is in the CDocument derived class, =
not the view. In all but the particular conditions specified, it works =
fine. Any other thoughts?

    Jeff F
      "AliR" <AliR@mailserver.com> wrote in message =
news:5vVdd.8394$Lk3.1488@newssvr12.news.prodigy.com...
      I myself get a bit confused about how ON_UPDATE_COMMAND_UI works.=20
      I know that if you handle the message in a particular view then =
that view has to be active for the ON_UPDATE_COMMAND_UI message to =
actually be called.  So if you want it to work all the time.  So I would =
suggest that you move the ON_UPDATE_COMMAND_UI macro from the view to =
the main frame.

      AliR.
        "Jeff F" <not@anywhere.com> wrote in message =
news:eUq0zl6tEHA.2452@TK2MSFTNGP10.phx.gbl...
        I've got a VC7.1 MFC MDI application with a couple of toolbars. =
The first toolbar in the standard on generated by the app wizard. The =
second has a couple of buttons whose Id's are mapped in the document =
class with ON_UPDATE_COMMAND_UI. Clicking a button changes a state =
variable used in the update handler then executes a worker thread. The =
last thing the worker thread does is toggle the state variable and posts =
a WM_IDLEUPDATECMDUI message to the main frame window. This causes the =
buttons to have their visual states updated.=20

        This only works when any of the following are true:

        - the cursor is over any child window view
        - the cursor is over any toolbar button ( not a separator )
        - the app is running under the debugger from the ide
        - Spy++ is running capturing message from the main window

        It doesn't work when (unless Spy++ is capturing):

        - the application is not active, or
        - the cursor is not above a child window or toolbar button

        In any case moving the mouse causes the visual update.

        Any thoughts are welcomed!

        Thanks, Jeff F
------=_NextPart_000_00EC_01C4B82B.D54D3D50
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.1476" name=3DGENERATOR>
<STYLE></STYLE>
</HEAD>
<BODY bgColor=3D#ffffff>
<DIV><FONT face=3DArial size=3D2>For the record, I got things working. =
The problem=20
was the logic for the state variable was mistakenly dependent on the =
worker=20
thread being completed. The state is now updated before the =
::PostMessage(=20
MainWndHdl, WM_IDLEUPDATECMDUI ) call. This message gets handled before =
the=20
worker thread exits. The CFrameWnd handler does everything it needs=20
to.</FONT></DIV>
<DIV><FONT face=3DArial size=3D2></FONT>&nbsp;</DIV>
<DIV><FONT face=3DArial size=3D2>Jeff F</FONT></DIV>
<BLOCKQUOTE dir=3Dltr=20
style=3D"PADDING-RIGHT: 0px; PADDING-LEFT: 5px; MARGIN-LEFT: 5px; =
BORDER-LEFT: #000000 2px solid; MARGIN-RIGHT: 0px">
  <DIV>"AliR" &lt;<A=20
  href=3D"mailto:AliR@mailserver.com">AliR@mailserver.com</A>&gt; wrote =
in message=20
  <A=20
  =
href=3D"news:26Wdd.8418$Lk3.2280@newssvr12.news.prodigy.com">news:26Wdd.8=
418$Lk3.2280@newssvr12.news.prodigy.com</A>...</DIV>
  <DIV><FONT face=3DArial size=3D2>Same thing with the Doc.&nbsp; Try =
moving it to=20
  the MainFrame and see what happens.</FONT></DIV>
  <BLOCKQUOTE dir=3Dltr=20
  style=3D"PADDING-RIGHT: 0px; PADDING-LEFT: 5px; MARGIN-LEFT: 5px; =
BORDER-LEFT: #000000 2px solid; MARGIN-RIGHT: 0px">
    <DIV>"Jeff F" &lt;<A =
href=3D"mailto:not@anywhere.com">not@anywhere.com</A>&gt;=20
    wrote in message <A=20
    =
href=3D"news:%23deOYZ7tEHA.2608@TK2MSFTNGP10.phx.gbl">news:%23deOYZ7tEHA.=
2608@TK2MSFTNGP10.phx.gbl</A>...</DIV>
    <DIV><FONT face=3DArial size=3D2>The ON_UPDATE_COMMAND_UI handler is =
in the=20
    CDocument derived class, not the view. In all but the particular =
conditions=20
    specified, it works fine. Any other thoughts?</FONT></DIV>
    <DIV><FONT face=3DArial size=3D2></FONT>&nbsp;</DIV>
    <DIV><FONT face=3DArial size=3D2>Jeff F</FONT></DIV>
    <BLOCKQUOTE dir=3Dltr=20
    style=3D"PADDING-RIGHT: 0px; PADDING-LEFT: 5px; MARGIN-LEFT: 5px; =
BORDER-LEFT: #000000 2px solid; MARGIN-RIGHT: 0px">
      <DIV>"AliR" &lt;<A=20
      href=3D"mailto:AliR@mailserver.com">AliR@mailserver.com</A>&gt; =
wrote in=20
      message <A=20
      =
href=3D"news:5vVdd.8394$Lk3.1488@newssvr12.news.prodigy.com">news:5vVdd.8=
394$Lk3.1488@newssvr12.news.prodigy.com</A>...</DIV>
      <DIV>
      <DIV><FONT face=3DArial size=3D2>I myself get a bit confused about =
how=20
      ON_UPDATE_COMMAND_UI works. </FONT></DIV>
      <DIV><FONT face=3DArial size=3D2>I know that if you handle the =
message in a=20
      particular view then that view has to be active for the=20
      ON_UPDATE_COMMAND_UI message to actually be called.&nbsp; So if =
you want=20
      it to work all the time.&nbsp; So I would suggest that you move =
the=20
      ON_UPDATE_COMMAND_UI macro from the view to the main =
frame.</FONT></DIV>
      <DIV><FONT face=3DArial size=3D2></FONT>&nbsp;</DIV>
      <DIV><FONT face=3DArial size=3D2>AliR.</FONT></DIV></DIV>
      <BLOCKQUOTE dir=3Dltr=20
      style=3D"PADDING-RIGHT: 0px; PADDING-LEFT: 5px; MARGIN-LEFT: 5px; =
BORDER-LEFT: #000000 2px solid; MARGIN-RIGHT: 0px">
        <DIV>"Jeff F" &lt;<A=20
        href=3D"mailto:not@anywhere.com">not@anywhere.com</A>&gt; wrote =
in message=20
        <A=20
        =
href=3D"news:eUq0zl6tEHA.2452@TK2MSFTNGP10.phx.gbl">news:eUq0zl6tEHA.2452=
@TK2MSFTNGP10.phx.gbl</A>...</DIV>
        <DIV><FONT face=3DArial size=3D2>I've got a VC7.1 MFC MDI =
application with a=20
        couple of toolbars. The first toolbar in the standard on =
generated by=20
        the app wizard. The second has a couple of buttons whose Id's =
are mapped=20
        in the document class with ON_UPDATE_COMMAND_UI. Clicking a =
button=20
        changes a state variable used in the update handler then =
executes a=20
        worker thread. The last thing the worker thread does is toggle =
the state=20
        variable and posts a WM_IDLEUPDATECMDUI message to the main =
frame=20
        window. This causes the buttons to have their visual states =
updated.=20
        </FONT></DIV>
        <DIV><FONT face=3DArial size=3D2></FONT>&nbsp;</DIV>
        <DIV><FONT face=3DArial size=3D2>This only works when any of the =
following=20
        are true:</FONT></DIV>
        <DIV><FONT face=3DArial size=3D2></FONT>&nbsp;</DIV>
        <DIV><FONT face=3DArial size=3D2>- the cursor is over any child =
window=20
        view</FONT></DIV>
        <DIV><FONT face=3DArial size=3D2>- the cursor is over any =
toolbar button (=20
        not a separator )</FONT></DIV>
        <DIV><FONT face=3DArial size=3D2>- the app is running under the =
debugger=20
        from the ide</FONT></DIV>
        <DIV><FONT face=3DArial size=3D2>- Spy++ is running capturing =
message from=20
        the main window</FONT></DIV>
        <DIV><FONT face=3DArial size=3D2></FONT>&nbsp;</DIV>
        <DIV><FONT face=3DArial size=3D2>It doesn't work when (unless =
Spy++ is=20
        capturing):</FONT></DIV>
        <DIV><FONT face=3DArial size=3D2></FONT>&nbsp;</DIV>
        <DIV><FONT face=3DArial size=3D2>- the application is not =
active,=20
        or</FONT></DIV>
        <DIV><FONT face=3DArial size=3D2>- the cursor is not above a =
child window or=20
        toolbar button</FONT></DIV>
        <DIV><FONT face=3DArial size=3D2></FONT>&nbsp;</DIV>
        <DIV><FONT face=3DArial size=3D2>In any case moving the mouse =
causes the=20
        visual update.</FONT></DIV>
        <DIV><FONT face=3DArial size=3D2></FONT>&nbsp;</DIV>
        <DIV><FONT face=3DArial size=3D2>Any thoughts are =
welcomed!</FONT></DIV>
        <DIV><FONT face=3DArial size=3D2></FONT>&nbsp;</DIV>
        <DIV><FONT face=3DArial size=3D2>Thanks, Jeff=20
    =
F</FONT></DIV></BLOCKQUOTE></BLOCKQUOTE></BLOCKQUOTE></BLOCKQUOTE></BODY>=
</HTML>

------=_NextPart_000_00EC_01C4B82B.D54D3D50--

0
not1 (120)
10/22/2004 3:39:47 PM
Update UI is being called when application queue is emptied.
Once application UI state is updated from another thread, application has no 
way of knowing that it needs update id is inactive for a long time.

Post WM_NULL message to a main window of the application right after 
changing UI condition. Do not use SendMessage that calls windows procedure 
directly.


"Jeff F" wrote:

> I've got a VC7.1 MFC MDI application with a couple of toolbars. The first toolbar in the standard on generated by the app wizard. The second has a couple of buttons whose Id's are mapped in the document class with ON_UPDATE_COMMAND_UI. Clicking a button changes a state variable used in the update handler then executes a worker thread. The last thing the worker thread does is toggle the state variable and posts a WM_IDLEUPDATECMDUI message to the main frame window. This causes the buttons to have their visual states updated. 
> 
> This only works when any of the following are true:
> 
> - the cursor is over any child window view
> - the cursor is over any toolbar button ( not a separator )
> - the app is running under the debugger from the ide
> - Spy++ is running capturing message from the main window
> 
> It doesn't work when (unless Spy++ is capturing):
> 
> - the application is not active, or
> - the cursor is not above a child window or toolbar button
> 
> In any case moving the mouse causes the visual update.
> 
> Any thoughts are welcomed!
> 
> Thanks, Jeff F
0
RainMan1 (36)
10/22/2004 8:49:03 PM
Reply:

Similar Artilces:

Using an update query to update amount in stock automatically
I have created a database to keep a track of orders. In the stock table I have a field called amount in stock. In order table I have a field called order quantity. I have created an update query to update amount in stock to [amount in stock]-[order quantity]. I wish to create a macro to run the update query on my order form once the sale is confirmed. My problem is that I want to just update the single record on the order form, and not all items of stock from all existing orders. I know I can add a parameter criteria to my update query (i.e. enter order number) so that only stock relating ...

Messages not updating over IMAP
I'm using Outlook 2003 to connect to a mail account using IMAP. My message sin the folder don't update and often I continue to see old messages in there and not see new ones. How do I tell outlook that I want to rebuild the IMAP folder from scratch each time I click on the folder? I don't want to save copies locally or anything I just want a fresh view of the remote mail box each time I click on the folder. Thanks. kimwebb@gmail.com <kimwebb@gmail.com> wrote: > I'm using Outlook 2003 to connect to a mail account using IMAP. My > message sin the folder don'...

storport miniport crash while responding to read command,
hi all, i am writing a storport miniport driver. i am able to send inquiry, report luns and read capactiy command successfully. but while sending the read command response i m facing some issue. my system crashes somewhere inbetween responding to almost 24-25 read command response. i have tried to analysze the dump but couldn't understood, plz help me in resolve, here is the dump from windbg, PROCESS_NAME: System TRAP_FRAME: 87b57e34 -- (.trap 0xffffffff87b57e34) ErrCode = 00000000 eax=89196f68 ebx=89196f68 ecx=00000000 edx=00000000 esi=8a663b28 edi=80786158 ei...

ANN: nxslt.exe (.NET XSLT Command Line Utility) version 1.5 #2
Hello! I'm glad to announce version 1.5 of the nxslt.exe - .NET XSLT command line utility. What is nxslt ------------- nxslt is a feature-rich command line utility that allows to perform XSL Transformations (XSLT) using .NET Framework's XSLT implementation - System.Xml.Xsl.XslTransform class. nxslt is compatible with command line options, provided by Microsoft's MSXSL.EXE Command Line Transformation Utility. In addition, nxslt has some distinct advanced features, like support for XInclude and XPointer, embedded stylesheets, custom URI resolving, multiple result documents, custom ...

Update order
Just want to make sure here. If you are updating multiple fields, it updates in the order that you specify, correct? For example: columnA= 100 columnB = 200 columnC = NULL I am going to move columnA to columnC, columnB to columnA, set columnB to NULL. This should end up with columnA = 200 columnB = NULL columnC = 100 This only works if you do it in the correct order. On my machine it works correctly, but I want to make sure that isn't a coincedence. The script I would use would be: UPDATE tableA SET columnC = columnA, columnA = columnB, ...

xp office update
update # 2019198 does not install after several automatic updates. Please double-check that KB number. Also tell us what error (if any) you get when you attempt to install the update. hank wrote: > update # 2019198 does not install after several automatic updates. "PA Bear [MS MVP]" <PABearMVP@gmail.com> wrote: > Please double-check that KB number. Why don't you do that yourself? MSFT switched to KB numbers with 7 digits more than half a year ago! <http://support.microsoft.com/kb/2019198/> exists and is titled "How to upgrade Micro...

Refresh form on any update
I have a form that has displ;ays about 50 fields. About 12 of those fields, when updated, can change the one dlooikup control on the same form. I can code a refresh form for the onUpate event for each field to update the dlookup, but iis there a way to do it just once if any field is updated on the form. I tried using a join instead of the dlookup but then can't update the form manually. Minor, I know, but this same type of thing has come up for me elsewhere. I am using A2007 with w7. Thanks in advance Is there anything in this link that would help you create...

update links in Powerpoint 2007
I am creating charts in Excel and then via the Paste Special finction I paste them into Powerpoint as a linked object. This is so I may update the Excel sheets and refresh them in the powerpoint slides as and when required. This is working fine for me but when a colleague opens both the Excel and the Powerpoint presentation they are not able to refresh the links. Instead they receive the error message " The linked file was unavailable and can't be updated" we did not have this problem with earlier version of Office so I would appreciate it if anybody has a ...

Update item quantity when the same item is scanned twice
When the same item is scanned more than once per transaction it creates a new line for the same item rather than updating the quantity. This would be a great but simple improvement. ---------------- This post is a suggestion for Microsoft, and Microsoft responds to the suggestions with the most votes. To vote for this suggestion, click the "I Agree" button in the message pane. If you do not see the button, follow this link to open the suggestion in the Microsoft Web-based Newsreader and then click "I Agree" in the message pane. http://www.microsoft.com/Businesssolut...

Money 2005 Business crashe after Update is performed
Just today or yesterday Money 2005 Small Business now crashes when I do an update. This seems to occur only with Bank One so I'm curios to know whether there is a new change that is causing this with Bank One customers. So far I have: - Reinstalled Money. - Removed Bank One form online services which then did not cause any crashes during an update (although it's fun reconciling again and merging accounts). - Repaird the Money file. The response being "Fixed records in online table.". Everytime I try an update I can repair again and get the same response. I...

CORREL
I think this is a type of array formula but i am having trouble getting it right... simple problem... col A has summer/winter col B has a list of values col C has a list of values I want to get a correlation of the two lists (col B and col C) if summer and if winter. I DO REALIZE that i could just select the specific cells that correspond to summer/winter....but i am obviously looking for an easier way. Thanks. john Hello: Sort the columns (A,B,C) on column A. Then you can enter two correl formula one for summer (it will be sorted first) and second for winter it will be sort last. P...

Updating Excelsheet with conected VLOOKUP sheets time consuming
I have a workbook with several sheets. Some sheets connects via VLOOKU to an updatable sheet with raw data. When I try to update data (impor from database) to the raw data sheet. It takes forever and I think thi is casued by the "linked" VLOOKUPs to from the other sheets to thi rawdata sheet, beacuse when I have tried to update the rawdata shee without "connected" VLOOKUP sheets it does not take forever. Is it possibel to solve this? I have tryed Application.ScreenUpdating = False without success, maybe because the VLOOKUPs are in the othersheets no in the rawsheets th...

How do I automatically send daily email of updated Excel workbook.
I am trying to have reports in Excel (that are udpated daily) sent automatically in email. I want them to just be sent "behind the scenes" without me having to create a new email, attach the file, and send daily. I want to have this process happen automatically. They are excel reports and I use Lotus Notes, and am looking for any help that could show me how to link these two, or send email through Excel to a specified distribution list, on specified dates. Hi > use Lotus Notes Try this http://www.rondebruin.nl/cdo.htm And see Chip Pearsons site about OnTime http://www...

DPM 2010 asking for Hyper-V updates that are installed
I upgraded my 2007 SP1 DPM to 2010 RC and it went very well, everything went as expected I updated all the clients, (no reboots needed which is great, other than one DC/Exchange server) Everything re-synced fine, but when I went to add another VM to the Hyper-V protection group I get a pop saying that for Server 2008 I need kb 948465 and 971394. Now the hyper-v server has SP2 which seems to be 948465 but didn't have 971394 so I installed and rebooted but its still coming up with the same error and won't let me add any more VMs to back up. The VMs that were set to back...

Online Update problem when adding bank account
I have Money 2006. I can add all of my credit card accounts fine and they work perfectly. When I add my Chase Bank account & credit card account, suddenly it no longer does ANY updating. It won't synch to MSN, I can't add a new account (it tells me Account Update is temporarily unavailable), and none of the Credit Card accounts will update. Is there something I'm missing? It is always good to try a file repair. Also, in internet option you should delete temp files -- Neil "EnderAKH" <EnderAKH@discussions.microsoft.com> wrote in message news:832E...

Updating Office X from education version to full
I had previously installed a copy of office suite education version on a number of my machines, I soon realized that I was unable to have multiple machines connected through a LAN all running the suite at the same time. I got a full version to get around this problem but when I installed it it gave me the same error message. This is because there is still some files from the education version that I cannot find and delete. I am aware that Microsoft user/ preference files are stored in these locations: User/documents/Microsoft user data User/library/ preferences/ Microsoft Has anyone else ru...

News Command missing from Outlook 2003
Hiya, The News button is missing from my Go menu on the Category list on the Commands list on the Toolbar Customization in Outlook 2003. Therefore I cannot drag it onto the Advanced Toolbar and cannot get the newsreader up. Does anyone know where to find the missing News command? -- -Larry To get the News command back, go back to the Programs tab in Control Panel | Internet Options and change the default newsreader to Outlook Express. If OE prompts you to make it your default newsreader the next time you launch it, click the "Don't ask me again" box and then click the...

office 2004 installation problems after removing, installing and updating.
hello, well, I am trying to re-install the office 2004 (student version) in my macbook. everything was working fine until entourage start to freeze. I decided to reinstall the office, and when I try to open the appl I got the error messages so I did what was suggested. "Removed office" 2004 test and the licenced one, then I installed my office 2004 licenced version and ran the update 11.2 but still have the same error message on word, excel and power point: "an unexpected error occurred while trying to load the microsoft Framework library". and the message in Entourage: &q...

Form will not update calculations
I have three calculations in a group header, update fine on closure of form through a cmdbutton, but if I want to create a new record through a cmdbutton, a refresh or a requery will not update the calculations. I either want to do on the form events or the button events? How do I fix? On Wed, 28 Apr 2010 11:21:01 -0700, Cbeckwith <Cbeckwith@discussions.microsoft.com> wrote: >I have three calculations in a group header, update fine on closure of form >through a cmdbutton, but if I want to create a new record through a >cmdbutton, a refresh or a requery will not ...

Tooltip position incorrect for controls added to CToolbar.
I have a toolbar derived from CToolbar control. The tooltip displays BELOW the cursor as expected for buttons on this toolbar. However, this toolbar also has several CSliderbar controls (used for adjusting volumes, and show the progress). The tooltip for the CSliderbar controls always displays right below the control, centered, regardless where the mouse cursor is. As a result, the cursor will often block the tooltip. I've tried using TTN_SHOW to get notifications when the tooltip is about to appear, then call SetWindowPos. The only thing it was successful at was changing the dimension of...

Show All Commands on Menus
Does anyone know how to enable "show all commands on menus" for excel and all other MS Office products? I know there has to be an easy quick fix for this. Thanks in advance. Jesse Tools>Customize>Options "always show full menus". Gord Dibben Excel MVP On Mon, 26 Jul 2004 16:35:35 -0700, "Jesse L Lee" <jlee@180i.com> wrote: >Does anyone know how to enable "show all commands on >menus" for excel and all other MS Office products? I >know there has to be an easy quick fix for this. > >Thanks in advance. > Tha...

2009 year end update
I just updated a client from GP version 9 to version 10. I applied the 2009 year end update which includes sp4. When printing a/p checks the amount in words does not include "and" or "cents" so $7.50 is written "seven dollars 50 " instead of "seven dollars and 50 cents". Is this an issue with the service pack? I have many other clients on version 10 but have not applied the year end sp4 and no one has this problem. Thank you for any help with this as they can not print a/p checks until we fix it. We have this problem with both modif...

7.5--no tax updates?
Hello: I got the information below off of PartnerSource. I knew that support is ending for version 7.5. But, I did not know that tax updates were ceasing as of August 1. I know that you can update tax tables manually in GP. But, does this mean that all 7.5 clients have to upgrade--for sure--to 9.0 in order to have their tax tables updated automatically? What other ramifications are there for clients? Below is what I found off of PartnerSource: Microsoft Business Solutions will cease global support for Microsoft® Business Solutions-Great Plains® 7.5 on January 9, 2007. C...

Using a 'Name' to Update Chart Titles & "Y" Axis Scale
My worksheet has 14 charts that each reference the same company name (Title) and "Y" axis scaling. Can I reference a 'Name' in: Chart Options-> Titles... and on scale-> left click-> format axis-> scale... The 'Name' for each variable would be a cell reference ie., G37 How do I update all 14 chart at once? Hi, You can link chart title to a cell, although you will need to do each chart individually. http://www.andypope.info/tips/tip001.htm as for the scale parameters that requires VBA code. http://peltiertech.com/Excel/Char...

I keep getting AU telling me to install Update for Intelligent Message Filter for Exchange Server 2003: 2006.01.12
My exchange server IMF updates is stuck in a bit of a loop I install the latest IMF update, then a few mins later AU tells me it needs to install the IMF update for 2006.01.12, if I install the 2006.01.12 update, AU nags me to install the most recent version Server is WS02 R2, Exchange is SP2 and latest updates ContentFilterState is enabled in the registry Any ideas? Regards Roga ...