Click here to Skip to main content
13,353,706 members (54,798 online)

Articles by Roger Allen (Articles: 26)

Articles: 26

RSS Feed

Average article rating: 4.46

Button Controls
General
Posted: 25 Jun 2002   Updated: 25 Jun 2002   Views: 77,620   Rating: 4.00/5    Votes: 7   Popularity: 3.38
Licence: The Code Project Open License (CPOL)      Bookmarked: 38   Downloaded: 0
BN_DOUBLECLICKED doesn't get received
Clipboard
General
Posted: 11 Dec 2002   Updated: 11 Dec 2002   Views: 84,660   Rating: 4.07/5    Votes: 8   Popularity: 3.68
Licence: The Code Project Open License (CPOL)      Bookmarked: 43   Downloaded: 0
Example code to display a CF_DIB or CF_METAFILEPICT from the clipboard
Document / View
General
Posted: 15 Nov 2001   Updated: 15 Nov 2001   Views: 97,230   Rating: 4.94/5    Votes: 15   Popularity: 5.81
Licence: The Code Project Open License (CPOL)      Bookmarked: 79   Downloaded: 6,494
An article on on how to load DLLs which export doc/views.
Posted: 15 Oct 2003   Updated: 15 Oct 2003   Views: 163,770   Rating: 4.83/5    Votes: 52   Popularity: 8.29
Licence: The Code Project Open License (CPOL)      Bookmarked: 152   Downloaded: 1
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
General
Posted: 22 Jun 2004   Updated: 22 Jun 2004   Views: 270,050   Rating: 4.91/5    Votes: 68   Popularity: 8.99
Licence: The Code Project Open License (CPOL)      Bookmarked: 147   Downloaded: 2,913
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.
Posted: 2 Nov 2004   Updated: 4 Feb 2005   Views: 142,440   Rating: 4.76/5    Votes: 27   Popularity: 6.82
Licence: The Code Project Open License (CPOL)      Bookmarked: 80   Downloaded: 3,286
Another method of implementing owner drawn menus, which only requires two lines of code by you the coder.
Miscellaneous
Beginners
Posted: 15 May 2002   Updated: 13 Jun 2002   Views: 156,710   Rating: 4.59/5    Votes: 21   Popularity: 6.05
Licence: The Code Project Open License (CPOL)      Bookmarked: 37   Downloaded: 3,235
How to use a CWnd's default scrollbars and to setup the thumb size correctly
Custom Controls
Posted: 15 Nov 2001   Updated: 15 Nov 2001   Views: 76,490   Rating: 4.13/5    Votes: 5   Popularity: 2.88
Licence: The Code Project Open License (CPOL)      Bookmarked: 17   Downloaded: 1,243
An MFC ActiveX control to display trays and samples, with selection and cherry picking properties
Printing
General
Posted: 2 May 2002   Updated: 11 Jun 2002   Views: 204,930   Rating: 4.78/5    Votes: 26   Popularity: 6.77
Licence: The Code Project Open License (CPOL)      Bookmarked: 45   Downloaded: 3,601
How to change the default printer in MFC and save/restore this setting too/from the registry
Posted: 19 Jun 2002   Updated: 19 Jun 2002   Views: 112,170   Rating: 4.50/5    Votes: 15   Popularity: 4.70
Licence: The Code Project Open License (CPOL)      Bookmarked: 25   Downloaded: 2,256
An example project of how to break up a long string that you want to print across multiple pages
Posted: 16 Jul 2002   Updated: 16 Jul 2002   Views: 188,360   Rating: 4.63/5    Votes: 23   Popularity: 6.30
Licence: The Code Project Open License (CPOL)      Bookmarked: 42   Downloaded: 1,918
A quick and easy way to customise the CPrintDialog object in an MFC application
Posted: 20 Jun 2002   Updated: 25 Jul 2002   Views: 236,260   Rating: 4.75/5    Votes: 45   Popularity: 7.85
Licence: The Code Project Open License (CPOL)      Bookmarked: 103   Downloaded: 0
A selection of printing tips and tricks that can help make printing in an MFC application easier
Posted: 26 Dec 2002   Updated: 26 Dec 2002   Views: 148,900   Rating: 4.53/5    Votes: 13   Popularity: 5.01
Licence: The Code Project Open License (CPOL)      Bookmarked: 37   Downloaded: 2,317
Rich Edit controls are great until you want to print the output. Help is at hand
Print Preview
Posted: 23 Apr 2002   Updated: 27 Apr 2002   Views: 142,790   Rating: 4.65/5    Votes: 17   Popularity: 5.72
Licence: The Code Project Open License (CPOL)      Bookmarked: 32   Downloaded: 4,892
How to improve the standard MFC print preview options to allow preview of from 1 to 9 pages at a time
Posted: 4 Dec 2002   Updated: 26 Dec 2002   Views: 211,900   Rating: 4.69/5    Votes: 27   Popularity: 6.60
Licence: The Code Project Open License (CPOL)      Bookmarked: 50   Downloaded: 8,303
An MFC extension library, so your dialogs can have easy print/print preview support.
Posted: 3 Nov 2003   Updated: 3 Nov 2003   Views: 59,110   Rating: 4.94/5    Votes: 12   Popularity: 5.33
Licence: The Code Project Open License (CPOL)      Bookmarked: 18   Downloaded: 0
CRgn objects need translating, to work correctly in print preview.
Posted: 26 Jan 2005   Updated: 26 Jan 2005   Views: 28,170   Rating: 2.14/5    Votes: 4   Popularity: 1.29
Licence: The Code Project Open License (CPOL)      Bookmarked: 12   Downloaded: 0
Playing a Metfile into a CPreviewDC in print preview can cause further drawing operations to not work correctly.
Tabs & Property Pages
General
Posted: 14 Jun 2005   Updated: 14 Jun 2005   Views: 35,360   Rating: 4.31/5    Votes: 4   Popularity: 2.61
Licence: The Code Project Open License (CPOL)      Bookmarked: 13   Downloaded: 0
Context sensitive help does not work for a PropertySheet embedded within the page of another PropertySheet.
Tree Controls
General
Posted: 4 Mar 2003   Updated: 16 Mar 2003   Views: 121,970   Rating: 4.06/5    Votes: 13   Popularity: 4.52
Licence: The Code Project Open License (CPOL)      Bookmarked: 26   Downloaded: 2,711
A base class that provides all the functions you need to print a CTreeCtrl
Libraries
Code Libraries
Posted: 11 May 2004   Updated: 11 May 2004   Views: 63,510   Rating: 4.41/5    Votes: 7   Popularity: 3.73
Licence: The Code Project Open License (CPOL)      Bookmarked: 45   Downloaded: 1,449
Continuation of the Plugin Architecture series
Posted: 24 May 2004   Updated: 24 May 2004   Views: 57,720   Rating: 4.61/5    Votes: 8   Popularity: 4.15
Licence: The Code Project Open License (CPOL)      Bookmarked: 48   Downloaded: 1,644
MFC Extension library : Enhanced print preview plug-in
Posted: 8 Jun 2004   Updated: 8 Jun 2004   Views: 43,900   Rating: 4.66/5    Votes: 6   Popularity: 3.62
Licence: The Code Project Open License (CPOL)      Bookmarked: 37   Downloaded: 846
Single instance Plug-In
Posted: 2 Oct 2002   Updated: 8 Jun 2004   Views: 344,720   Rating: 4.84/5    Votes: 55   Popularity: 8.43
Licence: The Code Project Open License (CPOL)      Bookmarked: 237   Downloaded: 8,022
A plug-in architecture which allows you to write plug-in DLLs for your application and extend/modify its functionality.
Algorithms & Recipes
Algorithms
Posted: 26 Jun 2002   Updated: 12 Aug 2002   Views: 264,430   Rating: 4.63/5    Votes: 29   Popularity: 6.73
Licence: The Code Project Open License (CPOL)      Bookmarked: 69   Downloaded: 3,412
A Matrix class derived from CObject with serialization and operator overloading
WinHelp / HTMLHelp
General
Posted: 17 Jul 2002   Updated: 25 Oct 2002   Views: 107,590   Rating: 4.67/5    Votes: 12   Popularity: 5.02
Licence: The Code Project Open License (CPOL)      Bookmarked: 29   Downloaded: 916
Context sensitive help does not distinguish individual controls on a FormView. This sorts that problem
RTF Help
Posted: 12 Mar 2002   Updated: 12 Mar 2002   Views: 49,110   Rating: 3.86/5    Votes: 4   Popularity: 2.32
Licence: The Code Project Open License (CPOL)      Bookmarked: 12   Downloaded: 554
Repleacement AfxCore and AfxPrint RTF files for new projects
No blogs have been submitted.
No tips have been posted.
No reference articles have been posted.

Roger Allen
Software Developer (Senior) Sirius Analytical Instruments
United Kingdom United Kingdom
A research and development programmer working for a pharmaceutical instrument company for the past 17 years.

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 playing DDO on the Cannith server (Send a tell to "Maetrim" 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 and recently achieved my 1st Dan after 6 years.


Advertise | Privacy |
Web02 | 2.8.180111.1 | Last Updated 22 Jan 2018
Copyright © CodeProject, 1999-2018
All Rights Reserved. Terms of Service
Layout: fixed | fluid