Click here to Skip to main content

Articles by Mukit, Ataul (Articles: 14, Technical Blogs: 7, Tip/Tricks: 42)

Articles: 14, Technical Blogs: 7, Tip/Tricks: 42

RSS Feed

Average article rating: 4.82

Document / View
Doc/View
Posted: 22 Jul 2010   Updated: 22 Jul 2010   Views: 27,826   Rating: 4.93/5    Votes: 13   Popularity: 5.50
Licence: The Code Project Open License (CPOL)      Bookmarked: 32   Downloaded: 2,394
Create a tabbed view interface in an MFC based Doc View application.
Grid & Data Controls
General
Posted: 18 Aug 2010   Updated: 27 Aug 2010   Views: 50,099   Rating: 4.96/5    Votes: 26   Popularity: 7.02
Licence: The Code Project Open License (CPOL)      Bookmarked: 52   Downloaded: 3,179
Chris Maunder's CGridCtrl had been modified to accomodate merged cells and freezed panes, now it has the cool feature of Horizontal Smooth Scrolling and Composite Cell (to show a minigrid inside a single cell)
Grid controls
Posted: 5 Jul 2010   Updated: 18 Aug 2010   Views: 36,165   Rating: 4.86/5    Votes: 24   Popularity: 6.70
Licence: The Code Project Open License (CPOL)      Bookmarked: 51   Downloaded: 3,373
Add XL style merge cell as well as Freeze Pane (freeze row/col) functionality to Chris Maunder's CGridCtrl.
Posted: 9 Nov 2010   Updated: 10 Nov 2010   Views: 45,092   Rating: 4.89/5    Votes: 16   Popularity: 5.89
Licence: The Code Project Open License (CPOL)      Bookmarked: 65   Downloaded: 3,728
Chris Maunder's grid control enhanced to have tree like features
Miscellaneous
General
Posted: 3 Jan 2012   Updated: 3 Jan 2012   Views: 10,433   Rating: 4.78/5    Votes: 5   Popularity: 3.31
Licence: The Code Project Open License (CPOL)      Bookmarked: 12   Downloaded: 641
Customize the standard slider control to appear like an Adobe style slider control
Toolbars & Docking windows
Toolbars
Posted: 29 Jun 2010   Updated: 29 Jun 2010   Views: 16,791   Rating: 4.93/5    Votes: 11   Popularity: 5.13
Licence: The Code Project Open License (CPOL)      Bookmarked: 17   Downloaded: 642
Create a very basic Microsoft WORD 2007 style semi-transparent Minibar with tooltip like behaviour
General Graphics
Bitmaps
Posted: 5 Aug 2010   Updated: 5 Aug 2010   Views: 25,493   Rating: 4.69/5    Votes: 20   Popularity: 6.09
Licence: The Code Project Open License (CPOL)      Bookmarked: 47   Downloaded: 3,672
See how easy it is to load JPEG, GIF, BMP, and PNG images with MFC and process bitmap data to determine if the image is a text image/scanned document or a regular picture.
Posted: 9 Aug 2010   Updated: 9 Aug 2010   Views: 37,618   Rating: 4.92/5    Votes: 42   Popularity: 7.98
Licence: The Code Project Open License (CPOL)      Bookmarked: 50   Downloaded: 1,278
Display a bitmap and control its transparency in the caption of a window, as well as custom draw the caption in the Aero theme of Windows 7/Vista.
Posted: 24 Aug 2010   Updated: 13 Feb 2013   Views: 81,985   Rating: 4.98/5    Votes: 37   Popularity: 7.81
Licence: The Code Project Open License (CPOL)      Bookmarked: 117   Downloaded: 8,577
Deskew an image by converting it to grayscale + edges and rotating by the detected skew angle.
C / C++ Language
General
Posted: 4 Oct 2010   Updated: 11 Oct 2010   Views: 34,614   Rating: 4.69/5    Votes: 32   Popularity: 7.04
Licence: The Code Project Open License (CPOL)      Bookmarked: 26   Downloaded: 169
An alternate way to implement interface through aggregation rather than the usual way we know as inheritence
XML
General
Posted: 16 Aug 2010   Updated: 16 Aug 2010   Views: 25,852   Rating: 4.82/5    Votes: 13   Popularity: 5.35
Licence: The Code Project Open License (CPOL)      Bookmarked: 28   Downloaded: 2,377
A very generic XML parser whose internal implementation can be changed without affecting the rest of the source code.
COM / COM+
Beginners
Posted: 16 Jun 2011   Updated: 21 Jun 2011   Views: 20,570   Rating: 4.62/5    Votes: 21   Popularity: 6.12
Licence: The Code Project Open License (CPOL)      Bookmarked: 21   Downloaded: 768
A solution to the problem of PreTranslateMessage not being called for modeless dialogs inside COM/Active-X. It also addresses the problem of Arrow and Tab keys not working inside COM/ActiveX
Algorithms & Recipes
Math
Posted: 19 Aug 2010   Updated: 22 Aug 2010   Views: 8,813   Rating: 4.76/5    Votes: 10   Popularity: 4.75
Licence: The MIT License      Bookmarked: 11   Downloaded: 105
iberg's muParser supports mainly value_type (double); now it's been modified to support arg_type (longest possible data structure).
Design and Architecture
Design Patterns
Posted: 8 Feb 2011   Updated: 8 Feb 2011   Views: 13,370   Rating: 4.68/5    Votes: 16   Popularity: 5.62
Licence: The Code Project Open License (CPOL)      Bookmarked: 33   Downloaded: 276
A practical example of command pattern applied in a database application

Average blogs rating: 4.46

HTML / CSS
HTML
Posted: 21 Feb 2013   Updated: 22 Feb 2013   Views: 5,579   Rating: 4.00/5    Votes: 4   Popularity: 2.21
Licence: The Code Project Open License (CPOL)      Bookmarked: 0   Downloaded: 0
Initially, I set off to write quite a big post about how I want my version of HTML to be, offering more simplicity and capability by having a few tags included in the already existing version.Then I realized, there is no need to write an elongated post, it is possible
Audio and Video
Video
Posted: 9 Feb 2014   Updated: 9 Feb 2014   Views: 4,346   Rating: 5.00/5    Votes: 1   Popularity: 0.00
Licence: The Code Project Open License (CPOL)      Bookmarked: 4   Downloaded: 0
WebRTC based Event Video Broadcasting to connect with 1000 people without the need of any server-Well I have been thinking about a video broadcasting system where we won't need any Media Server. I believe the idea is - A captures the live video/audio event. When B comes to a certain chat-room and co
Internet / Network
Peer to Peer
Posted: 27 Mar 2013   Updated: 27 Mar 2013   Views: 6,400   Rating: 5.00/5    Votes: 4   Popularity: 3.01
Licence: The Code Project Open License (CPOL)      Bookmarked: 4   Downloaded: 0
Why let Skype go unchallenged for years and years? Maybe some of you can come up with better algorithms to top Skype and provide better alternatives to the user.
Design and Architecture
General
Posted: 11 Feb 2013   Updated: 11 Feb 2013   Views: 2,204   Rating: 4.50/5    Votes: 2   Popularity: 1.40
Licence: The Code Project Open License (CPOL)      Bookmarked: 2   Downloaded: 0
This blog is actually a reply to a tweet which asked "What's an example of a programming problem, in your perspective".
Posted: 16 Feb 2013   Updated: 21 Feb 2013   Views: 8,084   Rating: 3.25/5    Votes: 4   Popularity: 1.69
Licence: The Code Project Open License (CPOL)      Bookmarked: 3   Downloaded: 0
Over the years, now almost a decade with bits and bytes (at an abstract level), I have had to come to terms with some (not many) strange programming language constructs in a variety of programming languages. On second thought, not so much the constructs, rather some of
Work Issues
General
Posted: 25 Apr 2013   Updated: 2 May 2013   Views: 4,502   Rating: 5.00/5    Votes: 2   Popularity: 1.51
Licence: The Code Project Open License (CPOL)      Bookmarked: 6   Downloaded: 0
How to do your project estimations!
Pro Developer
Posted: 11 Mar 2013   Updated: 11 Mar 2013   Views: 2,516   Rating: 4.50/5    Votes: 5   Popularity: 3.36
Licence: The Code Project Open License (CPOL)      Bookmarked: 3   Downloaded: 0
My thougths are devoted to those problems which require considerable amount of mental effort to be solved where the developer, for a few hours or so, is not in the realm of normal day to day mental activities.

Average tips rating: 4.51

Dialogs and Windows
General
Posted: 13 May 2012   Updated: 13 May 2012   Views: 3,730   Rating: 5.00/5    Votes: 1   Popularity: 0.00
Licence: The Code Project Open License (CPOL)      Bookmarked: 5   Downloaded: 0
how to make sure background is not painted in C#
Document / View
General
Posted: 6 May 2012   Updated: 6 May 2012   Views: 4,080   Rating: 5.00/5    Votes: 1   Popularity: 0.00
Licence: The Code Project Open License (CPOL)      Bookmarked: 1   Downloaded: 0
Implement document view architecture in C#
Grid & Data Controls
General
Posted: 5 Mar 2012   Updated: 5 Mar 2012   Views: 4,241   Rating: 5.00/5    Votes: 1   Popularity: 0.00
Licence: The Code Project Open License (CPOL)      Bookmarked: 1   Downloaded: 0
This tip shows a very fast algorithm (with some constraints enforced for it to work) to EnsureVisible a row in CGridCtrl by Chris Maunder
Caching
General
Posted: 2 May 2013   Updated: 2 May 2013   Views: 2,558   Rating: 5.00/5    Votes: 2   Popularity: 1.51
Licence: The Code Project Open License (CPOL)      Bookmarked: 0   Downloaded: 0
User Controls
General
Posted: 18 Apr 2012   Updated: 18 Apr 2012   Views: 5,144   Rating: 5.00/5    Votes: 1   Popularity: 0.00
Licence: The Code Project Open License (CPOL)      Bookmarked: 0   Downloaded: 0
How to use wxWidgets in FireBreath
Audio and Video
General
Posted: 20 May 2011   Updated: 22 May 2011   Views: 6,076   Rating: 5.00/5    Votes: 2   Popularity: 1.51
Licence: The Code Project Open License (CPOL)      Bookmarked: 0   Downloaded: 0
Adjust Audio/Video Synchronization of an AVI file
Posted: 31 Jan 2011   Updated: 22 May 2011   Views: 7,324   Rating: 5.00/5    Votes: 3   Popularity: 2.39
Licence: The Code Project Open License (CPOL)      Bookmarked: 0   Downloaded: 0
Why sometimes AVI files captured through video camera recording cannot be opened when the camera loses power (similar case for downloaded AVI when internet goes off) and how to solve it
General Graphics
General
Posted: 15 Mar 2012   Updated: 24 Mar 2012   Views: 10,465   Rating: 3.59/5    Votes: 3   Popularity: 1.71
Licence: The Code Project Open License (CPOL)      Bookmarked: 3   Downloaded: 0
This tip shows how to save a 24 bitmap to a file given filename, pixel data, bitmap width and bitmap height
C / C++ Language
General
Posted: 19 Mar 2012   Updated: 19 Mar 2012   Views: 7,452   Rating: 5.00/5    Votes: 1   Popularity: 0.00
Licence: The Code Project Open License (CPOL)      Bookmarked: 1   Downloaded: 0
This tip tells you how to solve the Invalid Address specified to RtlFreeHeap issue
Posted: 19 Mar 2012   Updated: 19 Mar 2012   Views: 3,576   Rating: 5.00/5    Votes: 1   Popularity: 0.00
Licence: The Code Project Open License (CPOL)      Bookmarked: 2   Downloaded: 0
sometimes console applications give runtime error when you declare static varialbes, so here is a solution how to deal with it
Posted: 15 Jul 2012   Updated: 15 Jul 2012   Views: 6,953   Rating: 1.00/5    Votes: 2   Popularity: 0.30
Licence: The Code Project Open License (CPOL)      Bookmarked: 2   Downloaded: 0
invoke method pointer elegantly
Memory Management
Posted: 10 Mar 2012   Updated: 10 Mar 2012   Views: 3,418   Rating: 5.00/5    Votes: 1   Popularity: 0.00
Licence: The Code Project Open License (CPOL)      Bookmarked: 4   Downloaded: 0
How to minimize the possibility of data corruption when exporting a class
C#
How To
Posted: 29 May 2012   Updated: 29 May 2012   Views: 15,037   Rating: 5.00/5    Votes: 3   Popularity: 2.39
Licence: The Code Project Open License (CPOL)      Bookmarked: 10   Downloaded: 0
This tip shows how to pass a delegate to a C++ exported DLL function from C#
MFC
General
Posted: 22 May 2012   Updated: 25 Apr 2013   Views: 14,058   Rating: 4.89/5    Votes: 2   Popularity: 1.51
Licence: The Code Project Open License (CPOL)      Bookmarked: 1   Downloaded: 0
This tip tells you what to do when you are faced with the RC2135 problem in the resource file.
MFC/ATL for VC++ 7
Posted: 5 Mar 2012   Updated: 5 Mar 2012   Views: 15,271   Rating: 5.00/5    Votes: 2   Popularity: 1.51
Licence: The Code Project Open License (CPOL)      Bookmarked: 0   Downloaded: 0
Bugs & Workarounds
General
Posted: 2 Sep 2011   Updated: 2 Sep 2011   Views: 21,517   Rating: 4.50/5    Votes: 6   Popularity: 3.45
Licence: The Code Project Open License (CPOL)      Bookmarked: 1   Downloaded: 0
Solve the CVT1100 error.
Internet / Network
General
Posted: 21 Dec 2011   Updated: 21 Dec 2011   Views: 6,043   Rating: 1.50/5    Votes: 2   Popularity: 0.30
Licence: The Code Project Open License (CPOL)      Bookmarked: 1   Downloaded: 0
An MSDN article about cloud computing in MSDN
Posted: 13 Oct 2013   Updated: 13 Oct 2013   Views: 3,314   Rating: 0.0 / 5    Votes: 0   Popularity: 0.0
Licence: The Code Project Open License (CPOL)      Bookmarked: 2   Downloaded: 0
This tip gives you a solution to verify whether an rtmp stream URL is working or not!
How To
Posted: 13 Oct 2013   Updated: 13 Oct 2013   Views: 6,569   Rating: 0.0 / 5    Votes: 0   Popularity: 0.0
Licence: The Code Project Open License (CPOL)      Bookmarked: 1   Downloaded: 0
If you are looking to play a live streaming video (flv) file through an rtmp server, then you have come to the right place
Programming Tips
General
Posted: 4 Jan 2011   Updated: 5 Jan 2011   Views: 5,581   Rating: 3.67/5    Votes: 3   Popularity: 1.43
Licence: The Code Project Open License (CPOL)      Bookmarked: 3   Downloaded: 0
This tip is about creating a cursor from an icon
Posted: 11 Jan 2011   Updated: 15 Jan 2011   Views: 3,611   Rating: 2.60/5    Votes: 5   Popularity: 1.40
Licence: The Code Project Open License (CPOL)      Bookmarked: 4   Downloaded: 0
This tip shows how to create a service
Posted: 23 Jan 2011   Updated: 23 Jan 2011   Views: 10,865   Rating: 5.00/5    Votes: 3   Popularity: 2.39
Licence: The Code Project Open License (CPOL)      Bookmarked: 2   Downloaded: 0
A useful algorithm to divide a rectangular area into rectangular subregions. Good for tiling windows in a given area
Posted: 25 Jan 2011   Updated: 25 Jan 2011   Views: 14,033   Rating: 5.00/5    Votes: 4   Popularity: 3.01
Licence: The Code Project Open License (CPOL)      Bookmarked: 7   Downloaded: 0
Create a bitmap from an array of pixels
Posted: 1 Feb 2011   Updated: 2 Feb 2011   Views: 9,089   Rating: 4.80/5    Votes: 5   Popularity: 3.32
Licence: The Code Project Open License (CPOL)      Bookmarked: 3   Downloaded: 0
This tip shows the technique of loading a 256 color bitmap into an image list
Posted: 13 Feb 2011   Updated: 14 Feb 2011   Views: 6,032   Rating: 4.50/5    Votes: 4   Popularity: 2.61
Licence: The Code Project Open License (CPOL)      Bookmarked: 1   Downloaded: 0
This tip shows how to prevent Subversion (a version/source control tool) from doing automatic merges
Posted: 13 Feb 2011   Updated: 22 Feb 2011   Views: 20,257   Rating: 3.73/5    Votes: 15   Popularity: 4.70
Licence: The Code Project Open License (CPOL)      Bookmarked: 7   Downloaded: 0
This tip shows how to simulate a key stroke in windows environment
Posted: 10 Apr 2011   Updated: 19 Apr 2011   Views: 6,102   Rating: 4.86/5    Votes: 7   Popularity: 4.08
Licence: The Code Project Open License (CPOL)      Bookmarked: 2   Downloaded: 0
SledgeHammer didn't help, so I had to do it myself... here it is again - a super fast improved algorithm compared to the previous one and with no setpixel and getpixel :)void AlphaBlend(CDC* pDC, int xDest, int yDest, int nDestWidth, int nDestHeight, CDC* pSrcDC, int xSrc, int ySrc, BYTE...
Posted: 4 Apr 2011   Updated: 19 Apr 2011   Views: 16,704   Rating: 3.06/5    Votes: 17   Popularity: 3.61
Licence: The Code Project Open License (CPOL)      Bookmarked: 18   Downloaded: 0
A simple implementation of alpha blending technique displaying the basic mechanism behind it
Posted: 6 Jun 2011   Updated: 13 Jun 2011   Views: 7,558   Rating: 5.00/5    Votes: 5   Popularity: 3.49
Licence: The Code Project Open License (CPOL)      Bookmarked: 2   Downloaded: 0
Addresses the issue of opening a view in maximized mode the proper way in MFC.
Posted: 21 Jun 2011   Updated: 25 Jun 2011   Views: 7,352   Rating: 5.00/5    Votes: 3   Popularity: 2.39
Licence: The Code Project Open License (CPOL)      Bookmarked: 2   Downloaded: 0
Link to How to implement a resizable property sheet class that contains a menu bar in Visual C++ 6.0
Posted: 26 Jun 2011   Updated: 26 Jun 2011   Views: 13,398   Rating: 5.00/5    Votes: 4   Popularity: 3.01
Licence: The Code Project Open License (CPOL)      Bookmarked: 5   Downloaded: 0
This tip shows you how to create a delegate from a C++ function pointer
Posted: 27 Jun 2011   Updated: 29 Jun 2011   Views: 11,849   Rating: 4.83/5    Votes: 6   Popularity: 3.89
Licence: The Code Project Open License (CPOL)      Bookmarked: 1   Downloaded: 0
Shows how to view the current library link order in a VC project
Posted: 29 Jun 2011   Updated: 29 Jun 2011   Views: 23,751   Rating: 5.00/5    Votes: 2   Popularity: 1.51
Licence: The Code Project Open License (CPOL)      Bookmarked: 2   Downloaded: 0
This tip shows you how to pass a const char* or const wchar_t* as a template argument
Posted: 6 Jul 2011   Updated: 6 Jul 2011   Views: 4,844   Rating: 5.00/5    Votes: 2   Popularity: 1.51
Licence: The Code Project Open License (CPOL)      Bookmarked: 1   Downloaded: 0
Shows how to enable invoking of the OnUpdateCmdUI(...) in a dialog or property sheet when a menu bar item is pulled down to show popup menu
Posted: 6 Jul 2011   Updated: 6 Jul 2011   Views: 6,116   Rating: 5.00/5    Votes: 2   Popularity: 1.51
Licence: The Code Project Open License (CPOL)      Bookmarked: 0   Downloaded: 0
This tip, taken from MSDN tells the basic of ownership in windows.
Posted: 20 Jul 2011   Updated: 20 Jul 2011   Views: 7,018   Rating: 5.00/5    Votes: 1   Popularity: 0.00
Licence: The Code Project Open License (CPOL)      Bookmarked: 1   Downloaded: 0
this tip tells about a tool that converts a win32 rc file to XML
Posted: 13 Feb 2011   Updated: 31 Aug 2011   Views: 34,249   Rating: 3.33/5    Votes: 6   Popularity: 2.33
Licence: The Code Project Open License (CPOL)      Bookmarked: 5   Downloaded: 0
Calculate running total or cumulative sum from a table in a SQL Server database.
Posted: 13 Sep 2011   Updated: 15 Sep 2011   Views: 7,376   Rating: 5.00/5    Votes: 1   Popularity: 0.00
Licence: The Code Project Open License (CPOL)      Bookmarked: 1   Downloaded: 0
This is not so much of a trick, just a little tip about how CTRL+I is interpretated in a window
Posted: 12 Sep 2011   Updated: 15 Sep 2011   Views: 8,872   Rating: 5.00/5    Votes: 1   Popularity: 0.00
Licence: The Code Project Open License (CPOL)      Bookmarked: 1   Downloaded: 0
This tip shows you how to convert the dimension values in the .rc file of a dialog into pixels
Posted: 29 Nov 2011   Updated: 25 Dec 2011   Views: 21,317   Rating: 4.67/5    Votes: 3   Popularity: 2.15
Licence: The Code Project Open License (CPOL)      Bookmarked: 4   Downloaded: 0
This not so useful tip tells you how to declare a reference for a two dimensional array without needing to use typecasting.
Posted: 5 Feb 2012   Updated: 6 Feb 2012   Views: 7,235   Rating: 4.80/5    Votes: 2   Popularity: 1.51
Licence: The Code Project Open License (CPOL)      Bookmarked: 0   Downloaded: 0
Given a device context, replace a color (clrColorReplace) in a rectangular region of the device context with another color (clrColorFill)
Posted: 19 Feb 2012   Updated: 19 Feb 2012   Views: 12,598   Rating: 5.00/5    Votes: 6   Popularity: 3.89
Licence: The Code Project Open License (CPOL)      Bookmarked: 4   Downloaded: 0
This article shows the use of mutex's with explanations (Copied from MSDN - may prove convenient for some)
No reference articles have been posted.

Mukit, Ataul
Chief Technology Officer Rational Technologies
Bangladesh Bangladesh
You don't learn patterns, you just code it.
Follow on   Twitter


Advertise | Privacy | Mobile
Web02 | 2.8.140814.1 | Last Updated 21 Aug 2014
Copyright © CodeProject, 1999-2014
All Rights Reserved. Terms of Service
Layout: fixed | fluid