cost 264 ms
GDI+ memory leak from screenshot

I have a program that takes a screenshot when a specific application's window title matches the title of that window I specify. I am hooking the mouse ...

2023-01-21 20:06:02   1   51    c++ / gdi+  
Soft edges Circular image

I am trying to make a circular image by using the next: var bmp: TBitmap; Rgn: HRGN; R: TRect; ... R := Image1.ClientRect; bmp := TB ...

How to subclass a gui control?

I'm trying to learn how to subclass a GUI control and 'modify' its hdc. This is my subclass callback: mygui.h mygui.cpp The problem is... when ...

How to create a HICON from base64?

I am converting a picture from a base64 string into an HICON that could work when registering a new class: WNDCLASSEX wc{}; wc.hIcon = < here > ...

Draw a smooth string

I'm trying to create a simple "Avatar" user control in WinForms that draws a string in the middle of the control. However, I can't figure out a way to ...


 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM