How could I create a control that looks like this one:
I just want that small end. Thanks
How could I create a control that looks like this one:
I just want that small end. Thanks
In your WndProc handle the WM_PAINT message. The easiest way using GDI is to have a ready to use image in your resources to load and drow on the window's DC. Little bit more complicated is to use GDI+, where you can draw rounded corners using Path object and gradient background using LinearGradientBrush.
If that's a Windows ComboBox control with a visual style applied to it, you can render its themed button wherever you like using DrawThemeBackground()
and CP_DROPDOWNBUTTON
.