2010年10月29日

Curiously recurring template pattern

唔,其實是這篇 wiki 的摘要...

CRTP 指的是有個 class 繼承以它自己為 template 引數的 base

2010年10月28日

U++ / funny example

reference:
    AttrText - apply text format in drop down list
    Display - apply font style drop down list
    CaptureScreenDll - making dll
    Event - log all mouse / keyboard events
    OpenGL - OpenGL
    CoWork - thread control display
    Reports - QTF report
    TrayIcon - tray icon

example:
    Box2DExample - draw objects and actions with them....with simple physical engine |||
    UWord - wordpad

2010年10月27日

Windows COM Object

最近莫名其妙都在跟 COM 打交道...
還是紀錄一下的好,微軟的東西都是一大坨亂七八糟的,
每次不要一個禮拜我就會忘記它在幹嘛.....-_-

code project 上面的教學,有點簡略不過名詞什麼的解釋算清楚:
Introduction to COM - What It Is and How to Use It.

這邊有一系列介紹 COM 相關的基礎知識和應用的文章,寫的相當仔細:
杨老师 个人专栏

讓我度濫 COM 的理由之一就是這個 IDL...
MSDN - Interface Definition (IDL) File
MSDN - MIDL Language Reference
Using COM Objects in IDL


IE BHO......嗯,不是很好玩
MSDN - Browser Helper Objects: The Browser the Way You Want It
Code Project - Popup Window Blocker

IE bar, band...希望我不要有需要寫這個的一天....
MSDN - Creating Custom Explorer Bars, Tool Bands, and Desk Bands

2010年10月26日

邪惡的 windows headers

想起來前陣子被婊的事情....

2010年10月25日

GDI+

http://tech.ddvip.com/2008-09/122095148662296_3.html
http://www.codeproject.com/KB/graphics/gditutorial.aspx
http://www.codeproject.com/KB/graphics/transbitmapmask.aspx

color matrix:
http://blog.csdn.net/sky04/archive/2008/12/22/3584046.aspx

c++ reference

firefox treetab 一直當掉,機車-.-

2010年10月22日

測試一下 syntax highlight

以後應該會要貼很多 code ....
試試看