Monthly Archives: November 2007

Disable and Enable MFC controls by name

I use this snippet all the time to disable/enable, hide/show, move MFC controls. // Enables and disables an MFC control by name void CCILikeChease::EnableControl( int iControl, bool enable ) { // Enable Control      CWnd* wnd_control = (CWnd*)( GetDlgItem( iControl ) );      if( wnd_control != NULL ) {           wnd_control->EnableWindow( enable ) ; [...]

How to make a facebook applcation.

We are going to build a simple facebook application to demonstrate how to use the Facebook API. Requirements: Basic knowledge of php A webserver running php5 that is open to the internet. A facebook account (sign up) Directions Add the developers application to your facebook account. Goto: http://www.facebook.com/developers/ and add the developers application to your [...]

Flower plug

The flower plug was designed to allow the user to know when the bath water was just the right temperature by changing color from a light pink to a beautiful deep purple color. Once the flower is purple, it is safe to enter the water without the fear of it being too hot. You probably [...]

APEX Holiday Subscription Drive

APEX (a sf/horror magazine) announced that they would increase there payment rates to 5 Cents a word (professional levels) if they got 500 new subscribers for November. So far they are at 71 new subscribers, thats pretty good since its only the 9th. they are also running this contest that if you blog about there [...]

Work Smarter, Not Harder

On Dec. 10, 1968, a uniformed man pulled over a bank car in Tokyo. He explained that police had received a warning that dynamite had been planted in the vehicle, which was transporting bonuses for local Toshiba employees. The four passengers got out and watched as the officer crawled underneath. After a moment he rolled [...]

Origami Masters Exhibition

Although historically considered a children’s pastime, origami has exploded in popularity and visibility in recent years. We are now in a Renaissance period in the history of the ancient art of paperfolding. Artists from around the world are embracing the medium, and new techniques are being constantly explored and created. This exhibition highlights some of [...]

MaBeGroMo Rules

One of my good friends are starting the NaNoWriMo today so far hes gotten 457 words in. Not being a writer or wanting to be one I am effectively disqualified from the compaction. So instead I am joining the MabeGroMo. MaBeGroMo Rules Rule 1: At some point between now and November 1, you take a [...]