⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 sep97_updates.shtml.htm

📁 mfc资料集合5
💻 HTM
字号:
<HTML>
<HEAD>
   <META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=iso-8859-1">
   <TITLE>MFC Programmer's SourceBook - September'97 Updates</TITLE>
</HEAD>
<body background="fancyhome/back.gif" tppabs="http://www.codeguru.com/fancyhome/back.gif" bgcolor="#FFFFFF" link="#B50029" vlink="#8E2323" alink="#FF0000">
<table WIDTH="100%">
<tr WIDTH="100%">
<td><A HREF="http://209.66.99.126/cgi/ads.cgi?advert=myad2"><IMG SRC="../209.66.99.126/advertise2.gif" tppabs="http://209.66.99.126/advertise2.gif" ALT="" BORDER=2></A><td>
</tr>
</table>


<CENTER><H3><FONT COLOR="#AOAO99">MFC Programmer's SourceBook - Sep'97 Updates</FONT></H3></CENTER>

<CENTER><H3><HR></H3></CENTER>



<p><FONT COLOR="#0000ff"><b>Sep 28, 1997</b></FONT>
<pre>
There's something exciting happening at MFC Programmer's 
SourceBook. Enter the MFC CodeGuru of the Month contest to
win the Objective Toolkit Library from Stingray Software.
Many of you are already aware of the numerous very useful
classes in this toolkit. Anyone who contributes an article
in October will be eligible to win. Check out the web site
http://www.codeguru.com
for more information. If you have any suggestions on 
improving this contest please free to send me mail or use
the Discussion Board.

Thanks go to Eric Hoagland, Chris Maunder, Carsten Witte, 
Tim Gilman, Chris Protopapas and Roger Onslow for 
contributing articles for this update. Also, thanks to
Dror Kremer for pointing out a bug and fixing it.


Property Sheet
1. Creating a Property Sheet Inside a Dialog - BugFix
   Bug found and fixed by Dror Kremer. 

Samples
1. Track billable hours - Eric Hoagland 

ListView
1. Using text callbacks - Chris Maunder
2. Using sub-stings in non report view - Carsten Witte

Misc
1. Use the Date/Time Picker common control (IE3+) - Tim Gilman 

TreeView
1. Dynamic Calculation of DragImage Hotspot - Chris Protopapas 

Bitmap
1. Invert (mirror) a bitmap in-place - Roger Onslow 
2. Rotate a bitmap image
</pre>

<p><FONT COLOR="#0000ff"><b>Sep 22, 1997</b></FONT>
<pre>Thanks to Roger Onslow, Jean-Edouard Lachand-Robert
and Douglas Peterson for contributing code for this
update.

Thanks to Park Keun Hyun for pointing out a bug about
handling 24 bit DIBs and Benoit Lariviere for pointing out
a problem with one of the web page.

Bitmap
1. Drawing a bitmap
2. Invert (mirror) a bitmap
3. Converting DIB to DDB - BugFix
   Now works with 24bit BMP
4. Drawing a bitmap from a BMP file - BugFix
   Now works with 24bit BMP
5. Creating a bitmap object from a BMP file - BugFix
   Now works with 24bit BMP
6. Draw bitmap with grayed 3D effect - Jean-Edouard Lachand-Robert


Rich Edit
1. Providing a Format toolbar - BugFix
   Reformatted the html - It was
   not displaying the entire code.

Dialog
1. Font dialog with custom text preview & color - Roger Onslow

StatusBar
1. Adding a clock to the status bar - Roger Onslow 

Misc
1. Sortable CObList class - Douglas Peterson


</pre>


<p><FONT COLOR="#0000ff"><b>Sep 14, 1997</b></FONT>
<pre>This update has a few topics on Bitmaps and a couple on CString.
I have found the CString extension and regular expression very 
useful but they haven't been tested a lot. If any of you folks
use the regular expression class for a language other than 
English could you let me know.

Sorry about not including the URL for the site in the last 
update. Also I think I forgot the mention the Discussion Board.
You can use the Discussion Board to point out any bug or other
tips/source that others can benefit from immediately. One of 
the useful information you will find in the discussion board 
is a link to a class for resizable docking window.

Also the LINKS page has a few new links that you may find 
useful.

Bitmap
1. Drawing an image in grayscale
2. Fade in / Fade out Images using Palette animation
3. Fading from color to grayscale and vice-versa
4. Emboss text and other shape on your bitmap
5. Apply a 3D bitmap pattern on text or other shapes



String - new section
1. CString Extension
2. Using regular expression for search/replace.


Updated
1. ToolBar - DevStudio like toolbar - Roger Onslow
   There was a problem with docking.
   Also makes checked buttons appear pushed in.
2. Dialog - Color Dialog with Persistent Custom Colors - Roger Onslow
   There was a minor problem with the class names. Some of the class
   names started with 'Q' instead of 'CMy'.
3. Misc - Getting rid of Window List from MDI applications - by Sushil Saxena
   Added improvement suggested by Jeff Miller.
4. ListView - Indicating sort order

</pre>

<p><FONT COLOR="#0000ff"><b>Sep 10, 1997</b></FONT>
<pre>Here's another update. Thanks go to Chris, Sushil, Eran and
Roger for contributing new articles. Thanks to Colin for 
suggesting a fix.

Some of the articles for the Misc section has been moved to 
the dialog section.

List View control
1. Indicating sort order - Enhanced
   When resizing the column the update was not proper.
   Colin Bradbury suggested the fix.

Misc
1. HOWTO: MFC user defined message maps - Chris Kohlhepp
2. Getting rid of Window List from MDI applications - by Sushil Saxena 
3. Determine DLL version number - by Eran Yariv 
4. Save and Restore - by Roger Onslow 

Toolbar - new section
1. DevStudio like toolbar (IE4)- by Roger Onslow

Dialog - new section
1. Color Dialog with Persistent Custom Colors - Roger Onslow

Tips
1. Set syntax coloring for user-defined keywords
   There's a ready to use keyword file for download.

Redid a couple of articles to reduce download time.
1. Misc:Add Undo - Redo support to CDocument - Keith Rule
2. Misc:Flicker free drawing using memory DC - Keith Rule

</pre>




<p><FONT COLOR="#0000ff"><b>Sep 6, 1997</b></FONT>
<pre>First a few changes to the web site. Added a different "Links"
page. It already contains a few useful links but now you can 
add your own favourite links to this list. I am really getting
to like CGI scripts. Go ahead and add your own favourite links.

Another new feature is the "Changed Pages" CGI script in the 
"What's New" page. You can now find out all the HTML pages that
changed in the past few days. Note that sometimes I change a 
page's appearance only so the best thing is to read these 
updates.

Are you a PERL & sendmail expert? Can you help me improve my
mailing list script? The mailing list now has over 400 people
and it takes ages to send out the update. The PERL script
basically goes through the list and sends mail to each
person individually. PLEASE HELP!

Now some good news. In the past week quite a few people 
contributed articles for this site. Infact, this is the first
update that does not contain any of my code but only code 
contributed by others. Hope you took the hint. If not I'll 
spell it out - PLEASE SEND IN SOME OF YOUR OWN COOL STUFF.

Thanks to Joseph, Girish, Keith, Eran, Justin, Chris and 
Sushil for sharing their code. Thanks to Anatoly for
pointing out and fixing a bug.

Misc:
1. IP Address Masked Edit - by Joseph A. Dziedzic 
   http://www.codeguru.com/misc/
2. Owner Drawn Menu with Icons - by Girish Bharadwaj
   http://www.codeguru.com/misc/
3. Add Undo - Redo support to CDocument - by Keith Rule
   http://www.codeguru.com/misc/
4. Flicker free drawing using memory DC - by Keith Rule
   http://www.codeguru.com/misc/

List View Control
1. Add checkboxes to new listview control (IE 4.0)- Eran Yariv
   http://www.codeguru.com/listview/
2. Stop auto-selection of item (IE 4.0) - Justin Rudd
   http://www.codeguru.com/listview/
3. Stationary Columns - Laura Michaels
   http://www.codeguru.com/listview/

List View Control - Bug fix
1. Dragging columns to rearrange column sequence - Bug Fix
   http://www.codeguru.com/listview/
   Thanks to Anatoly Ivasyuk for pointing out a off-by-one bug.
   The line fixed is given below. The equal sign was added.
	if( point.x >= cx && point.x < cx + m_pWidth[i] )

Status Bar
1. Showing progress bar in a status bar pane (2) - by Chris Maunder
   http://www.codeguru.com/statusbar/
2. Show scrolling text in a status bar pane - by Sushil Saxena 


Coming up next week.
1. CString extension class.
2. CRegEx for search/replace using regular expressions.

I need a few volunteers to check out the UNICODE support in these
two classes. Interested?
</pre>


<p><FONT COLOR="#0000ff"><b>Sep 1, 1997</b></FONT>
<pre>I am now using a CGI mailing list script. Hope this work
out OK. Also, look at the guestbook section. Please take
some time to sign in and give your suggestions.

I forgot to thank Joey Edelstein in the previous update. He 
pointed out a lapse in the Visual C++ tip about improving help. 
Thank you Joey.
 
Thanks also go to Brad Mann, Moshe Stolar and 
Girish Bharadwaj for contributing articles 
included in this update.

Thanks to Jason Rhubottom for finding and fixing a bug
in "Indicating sort order".

ListView
1. Detecting column index of the item clicked -bugfix
   Used to Fail for owner drawn list control
   http://www.codeguru.com/listview/col_index.shtml
2. Editable subitems -bugfix
   Same fix as #1
   http://www.codeguru.com/listview/edit_subitems.shtml
3. Using a drop down list to change a subitem -bugfix
   Changed call to DestroyWindow()
   to PostMessage( WM_CLOSE );
   http://www.codeguru.com/listview/drop_down_list.shtml
4. Indicating sort order in header control - bugfix.
   Fix : Reselect old pen back into DC
   http://www.codeguru.com/listview/indicating_sort_order.shtml


TreeView
1. Serializing to / from a text file - Update
   Added a missing function.
   http://www.codeguru.com/treeview/serialize_to_text.shtml

RichEdit
1. Providing a Format toolbar
   http://www.codeguru.com/richedit/formatbar.shtml

Misc
1. Splash Screen with 256 color support
   http://www.codeguru.com/misc/splash.shtml
2. Class to select directory - by Girish Bharadwaj
   http://www.codeguru.com/misc/dir_dialog.shtml
3. Showing disabled combo text in black - by Moshe Stolar
   http://www.codeguru.com/misc/color_in_disabled_combo.shtml

StatusBar
1. Showing progress in status bar - by Brad Mann
   http://www.codeguru.com/statusbar/progress_in_status.shtml


Also added a zip file for the whole site for offline viewing.
</pre>
<P>






<P>
<HR>
<TABLE BORDER=0 WIDTH="100%" >
<TR>
<TD WIDTH="33%"><FONT SIZE=-1><A HREF="index.htm" tppabs="http://www.codeguru.com/">Goto HomePage</A></FONT></TD>

<TD WIDTH="34%">
<CENTER><FONT SIZE=-2>&copy; 1997 Zafir Anjum</FONT>&nbsp;</CENTER>
</TD>

<TD WIDTH="33%">
<DIV ALIGN=right><FONT SIZE=-1>Contact me: <A HREF="mailto:zafir@home.com">zafir@home.com</A>&nbsp;</FONT></DIV>
</TD>
</TR>
</TABLE>
<CENTER><FONT SIZE=-2>4571</FONT></CENTER>
</BODY>
</HTML>

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -