Tuesday, 24 November 2009

How to determine what graphics card I have on my computer?

Step 1:

Step 2:

Step 3:

Step 4:

Sunday, 8 November 2009

C# Re-enable Borderless Form Startbar Menu and Minimize behaviour

Re-enable the default Start bar right-click Menu and default left-click minimize and maximize behaviour for a windows borderless form.

Add this anywhere to the code of the form:


protected override CreateParams CreateParams
CreateParams cp = base.CreateParams;
//cp.Style |= 0x80000; // Turn on WS_SYSMENU - just SYSMENU
cp.Style |= 0xA0000; // Turn on WS_SYSMENU and Minimize !!!
return cp;

According to developerfusion.com/tools/convert/csharp-to-vb below is the equivalent VB, although I haven't tested that yet.

Protected Overloads Overrides ReadOnly Property CreateParams() As CreateParams
Dim cp As CreateParams = MyBase.CreateParams
'cp.Style = cp.Style Or &H80000 - Turn on WS_SYSMENU - just SYSMENU
cp.Style = cp.Style Or &Ha0000
' Turn on WS_SYSMENU and Minimize !!!
Return cp
End Get
End Property

Some of my sources for working this out were as follows: (I wrote this up here because nowhere I could find laid it out clearly and straightforwardly... I had to spend a half out go through 10 different docs before I hit on the above and discovered it worked.)




itags - this appears to be a copy of a b-board discussion, but it does not provide a link back to the original discussion. It refers to links and stuff inside the discussion which are not there... which didn't help, however it did give me another number to try out!

Friday, 6 November 2009

Pattie Maes and Pranav Mistry demo SixthSense

Link to another talk from TED about Sixth Sense etc.

SixthSense is a wearable device with a projector and webcam that can interpret our hand gestures as we move around in our real world, and thus is able to provide real-time up to date and relevant information regarding whatever is in front of us right now.

SixthSense paves the way for profound interaction with our environment. Think "Minority Report" and then times by 100.

If you haven't seen this, watch the video.

I promise you will thank me.