Owner draw main windows, will left some drawing on the background of the window, I want the reason and how to prevent this happen? 01-05-10

Hi, Everyone!

Ownerdraw main window , I used SetWindowRgn to cut down the four corners,
but there will left something drawing here when you drag the corners and
borders to resized the window on the background of the main window. Only 3
corners of the four corners do this.

I used HDC hWindowDC = GetWindowDC();
Draw the non client area on hWindowDC

In class of WTL:

class CMainFrame : public CFrameWindowImpl<CMainFrame>, public
CUpdateUI<CMainFrame>,
  public CMessageFilter, public CIdleHandler



Thanks a lot!
Have a Happy New Year!


begin 666 problem.JPG
M_]C_X `02D9)1@`!`0$`8 !@``#_VP!#``@&!@<&!0@'!P<)"0@*#!0-# L+
M#!D2$P\4'1H?'AT:'!P@)"XG("(L(QP<*#<I+# Q-#0T'R<Y/3@R/"XS-#+_
MVP!#`0D)"0P+#!@-#1@R(1PA,C(R,C(R,C(R,C(R,C(R,C(R,C(R,C(R,C(R
M,C(R,C(R,C(R,C(R,C(R,C(R,C(R,C+_P `1" ''`I0#`2(``A$!`Q$!_\0`
M'P```04!`0$!`0$```````````$"`P0%!@<("0H+_\0`M1 ``@$#`P($`P4%
M! 0```%]`0(#``01!1(A,4$&$U%A!R)Q%#*!D:$((T*QP152T? D,V)R@@D*
M%A<8&1HE)B<H*2HT-38W.#DZ0T1%1D=(24I35%565UA96F-D969G:&EJ<W1U
M=G=X>7J#A(6&AXB)BI*3E)66EYB9FJ*CI*6FIZBIJK*SM+6VM[BYNL+#Q,7&
MQ\C)RM+3U-76U]C9VN'BX^3EYN?HZ>KQ\O/T]?;W^/GZ_\0`'P$``P$!`0$!
M`0$!`0````````$"`P0%!@<("0H+_\0`M1$``@$"! 0#! <%! 0``0)W``$"
M`Q$$!2$Q!A)!40=A<1,B,H$(%$*1H;'!"2,S4O 58G+1"A8D-.$E\1<8&1HF
M)R@I*C4V-S@Y.D-$149'2$E*4U155E=865IC9&5F9VAI:G-T=79W>'EZ@H.$
MA8:'B(F*DI.4E9:7F)F:HJ.DI::GJ*FJLK.TM;:WN+FZPL/$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!1110!X)K'^I
MT7_L$6O_`*!696GK'^IT7_L$6O\`Z!697RV:?[W+Y?DC6E\""BBBO/- HHHH
M`**** "BBB@`HHHH`*GC_P"07K?_`&#)OYK4%3Q_\@O6_P#L&3?S6O3R?_?:
M?S_)G-B_X$O0^AZ***^F`**** "BBB@`HHHH`**** "BBB@`HHHH`**** "B
MBB@`HHHH`**** "BBB@`HHHH`**** "BBB@`HHHH`**** "BBB@`HHHH`***
M* "BBB@`HHHH`**** "BBB@`HHHH`**** "BBB@`HHHH`**** "BBB@`HHHH
M`**** "BBB@`HHHH`**** /!-8_U.B_]@BU_] K,K3UC_4Z+_P!@BU_]`K,K
MY;-/][E\OR1K2^!!1117GF@4444`%%%%`!1110`4444`%3Q_\@O6_P#L&3?S
M6H*GC_Y!>M_]@R;^:UZ>3_[[3^?Y,YL7_ EZ'T/1117TP!1110`4444`%%%%
M`!1110`4444`%%%%`!1110`4444`%%%%`!1110`4444`%%%%`!1110`4444`
M%%%%`!1110`4444`%%%%`!1110`4444`%%%%`!1110`4444`%%%%`!1110`4
M444`%%%%`!1110`4444`%%%%`!1110`4444`%%%%`!1110!X)K'^IT7_`+!%
MK_Z!696GK'^IT7_L$6O_`*!697RV:?[W+Y?DC6E\""BBBO/-`HHHH **** "
MBBB@`HHHH *GC_Y!>M_]@R;^:U!4\?\`R"];_P"P9-_-:]/)_P#?:?S_`"9S
M8O\`@2]#Z'HHHKZ8`HHHH **** "BBB@`HHHH **** "BBB@`HHHH **** "
MBBB@`HHHH **** "BBB@`HHHH **** "BBB@`HHHH **** "BBB@`HHHH **
M** "BBB@`HHKB?%NHZCI'BO09K(120W-Q#;7,?E\A&DV>8S*X8@>9A05*!GR
M?FVTTK@=M1112 **** "BBB@`HHHH **** "BBB@`HHHH **** "BBB@`HHH
MH **** "BBB@#P36/]3HO_8(M?\`T"LRNATK3K_Q/H.EW\?A_49(X[5;5)+>
M[MPKB(E,X=@PY![?GU-K_A#-2_Z%S6?_``-L_P#XJO)QF55L16=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4444`%%%% !1110`4444`%%%% !1110`4444`%%%% !1
M110`4444`%%%% !1110`4444`%%%% !1110`5SGB.^FL+JREAU.[MRUW:P&W
M%NK0RB28*07*$AMN[HPQ@<#(ST=<_KU\4U/3-,FL8I[>[N(RLCS2H5DC;S!]
MV,KQY88`N-V",8H0>AT%%%% !1110 4444 %%%% !1110 4444 %%%% !111
M0 4444 %%%% !1110 4444 <9\)_^2::3]9__1\E=G7&?"?_`))II/UG_P#1
M\E=G0 4444 %%%% !1110 4444 %%%% !7$_%S_DF&L?]L?_`$='7;5Q/Q<_
MY)AK'_;'_P!'1TUN#.VHHHI %%%%`!1110`4444`%%%%`!1110`4444`%%%%
M`!1110`4444`%%%%`!1110`4444`%%%%`!1110`4444`%%%%`!1110`4444`
M%%%%`!1110`4444`%9.KI=3S6T']GVUQ8F>%WD>[:-XW60,I"A#NP54_>&3P
M>*UJXOQA86%QKVCW']I646I17=H5M)OLXDEB$W.UF D!Y) 5L':0!DT`=I11
M10`4444`%%%%`!1110`4444`%%%%`!1110`4444`%%%%`!1110`4444`%%%%
M`'&?"?\`Y)II/UG_`/1\E=G7&?"?_DFFD_6?_P!'R5V=`!1110`4444`%%%%
M`!1110`4444`%<3\7/\`DF&L?]L?_1T==M7$_%S_`))AK'_;'_T='36X,[:B
MBBD`4444`%%%% !1110`4444`%%%% !1110`4444`%%%% !1110`4444`%%%
M% !1110`4444`%%%% !1110`4444`%%%% !1110`4444`%%%% !1110`5PWC
MO4D34] TUX+P%]4LI4G^SHUN6\\#9YC<J^ 3A><>Q-=S7!>.;FU&OZ);#472
M[^W63&S$LJB1#<C#%1F-@"#G(!SM.X8"LUN)G>T444AA1110`4444 %%%% !
M1110`4444 %%%% !1110`4444 %%%% !1110`4444 <9\)_^2::3]9__`$?)
M79UQGPG_`.2::3]9_P#T?)79T %%%% !1110`4444 %%%% !1110`5Q/Q<_Y
M)AK'_;'_`-'1UVU4M7TBQUW2YM-U*#S[2;;YD>]ESA@PY4@]0.]-;@7:*X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%%%`!1110`4444`%%%%`!1110`4444`%%%%`!11
M10`4444`%%%%`!1110`4444`%%%%`!1110`4444`%%%%`!1110`4444`%%%%
M`')?#**"'X=:0MO<>>A21B^PKAC(Q9<'^ZQ*Y[XSWKK:Y_P,R/X%T0I<_:!]
MDC&_*G! P4^7CY3E?7Y><G-=!0`4444`%%%%`!1110`4444`%%%%`!1110`4
M444`%%%%`!1110`4444`%%%%`!1110`4444`%%%%`!7'^ 8XHI?%:PSB93X@
MN6+!2N&*QEEY_NDE<]#C(XKL*P/#T"6FJ>((#<^?-)?_`&IQY87RP\:!5)7C
M.$S_`'L%21\P)I;,EO5&_1114E!1110`4444`%%%% !1110`4444`%%%% !1
M110`4444`%%%% !1110`4444`%%%% !1110`4444`%%%% !1110`4444`%%%
M% !1110`4444`%%%% !1110`4444`%%%% !1110!D^%C$WA'1C CI";*$HKL
M&91L& 2 `3[X'T%:U87@N1I/!&AL\3QG[#$-KXR0% !X)X(&1WP1D \#=H *
M*** "BBB@ HHHH **** "BBB@ HHHH **** "BBB@ HHHH **** "BBB@ HH
MHH **** "BBB@ K.OXU2^L+CS)HE6?Y_+<*LA*,BAQC+#+# '0X)Z5HU'<0K
M<V\D+C*NI4C)'\B#51:3U)FFX^[N2452TJXN+C3H7O(C#<E?GC<C<!D@%@. 
M2!D@9 .0"0,F[2:L[#3NKA1112&%%%% !1110 4444 %%%% !1110 4444 %
M%%% !1110 4444 %%%% !1110 4444 %%%% !1110 4444 %%%% !1110 44
M44 %%%% !1110 4444 %%%% !1110 4444 87@N&*#P1HB0QI&ILHG(0``LR
MAF/'<DDGW)K=K)\+1-!X2T:%RI9+&%24<.I(0=&!((]P<5K4`%%%% !1110`
M4444`%%%% !1110`4444`%%%% !1110`4444`%%%% !1110`4444`%%%% !1
M110`4444`4KNS!=;F"-1<JZOE0,OCC!Y`Z$C)S@$XJS#-'<1^9$X=,E<CU!(
M/Z@U)515-K=N50F*8F21RPQ&0 .<G)SQC P`O;O5[JS,^7EE>/7?_/\`K]"W
M1114F@4444 %%%% !1110 4444 %%%% !1110 4444 %%%% !1110 4444 %
M%%% !1110 4444 %%%% !1110 4444 %%%% !1110 4444 %%%% !1110 44
M44 %%%% !1110!D^%C$?"6C&!'2(V4)1'8,RC8,`D `GWP/H*UJS/#EQ]J\,
M:5<;IF\VSB?,TGF.<H#\S8&X^IP,UIT`%%%%`!1110`4444`%%%%`!1110`4
M444`%%%%`!1110`4444`%%%%`!1110`4444`%%%%`!1110`4444`%-=%D4JZ
MAE/4$9%.HH IQRFS9(+B4E252.:5QOFD.21M``X`SQ[\`"KE-D0R1.BR-&S*
M0'7&5/J,@C/U!J"+%E%;V[O)(BHL8FE<%G;@#/J3U)I[BV+-%%%(84444 %%
M%% !1110`4444 %%%% !1110`4444 %%%% !1110`4444 %%%% !1110`444
M4 %%%% !1110`4444 %%%% !1110`4444 %%%% !1110`4444 %%%% &9X<5
MT\,:4DEM]E=;.(-;X8>4=@^7YLMQTY)/%:=9/A:19?"6C2+$L*M8PD1H6*H-
M@X&XDX'N3]36M0`4444`%%%%`!1110`4444`%%%%`!1110`4444`%%%%`!11
M10`4444`%%%%`!1110`4444`%%%%`!1110`4444`%-DC$L3QL6"NI4E6*G!]
M".0?<4ZB@"I;JECY%A%$5@2,)"%#,%51CYF/`[ 9.3S[XMU'<0K<6\D+KN5U
M*E=Q7/MD<TD,I<;7&)!P>, D8R1GJ,GK3Z"UN2T444AA1110`4444 %%%% !
M1110`4444 %%%% !1110`4444 %%%% !1110`4444 %%%% !1110`4444 %%
M%% !1110`4444 %%%% !1110`4444 %%%% !1110!B^$/^1+T/\`[!\'_HM:
MVJQO"7V[_A$]+_M'[)]I\A<_8]OE;?X-NWY?N[<[?ESG'&*V: "BBB@`HHHH
M`**** "BBB@`HHHH`**** "BBB@`HHHH`**** "BBB@`HHHH`**** "BBB@`
MHHHH`**** "BBB@`HHHH`*BEA#D.O$@QR."0.=I..F:EHH K07)\U;6=E^U"
M(.Q5=JN>C% 3D@'&>N-PYYJS5.^LWDCGGL1;0ZD83%%<RQ;]O< ]"5SSC-2V
MTLSAEGC6.1<#"MD-P.1Z#.0,^E5:ZNB%*SY63T445)84444`%%%%`!1110`4
M444`%%%%`!1110`4444`%%%%`!1110`4444`%%%%`!1110`4444`%%%%`!11
M10`4444`%%%%`!1110`4444`%%%%`!1110!SG@%57P%HH144?9E.$@,0R>2<
M'J2>2W1CEAP171UA>#=+O-%\'Z9I]_,\MU#%^\WG)3))"9R<A00HP<87CBMV
M@ HHHH **** "BBB@ HHHH **** "BBB@ HHHH **** "BBB@ HHHH **** 
M"BBB@ HHHH **** "BBB@ HHHH **** "BBB@ JA?V,DI2>R,$-VLJ.9'C)W
MJ."#@CDJ2 3G&>E7Z*:DUL3*"DK,JV-_#J,4DD(E41RM$RRQLC!E..A .#U'
ML15JLR\TRY:YFO-.OOLUW*B1MYZ--%M5B?\`5[EP3DC((Z^M6U%VD[L[Q208
M8A50AL\;1UQV;)[DCICER2W1,'+:2+%%%%2:!1110 4444 %%%% !1110 44
M44 %%%% !1110 4444 %%%% !1110 4444 %%%% !1110 4444 %%%% !111
M0 4444 %%%% !1110 4444 %%%% !1110 4444 %%%% !1110 4444 %%%% 
M!1110 4444 %%%% !1110 4444 %%%% !1110 4444 %%%% !1110 4444 %
M%%% !1110 4444 %%%% !1110 4444 %%%% !1110 4444 %%%% !1110 44
M44 %%%% !1110 4444 %%%% !1110 4444 %%%% !1110 4444 %%%% '__9
`
end

0
green
1/5/2010 2:11:24 AM
vc.mfc 33608 articles. 0 followers. Follow

1 Replies
1666 Views

Similar Articles

[PageSpeed] 46

"green" <greenabc300@hotmail.com> wrote in message 
news:#dC6vxajKHA.1652@TK2MSFTNGP05.phx.gbl...
> Hi, Everyone!
>
> Ownerdraw main window , I used SetWindowRgn to cut down the four corners,
> but there will left something drawing here when you drag the corners and
> borders to resized the window on the background of the main window. Only 3
> corners of the four corners do this.
>
> I used HDC hWindowDC = GetWindowDC();
> Draw the non client area on hWindowDC
>
> In class of WTL:
>
> class CMainFrame : public CFrameWindowImpl<CMainFrame>, public
> CUpdateUI<CMainFrame>,
>  public CMessageFilter, public CIdleHandler
>


I've not used hWindowDC after SetWindowRgn before.  Why don't you use a 
client DC?  Why do you need to draw the non-client area after you've cut 
down (I assume you mean rounded) corners?  I've used SetWindowRgn ( 
CreateRoundRectRgn(...) ) with good success.

-- David 

0
David
1/5/2010 3:07:50 AM
Reply:

Similar Artilces:

Don't want to pay for overshipment!
GP version 8 lets me receive more than the quantity that is on the PO (ordered 1000 units; received 1,100 units) - I am OK with that since we need to receive what comes in the door. But I don't want to have someone match an invoice to that receipt and pay it - it should be questioned to see if we really want to accept the overshipment. Any ideas on how this can be done in GP? Thanks GVM, There isn't anything out of the box in dynamics that will do this, you'd need a customization. I'd have to double check but this sounds like a customization that we might have done ...

How to Hide Left Panel of Folder Window?
I'm well behind the Windows curve and I'm just now learning to use Windows XP Home. Up to now I've been using Windows 2000 Pro. On my XP desktop I have a shortcut to my music folder which containins my MP3 files. When I double click on the shortcut, a window opens on the desktop displaying the contents of my music folder. This window has a panel along the left side containing items like "File and Folder Tasks" and "Other Places." I can't figure out how to close, hide or otherwise delete this panel. This panel takes up a lot of prec...

Enter "1", cell show ".01". Why?
Any number typed into a cell is divided by 100. If proceded by "=" the number is correct. What caused this and how can I fix it? Try this .. Click Tools > Options > Edit tab Uncheck "Fixed decimal" > OK Things should be back to normal now .. (it's a fixed decimal setting !) -- Rgds Max xl 97 --- Singapore, GMT+8 xdemechanik http://savefile.com/projects/236895 -- "Yonian" <Yonian@discussions.microsoft.com> wrote in message news:40499CA4-7FAF-42A6-8B19-A90881735C50@microsoft.com... > Any number typed into a cell is divided by 100. > If p...

New message opens up behind outlook window
Everytime I click new in my inbox to open a new message, the new message pops up behind the main oulook window. does anyone know how to make this stop? ...

Can't install windows updates on SBS 2003
I have a SBS 2003 server that has not been updated in a couple years. It has SP2 installed but when I run Microsoft Update it needs to download and install 96 updates. When I try to get them installed it comes back with an error saying not enough disk space. I have tried to just install 1 update at a time and get the same error. The C:\ drive has over 14GB of free space and the other drives have plenty of space as well. I restarted the server and also ran Disk Cleanup, as the error message reccomends, but am still having the same problem. Anyone run across this problem befo...

Document map 05-12-10
The document map for one of my documents has stopped displaying headings from the beginning of the document and instead displays headings from a point within it. The headings that aren't displayed are correctly formatted as Level 1. And I've entered and exited Outline view, with, unfortunately, no benefit. What might the solution be please? Are the headings that are shown the document map in the same style? If so, try reapplying the style to the headings that are not showing up. If not, make sure that it is the paragraph outline level that you have set to 1 (& if it ...

Outlook and Windows Integrated Authentication
Hello All, Does anyone know if Outlook (not OWA) can use Windows Integrated Authentication (like IE) to automatically log onto Intranet Web sites to retrieve graphics in HTML messages? Right now we get a logon dialog and have to manually log in. Thanks. if you paste the url into a browser, does it work as desired? -- Diane Poremsky [MVP - Outlook] Author, Teach Yourself Outlook 2003 in 24 Hours Coauthor, OneNote 2003 for Windows (Visual QuickStart Guide) Need Help with Common Tasks? http://www.outlook-tips.net/beginner/ Outlook 2007: http://www.slipstick.com/outlook/ol2007/ Outloo...

Email Router 05-17-04
Hello, I want to create a queue for support. This queue should receive internal emails from other departments that they are requesting support. Can anybody tell us how to rout these emails to the CRM Queue? Regards, Khalid Hello This is a limitation of MS CRM. The router does not intercept internal email. Only emails that reach the mailserver trough the SMTP gateway are processed. Regards Cedric "Khalid" <anonymous@discussions.microsoft.com> wrote in message news:e08101c43c13$bb1dbcf0$a001280a@phx.gbl... > Hello, > I want to create a queue for support. This ...

... I want to change a chart type ...
I have a "Line - Column" chart in my spreadsheet. My Bars represent the month which is in a Linked Cell. The Value of the Bars is a Dollar amount from a Linked Cell. The Line represents a Target Dollar Value. I would like to add a second line that would represent a count from a linked range of cells. Can I edit my existing chart, or do I have to create a new one? Could you give me a few pointers? Darrell Select and drag the new column onto the chart. In the resulting dialog box, ensure you specify 'new series'. Once XL finishes adding the series, if it is not the...

cell will not center
Hi. I have a user with an Excel worksheet. There are multiple rows and columns and they are all set on center alignment, (center alignment icon on the toolbar as well as Format Cells --> Horizontal Alignment --> Center.) The alphabetical characters align correctly but the numerical don't, as they will only left align. Format Cells --> Number is set to General, so I don't know why it won't change the alignment. Other than the worksheet being corrupted, I don't know what could be wrong with it. Any suggestions are much appreciated. Thanks! Hilary =?Utf-8?B?SG...

Windows media player
Why does windows media player keep popping up? David wrote: > Why does windows media player keep popping up? OK, I give up. Why does Windows Media Player keep popping up ? How to ask a question http://support.microsoft.com/kb/555375 Windows Media Player General Discussion http://www.microsoft.com/communities/newsgroups/en-us/default.aspx?dg=microsoft.public.windowsmedia.player&cat=en_US_44d7101f-71dd-4f9a-b6b9-45215557dd35&lang=en&cr=US MowGreen ================ *-343-* FDNY Never Forgotten ================ banthecheck.com "Security update...

Don't want to automatically open email Outlook 2000
I have recently started using Outlook 2000 instead of Outlook Express. In Express - I was able to preview messages without actually opening the file. In OL2000, the file automatically opens up... is there any way of preventing this. ...

Task Manager window only CPU
Vista Ultimate SP2 When I launch Windows Task Manager, only a CPU meter opens. When I right click icon in task bar, I only get Close & Always on top options. How do I restore task manager? Happy New Year -- ***************** John Lenz JohnLenz@comcast.net Double click on the white frame of the task manager window. That should do it. -- whs THX - it worked Happy New Year -- ***************** John Lenz JohnLenz@comcast.net "whs" <guest@unknown-email.com> wrote in message news:89eee91dbeee8173c55e0008be25b622@nntp-gateway....

How to remove black frame/background around the icon <1183463901.227455.123960@e16g2000pri.googlegroups.com>
Hi, I have created a toolbar using Deskband in Visual Studio 6.0. I have added icons for the buttons but for every icon, I see a black background/frame. Even if I open the icon in MS Paint, I see that black frame. Its like all the icons are sqaure in shape and except for the actual picture everything else is black! I have never worked with icons before and I do not know how I can get rid of this. It makes my toolbar look very ugly. Please somebody help EggHeadCafe - .NET Developer Portal of Choice http://www.eggheadcafe.com Normally, icons (.ico) files are actually two bitmaps, a mask bitm...

Need help on a formula 05-20-10
I need a formula to calculate the following information please: I will have someone enter a time (ex 6:31) in cell C3. If the time matches one of the times in cells B17-B22 I need it to display 4.6, if it matched one of the times in cells B23-28 I need it to display 4.7, if it matches one of the times in cells B29-34 I need it to display 4.8 and so on. Does anyone have a simple formula I can do for this please? =IF(COUNTIF(B17:B22,C3)>0,4.6,IF(COUNTIF(B23:B28,C3)>0,4.7,IF(COUNTIF(B29:B34,C3)>0,4.8,"no match"))) Can't do the "and so on" part, bu...

create main configuration file for solution.
Hello. How can I create main configuration file for my solution (Win-Form : VS 2008. VB.NET), like a general ini-file. Thanks :) "Mr. X." wrote: > Hello. > How can I create main configuration file for my solution (Win-Form : VS > 2008. VB.NET), like a general ini-file. > It's called an app.config. There is a name space you can use to mainulupate the app.config from a program. I see it on the project source directory (not for solution). I cannot see it on the release directory. Is there any convention to read / write from app.config...

Subform question 04-09-10
I have a form (Form1) that contains a subform (Subform1). Within this subform I have a combo box which, depending on what is chosen, pops up another form (Popup1)for additional information. I need this additional information in the form that pops up to be 'linked' with the subform. The problem I am running into is that when the user enters information in Popup1, the table has not been populated witht he data that is in the subform so there is no record to 'link' to. What is the best way to force te esubform to pass its information to the table? Thanks i...

Prevent users from saving music and pictures to their hard drives without folder redirection?
Hi there. I'm wondering if there is a way via GPO or anything else to prevent users from saving music and pictures to their local hard drives without using any type of profile or folder redirection. Thanks. ...

sending mail 05-20-10
The message could not be sent. The authentication setting might not be correct for your outgoing e-mail [SMTP] server. For help solving this problem, go to Help, search for "Troubleshoot Windows Mail", and read the "I'm having problems sending e-mail" section. If you need help determining the proper server settings, please contact your e-mail service provider. The rejected e-mail address was 'michael.porth@bafin.be'. Subject 'Hello', Account: 'pop-server.tampabay.rr.com', Server: 'smtp-server.tampabay.rr.com', Protocol: SMT...

exchange 5.5 will not keep new server name.
We have exchange 5.5 in enviroment where windows server 2003 is setup along with active directory and active direcitory intergrated zone which is replicated to other servers. Problem: I enter the Exchange Server Name followed by the mailbox name then I select the button [CHECK NAME] In the exchange server name field after entering the new exchange server name the old exchange server name is displayed instead. This only happens in office 2003 professional and not in office 2000 professional "old exchange server name" How did you go about changing the name of the server...

drawing on the desktop
Hi, When you drag the Visual Studio property window , it will draw on the screen a rectangle with the mouse showing the new position of the property window if you drop it right now. I want to know how this is implemented? Do I need to get the DC of the desktop to do the drawing?? Thank you, wk ...

Calculate Subreport totals in a main report Group footer
Hi all Apologies if this has been answered before but I can’t find it. I have a main Report with a Group called “Product_Category” which lists a number of “Products” in the Detail I have a Subreport named “product_costs” which has a record for each date and Text Boxes named “materials” and “fuel” (there are more but I’ll keep it simple). The Subreport sums all costs and has Text Boxes named “summaterials” and “sumfuel” in the footer (all with a height of 0.1cm) The Subreport is embedded in the Detail of the Categories and linked by Product_id In the Detail of the Main Rep...

Upgrade GP 9.0 SP2 to GP 10.0 Advice
Hi, We are planning our upgrade of GP9.0 SP2 to GP10.0. We are running SQL 2000 and would like to also upgrade to SQL 2005. I am using the following url (and read some threads on this forum): https://mbs.microsoft.com/customersource/support/knowledgebase/hottopics/hot_topic_updatingmicrosoftdynamicsgp10.htm?printpage=false (page: Updating to Microsoft Dynamics GP 10.0) The chart Microsoft provides says I can go from 9.00.0281 (which is SP2) to 10.0 or any patch install. What does "any patch install" mean? Does this mean I can't go directly to 10.0 Feature Pack 1? Would i...

Outlook 03 standalone syncing with network, don't want it
For some reason now on startup my Vista Ultimate PC running Outlook 03 is incredibly slow with lots of disk thrashing. I saw a message about Outlook synching but I don't recall setting it up to do that. I want it not to and, more importantly, I want the disk thrashing to stop. My computer is on a wireless network with a NAS. I have 3 drives permanently mapped to shares on it. Nothing changed on the NAS, to my knowledge. I recall having seen somewhere in Vista sync settings. I can't find it now and don't know if that's relevant. I'm confident that my system is secur...

[ANN] "Bend Word to your Will" -- April 2005 edition free download
Dear all, THIS ANNOUNCEMENT IS ABOUT A *NON-COMMERCIAL* RESOURCE BASED IN PART ON ACCUMULATED ADVICE FROM THIS NEWSGROUP The latest version of my notes on Word -- titled "Bend Word to Your Will" -- is now available for downloading from the Word MVPs' site, http://www.mvps.org/word/FAQs/WordMac/Bend/BendWord.htm WHAT IS "BEND WORD TO YOUR WILL"? "Bend Word to Your Will" is not a commercial product for sale -- it's free. It's a dictionary-style (mainly) set of notes on Word that I've been continually adding to and polishing for the past four year...