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:

  1. Normal buton (Button01)
  2. İcon'dan oluşan buton (Button02)
  3. Owner drawn resimli buton (Button03)
  4. Owner drawn resimsiz buton (Button04)
  5. Subclass ve WM_PAINT yöntemi oluşturulan buton (Button05)
  6. Sadece Bitmap'den oluşan buton (Button06)
  7. Custom draw buton (Button07)
  8. WM_CTLCOLORBTN ile oluşturulan buton (Button08)
Detaylar