Click here to Skip to main content
15,354,545 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: 84,550     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: 92,992     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: 111,922     Bookmarked: 79   Downloaded: 6,934
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: 187,927     Bookmarked: 158   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: 313,684     Bookmarked: 149   Downloaded: 3,109
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.77/5    Votes: 27   Popularity: 6.74
Licence: CPOL    Views: 162,133     Bookmarked: 80   Downloaded: 3,559
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.74/5    Votes: 16   Popularity: 5.27
Licence: CPOL    Views: 171,592     Bookmarked: 37   Downloaded: 3,461
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: 82,650     Bookmarked: 17   Downloaded: 1,343
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.84/5    Votes: 20   Popularity: 6.19
Licence: CPOL    Views: 231,022     Bookmarked: 48   Downloaded: 4,013
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: 123,344     Bookmarked: 26   Downloaded: 2,360
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: 217,875     Bookmarked: 42   Downloaded: 2,182
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: 261,214     Bookmarked: 105   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: 168,605     Bookmarked: 38   Downloaded: 2,469
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: 159,232     Bookmarked: 34   Downloaded: 5,134
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: 262,876     Bookmarked: 54   Downloaded: 9,332
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: 12   Popularity: 5.15
Licence: CPOL    Views: 66,294     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: 38,871     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: 137,644     Bookmarked: 26   Downloaded: 2,922
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: 73,781     Bookmarked: 45   Downloaded: 1,578
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: 65,741     Bookmarked: 49   Downloaded: 1,782
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: 49,653     Bookmarked: 37   Downloaded: 892
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: 547,473     Bookmarked: 238   Downloaded: 8,445
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: 289,344     Bookmarked: 69   Downloaded: 3,465
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: 118,345     Bookmarked: 29   Downloaded: 954
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: 52,381     Bookmarked: 12   Downloaded: 563
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,120     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.
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.