When converting Image to 8bpp there are vertical lines in the resulting 8bpp Image. Why does this occur? ...
When converting Image to 8bpp there are vertical lines in the resulting 8bpp Image. Why does this occur? ...
C++ Win32Api GUI, I Am trying to display received screenshots on server from client. I am trying to create a Remote Desktop Viewer. Client is capturin ...
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 ...
I'm running into the problem that my rounded corners method returns non-uniform corners. Method: When invoke: Return: It is noticeable that ...
I am trying to create a rounded rectangle with an arrow that looks like this: I have tried it like this, but only draws a rounded rect, and I don't ...
I am trying to overlay an image on top of my screen with GDI+ and C++. I have successfully drawn an image to a non-transparent window, but I only want ...
First of all big thank you to the person who answered this question How to drag and move shapes in C# and this is all based off that. I'm only start ...
What I want to do is to create this rotating cone visual effect. I had previously used DirectX for that. What i have tried so far: Even if I'm cha ...
I have two methods, paintDoubleBuffered and paint. They are both supposed to draw this image on the screen: The image is made up of approximately 12 ...
I am trying to make a circular image by using the next: var bmp: TBitmap; Rgn: HRGN; R: TRect; ... R := Image1.ClientRect; bmp := TB ...
I am making an app that contains two rectangles. The first rectangle covers the entire screen and the second rectangle is only part of it. I need to e ...
I'm creating a custom control, derived from DataGridView. I want to have a search functionality which highlights the result of the search on the cell ...
The value of descent I get from System.Drawing.FontFamily.GetCellDescent for some fonts is different from values of I get when the font is read by oth ...
I've been writing a raycaster in C++ and to render stuff I use GDI/GDI+. I know that using WGDI to render graphics is not the best idea in the world a ...
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 ...
With each new version of Windows, native desktop applications are at the mercy of its changing visual styling. If the application wants to take contr ...
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 > ...
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 ...
Problem - I'm writing a program that draws graphics, and zooming is one of the features. Currently, a picturebox is placed on a panel, and the picture ...
Problem - when I didn't do the zooming, I could draw some graphics by getting the clicked position of the mouse. After I have zoomed with the mouse wh ...