Click here to Skip to main content
15,890,438 members

Articles by Roger Allen (Articles: 26)

Articles: 26

RSS Feed

Average article rating: 4.48

Desktop Programming
MFC
25 Jun 2002   Updated: 25 Jun 2002   Rating: 4.18/5    Votes: 5   Popularity: 2.92
Licence: CPOL    Views: 86,073     Bookmarked: 38   Downloaded: 0
Please Sign up or sign in to vote.
BN_DOUBLECLICKED doesn't get received
11 Dec 2002   Updated: 11 Dec 2002   Rating: 3.82/5    Votes: 8   Popularity: 3.45
Licence: CPOL    Views: 95,102     Bookmarked: 43   Downloaded: 0
Please Sign up or sign in to vote.
Example code to display a CF_DIB or CF_METAFILEPICT from the clipboard
15 Nov 2001   Updated: 15 Nov 2001   Rating: 4.95/5    Votes: 13   Popularity: 5.52
Licence: CPOL    Views: 116,257     Bookmarked: 79   Downloaded: 7,061
Please Sign up or sign in to vote.
An article on on how to load DLLs which export doc/views.
15 Oct 2003   Updated: 15 Oct 2003   Rating: 4.84/5    Votes: 53   Popularity: 8.26
Licence: CPOL    Views: 198,488     Bookmarked: 160   Downloaded: 1
Please Sign up or sign in to vote.
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.
22 Jun 2004   Updated: 22 Jun 2004   Rating: 4.91/5    Votes: 68   Popularity: 8.99
Licence: CPOL    Views: 332,120     Bookmarked: 149   Downloaded: 3,127
Please Sign up or sign in to vote.
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.
2 Nov 2004   Updated: 3 Feb 2005   Rating: 4.78/5    Votes: 28   Popularity: 6.84
Licence: CPOL    Views: 169,863     Bookmarked: 80   Downloaded: 3,623
Please Sign up or sign in to vote.
Another method of implementing owner drawn menus, which only requires two lines of code by you the coder.
15 May 2002   Updated: 13 Jun 2002   Rating: 4.76/5    Votes: 17   Popularity: 5.46
Licence: CPOL    Views: 175,762     Bookmarked: 38   Downloaded: 3,495
Please Sign up or sign in to vote.
How to use a CWnd's default scrollbars and to setup the thumb size correctly
15 Nov 2001   Updated: 15 Nov 2001   Rating: 4.20/5    Votes: 2   Popularity: 1.26
Licence: CPOL    Views: 84,580     Bookmarked: 16   Downloaded: 1,361
Please Sign up or sign in to vote.
An MFC ActiveX control to display trays and samples, with selection and cherry picking properties
2 May 2002   Updated: 11 Jun 2002   Rating: 4.85/5    Votes: 21   Popularity: 6.31
Licence: CPOL    Views: 241,894     Bookmarked: 50   Downloaded: 4,132
Please Sign up or sign in to vote.
How to change the default printer in MFC and save/restore this setting to/from the registry
19 Jun 2002   Updated: 19 Jun 2002   Rating: 4.50/5    Votes: 10   Popularity: 4.29
Licence: CPOL    Views: 126,929     Bookmarked: 26   Downloaded: 2,385
Please Sign up or sign in to vote.
An example project of how to break up a long string that you want to print across multiple pages
16 Jul 2002   Updated: 16 Jul 2002   Rating: 4.62/5    Votes: 18   Popularity: 5.69
Licence: CPOL    Views: 230,995     Bookmarked: 42   Downloaded: 2,254
Please Sign up or sign in to vote.
A quick and easy way to customise the CPrintDialog object in an MFC application
20 Jun 2002   Updated: 25 Jul 2002   Rating: 4.75/5    Votes: 25   Popularity: 6.56
Licence: CPOL    Views: 273,024     Bookmarked: 104   Downloaded: 0
Please Sign up or sign in to vote.
A selection of printing tips and tricks that can help make printing in an MFC application easier
26 Dec 2002   Updated: 26 Dec 2002   Rating: 4.61/5    Votes: 14   Popularity: 5.28
Licence: CPOL    Views: 175,630     Bookmarked: 38   Downloaded: 2,511
Please Sign up or sign in to vote.
Rich Edit controls are great until you want to print the output. Help is at hand
23 Apr 2002   Updated: 27 Apr 2002   Rating: 4.73/5    Votes: 13   Popularity: 5.11
Licence: CPOL    Views: 165,887     Bookmarked: 34   Downloaded: 5,190
Please Sign up or sign in to vote.
How to improve the standard MFC print preview options to allow preview from 1 to 9 pages at a time
4 Dec 2002   Updated: 26 Dec 2002   Rating: 4.74/5    Votes: 29   Popularity: 6.62
Licence: CPOL    Views: 276,665     Bookmarked: 53   Downloaded: 9,579
Please Sign up or sign in to vote.
An MFC extension library, so your dialogs can have easy print/print preview support.
3 Nov 2003   Updated: 3 Nov 2003   Rating: 4.95/5    Votes: 13   Popularity: 5.34
Licence: CPOL    Views: 68,824     Bookmarked: 20   Downloaded: 0
Please Sign up or sign in to vote.
CRgn objects need translating, to work correctly in print preview.
14 Jun 2005   Updated: 14 Jun 2005   Rating: 4.31/5    Votes: 4   Popularity: 2.60
Licence: CPOL    Views: 39,591     Bookmarked: 13   Downloaded: 0
Please Sign up or sign in to vote.
Context sensitive help does not work for a PropertySheet embedded within the page of another PropertySheet.
4 Mar 2003   Updated: 16 Mar 2003   Rating: 4.23/5    Votes: 14   Popularity: 4.71
Licence: CPOL    Views: 143,467     Bookmarked: 26   Downloaded: 2,974
Please Sign up or sign in to vote.
A base class that provides all the functions you need to print a CTreeCtrl
11 May 2004   Updated: 11 May 2004   Rating: 4.41/5    Votes: 7   Popularity: 3.73
Licence: CPOL    Views: 76,192     Bookmarked: 45   Downloaded: 1,615
Please Sign up or sign in to vote.
Continuation of the Plugin Architecture series
24 May 2004   Updated: 24 May 2004   Rating: 4.65/5    Votes: 9   Popularity: 4.44
Licence: CPOL    Views: 67,803     Bookmarked: 49   Downloaded: 1,798
Please Sign up or sign in to vote.
MFC Extension library : Enhanced print preview plug-in
8 Jun 2004   Updated: 8 Jun 2004   Rating: 4.66/5    Votes: 6   Popularity: 3.62
Licence: CPOL    Views: 51,113     Bookmarked: 37   Downloaded: 905
Please Sign up or sign in to vote.
Single instance Plug-In
2 Oct 2002   Updated: 8 Jun 2004   Rating: 4.85/5    Votes: 47   Popularity: 7.92
Licence: CPOL    Views: 578,071     Bookmarked: 238   Downloaded: 8,636
Please Sign up or sign in to vote.
A plug-in architecture which allows you to write plug-in DLLs for your application and extend/modify its functionality.
26 Jun 2002   Updated: 12 Aug 2002   Rating: 4.53/5    Votes: 16   Popularity: 5.33
Licence: CPOL    Views: 305,608     Bookmarked: 69   Downloaded: 3,472
Please Sign up or sign in to vote.
A Matrix class derived from CObject with serialization and operator overloading
17 Jul 2002   Updated: 25 Oct 2002   Rating: 4.76/5    Votes: 10   Popularity: 4.76
Licence: CPOL    Views: 122,645     Bookmarked: 29   Downloaded: 962
Please Sign up or sign in to vote.
Context sensitive help does not distinguish individual controls on a FormView. This sorts that problem
12 Mar 2002   Updated: 12 Mar 2002   Rating: 3.80/5    Votes: 2   Popularity: 1.14
Licence: CPOL    Views: 53,163     Bookmarked: 12   Downloaded: 564
Please Sign up or sign in to vote.
Repleacement AfxCore and AfxPrint RTF files for new projects
Programming Languages
C++
26 Jan 2005   Updated: 26 Jan 2005   Rating: 2.14/5    Votes: 4   Popularity: 1.29
Licence: CPOL    Views: 32,730     Bookmarked: 12   Downloaded: 0
Please Sign up or sign in to vote.
Playing a Metfile into a CPreviewDC in print preview can cause further drawing operations to not work correctly.

Average blogs rating:

No blogs have been submitted.

Average tips rating:

No tips have been posted.

Average reference rating:

No reference articles have been posted.

Average project rating:

No projects have been posted.
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.