Click here to Skip to main content
6,630,289 members and growing! (21,719 online)
Email Password   helpLost your password?
Announcements
BullFrog Power
 
Search    
Add to IE Search

Articles by Roger Allen (26 articles found)

Average article rating: 4.27

Button Controls

Getting BN_DOUBLECLICK to work for buttons
Last Updated: 25 Jun 2002   Page Views: 61,681   Rating: 4.00/5    Votes: 7   Popularity: 3.38   Bookmark Count: 30
Licence: The Code Project Open License (CPOL)   
BN_DOUBLECLICKED doesn't get received

Clipboard

Getting a CF_DIB or CF_METAFILEPICT from the clipboard and displaying it
Last Updated: 11 Dec 2002   Page Views: 57,085   Rating: 4.07/5    Votes: 8   Popularity: 3.68   Bookmark Count: 35
Licence: The Code Project Open License (CPOL)   
Example code to display a CF_DIB or CF_METAFILEPICT from the clipboard

Document / View

Using a Doc/View exported from a dynamically loaded DLL
Last Updated: 15 Nov 2001   Page Views: 66,982   Rating: 4.73/5    Votes: 11   Popularity: 4.93   Bookmark Count: 56
Licence: The Code Project Open License (CPOL)   
An article on on how to load DLLs which export doc/views.
MFC Document/View documentation and enhancements
Last Updated: 15 Oct 2003   Page Views: 86,251   Rating: 4.66/5    Votes: 37   Popularity: 7.30   Bookmark Count: 102
Licence: The Code Project Open License (CPOL)   
An extension to the MSDN documentation and a list of tips and tricks you can do with the MFC Doc/View architecture to enhance your applications.

Menus

An examination of menus from a beginner's point of view
Last Updated: 22 Jun 2004   Page Views: 160,436   Rating: 4.91/5    Votes: 50   Popularity: 8.34   Bookmark Count: 105
Licence: The Code Project Open License (CPOL)   
A discussion of the OS menu object from a beginner's viewpoint. I take you through the basics to a more advanced understanding of menus and how to interact with them from code.
Owner drawn menus in two lines of code
Last Updated: 4 Feb 2005   Page Views: 91,437   Rating: 4.74/5    Votes: 25   Popularity: 6.62   Bookmark Count: 61
Licence: The Code Project Open License (CPOL)   
Another method of implementing owner drawn menus, which only requires two lines of code by you the coder.

Miscellaneous

Scrollbars, using the WS_HSCROLL and WS_VSCROLL styles
Last Updated: 13 Jun 2002   Page Views: 107,784   Rating: 4.19/5    Votes: 18   Popularity: 5.25   Bookmark Count: 27
Licence: The Code Project Open License (CPOL)   
How to use a CWnd's default scrollbars and to setup the thumb size correctly
An MFC ActiveX control to display trays
Last Updated: 15 Nov 2001   Page Views: 58,948   Rating: 4.13/5    Votes: 5   Popularity: 2.88   Bookmark Count: 10
Licence: The Code Project Open License (CPOL)   
An MFC ActiveX control to display trays and samples, with selection and cherry picking properties

Printing

Setting the default printer programmatically in an MFC application
Last Updated: 11 Jun 2002   Page Views: 135,324   Rating: 4.29/5    Votes: 25   Popularity: 5.99   Bookmark Count: 37
Licence: The Code Project Open License (CPOL)   
How to change the default printer in MFC and save/restore this setting too/from the registry
Example of how to print a long CString across multiple pages of output using the MFC print architecture
Last Updated: 19 Jun 2002   Page Views: 74,668   Rating: 4.00/5    Votes: 13   Popularity: 4.46   Bookmark Count: 17
Licence: The Code Project Open License (CPOL)   
An example project of how to break up a long string that you want to print across multiple pages
An easy way to customise the default Print dialog in an MFC app
Last Updated: 16 Jul 2002   Page Views: 120,349   Rating: 4.21/5    Votes: 22   Popularity: 5.65   Bookmark Count: 37
Licence: The Code Project Open License (CPOL)   
A quick and easy way to customise the CPrintDialog object in an MFC application
Printing tips and tricks from the trenches
Last Updated: 25 Jul 2002   Page Views: 165,973   Rating: 4.28/5    Votes: 40   Popularity: 6.86   Bookmark Count: 86
Licence: The Code Project Open License (CPOL)   
A selection of printing tips and tricks that can help make printing in an MFC application easier
How to print the content of a Rich Edit Control
Last Updated: 26 Dec 2002   Page Views: 95,057   Rating: 4.45/5    Votes: 11   Popularity: 4.64   Bookmark Count: 28
Licence: The Code Project Open License (CPOL)   
Rich Edit controls are great until you want to print the output. Help is at hand
MultiPage PrintPreview enhancements for MFC Doc/View applications
Last Updated: 27 Apr 2002   Page Views: 100,290   Rating: 4.33/5    Votes: 17   Popularity: 5.33   Bookmark Count: 24
Licence: The Code Project Open License (CPOL)   
How to improve the standard MFC print preview options to allow preview of from 1 to 9 pages at a time
MFC Print preview extension DLL for dialogs
Last Updated: 26 Dec 2002   Page Views: 119,492   Rating: 4.28/5    Votes: 23   Popularity: 5.83   Bookmark Count: 37
Licence: The Code Project Open License (CPOL)   
An MFC extension library, so your dialogs can have easy print/print preview support.
Using CRgn with print preview
Last Updated: 3 Nov 2003   Page Views: 39,989   Rating: 4.75/5    Votes: 10   Popularity: 4.75   Bookmark Count: 15
Licence: The Code Project Open License (CPOL)   
CRgn objects need translating, to work correctly in print preview.
Solution to the preview problem while playing a metafile in a CPreviewDC
Last Updated: 26 Jan 2005   Page Views: 17,364   Rating: 2.14/5    Votes: 4   Popularity: 1.29   Bookmark Count: 11
Licence: The Code Project Open License (CPOL)   
Playing a Metfile into a CPreviewDC in print preview can cause further drawing operations to not work correctly.

Tabs & Property Pages

Enabling context help in a PropertySheet embedded in another PropertySheet
Last Updated: 14 Jun 2005   Page Views: 21,972   Rating: 4.33/5    Votes: 3   Popularity: 2.07   Bookmark Count: 10
Licence: The Code Project Open License (CPOL)   
Context sensitive help does not work for a PropertySheet embedded within the page of another PropertySheet.

Tree Controls

Code to allow you to print the content of a CTreeCtrl
Last Updated: 16 Mar 2003   Page Views: 82,153   Rating: 3.59/5    Votes: 13   Popularity: 4.00   Bookmark Count: 21
Licence: The Code Project Open License (CPOL)   
A base class that provides all the functions you need to print a CTreeCtrl

Libraries

MFC extension library - A plugin to handle owner drawn menus
Last Updated: 11 May 2004   Page Views: 42,182   Rating: 4.41/5    Votes: 7   Popularity: 3.73   Bookmark Count: 41
Licence: The Code Project Open License (CPOL)   
Continuation of the Plugin Architecture series
MFC Extension library : Enhanced print preview plug-in
Last Updated: 24 May 2004   Page Views: 36,552   Rating: 4.60/5    Votes: 7   Popularity: 3.89   Bookmark Count: 37
Licence: The Code Project Open License (CPOL)   
MFC Extension library : Enhanced print preview plug-in
An MFC extension library to enable DLL plug-in technology for your application using MESSAGE_MAPs
Last Updated: 8 Jun 2004   Page Views: 170,685   Rating: 4.64/5    Votes: 48   Popularity: 7.80   Bookmark Count: 194
Licence: The Code Project Open License (CPOL)   
A plug-in architecture which allows you to write plug-in DLLs for your application and extend/modify its functionality.
MFC extension library : Single instance Plug-In
Last Updated: 8 Jun 2004   Page Views: 29,488   Rating: 4.52/5    Votes: 5   Popularity: 3.16   Bookmark Count: 26
Licence: The Code Project Open License (CPOL)   
Single instance Plug-In

Algorithms & Recipes

A matrix class with serialization and advanced input/output functions
Last Updated: 12 Aug 2002   Page Views: 187,893   Rating: 4.39/5    Votes: 24   Popularity: 6.06   Bookmark Count: 51
Licence: The Code Project Open License (CPOL)   
A Matrix class derived from CObject with serialization and operator overloading

WinHelp / HTMLHelp

How to enable context sensitive help for individual controls on a FormView
Last Updated: 25 Oct 2002   Page Views: 73,992   Rating: 4.65/5    Votes: 11   Popularity: 4.84   Bookmark Count: 23
Licence: The Code Project Open License (CPOL)   
Context sensitive help does not distinguish individual controls on a FormView. This sorts that problem
Simplified MFC helpfiles AfxCore.rtf and AfxPrint.rtf
Last Updated: 12 Mar 2002   Page Views: 36,976   Rating: 3.86/5    Votes: 4   Popularity: 2.32   Bookmark Count: 10
Licence: The Code Project Open License (CPOL)   
Repleacement AfxCore and AfxPrint RTF files for new projects

Roger Allen


Member
A research and development programmer working for a pharmaceutical instrument company.

I am one of those lucky people who enjoys his work and spends more time than he should either doing work or reseaching new stuff. I can also be found on the odd counter-strike server sometimes, or playing DDO on the european Devourer server (Send a tell to "Ordinary" who is my current main)

I am also a keep fit fanatic, doing cross country running and am seriously into [url]http://www.ryushinkan.co.uk/[/url] Karate at this time of my life, training from 4-6 times a week.

Apart from computer games and fitness, I also enjoy Juggeling, unicycling and other circus type skills.

I also have 2 step daughters, aged 21 and 23. They are both nice girls, but expensive to keep in food/clothes/mobile phones/cello's/travel etc, Plus I get insulted by them a lot!

Occupation: Software Developer (Senior)
Company: Sirius Analytical Instruments
Location: United Kingdom United Kingdom


Last Updated 21 Nov 2009
Web22 | 2.2.0175 | Advertise | Privacy
Copyright © CodeProject, 1999-2009
All Rights Reserved. Terms of Use