Click here to Skip to main content
13,046,356 members (130,518 online)
Click here to Skip to main content
Add your own
alternative version


17 bookmarked
Posted 14 May 2003

Enhancement for the cool Minesweeper Memory Reader

, 14 May 2003
Rate this:
Please Sign up or sign in to vote.
This is a little enhancement so you can simply highlight the mines on minesweeper while you play.

Sample Image - minereader_enhanced.jpg


This is just a few enhancements to the frmMain.cs for the cool project located here. Simply download that project first, and replace the frmMain in the ProcessMemoryReaderLib\MineSweeperReader directory with this one.

The main purpose is to include a checkbox to make the form transparent, and instead of drawing the little mines, it highlights where the mines are red. The result is you can overlay the form directly on minesweeper and play the game while it shows you where the mines are, and you can still flag the mines by right-clicking as normal.

Another small enhancement was to include all the buttons on a Windows Forms Panel, so that when you re-read the minesweeper memory, it is not so slow to erase all of the previous buttons before redrawing.


If you accidentally click on the red border while trying to flag a mine (or any other time), it will bring the focus away from minesweeper and back to the application... just click on a transparent region again and you're on your way.

Also, if the transparency is not working correctly (i.e. - you see Lime, my transparent color of choice, or when you click, the app gets the click instead of minesweeper which should receive the click, while behind the transparent form), then you probably need to turn off 32-bit color and drop down to 24-bit or 16-bit (or 256 if you're getting tired of all this new-fangled color crap). This is from my experience, I don't know what causes the problem.


This article has no explicit license attached to it but may contain usage terms in the article text or the download files themselves. If in doubt please contact the author via the discussion board below.

A list of licenses authors might use can be found here


About the Author

Web Developer
United States United States
No Biography provided

You may also be interested in...

Comments and Discussions

Generalhai Pin
divyabhat30-Apr-08 18:32
memberdivyabhat30-Apr-08 18:32 
GeneralTransparency error fix [modified] Pin
vb_200517-Mar-07 19:12
membervb_200517-Mar-07 19:12 
GeneralWould like compiled version of this program Pin
brandenads7-Feb-05 19:04
memberbrandenads7-Feb-05 19:04 
GeneralRe: Would like compiled version of this program Pin
jasonee19-Aug-05 9:40
memberjasonee19-Aug-05 9:40 
I just thought I'd see if anyone had replied to this old article, don't know what made me think of it. Anyway, I could send you a compiled version if you still want it.

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.

Permalink | Advertise | Privacy | Terms of Use | Mobile
Web02 | 2.8.170713.1 | Last Updated 15 May 2003
Article Copyright 2003 by jasonee
Everything else Copyright © CodeProject, 1999-2017
Layout: fixed | fluid