WinAPI'de İcon, Bitmap, Owner drawn, Subclass, Custom draw ve WM_CTLCOLORBTN yöntemleri ile buton oluşturma
WinAPI tabanlı programlarda bir çok yöntemle oluşturduğumuz butonlar kullanabiliriz. Icon, bitmap, owner drawn, subclass, custom draw ve WM_CTLCOLORBTN yöntemleri ile buton oluşturabiliriz.
Program içinde yer alacak olan buton adları ve oluşturulma yöntemleri aşağıdaki şekilde olacaktır:
- Normal buton (Button01)
- İcon'dan oluşan buton (Button02)
- Owner drawn resimli buton (Button03)
- Owner drawn resimsiz buton (Button04)
- Subclass ve WM_PAINT yöntemi oluşturulan buton (Button05)
- Sadece Bitmap'den oluşan buton (Button06)
- Custom draw buton (Button07)
- WM_CTLCOLORBTN ile oluşturulan buton (Button08)