custom-draw Questions
2
I've read over 20 questions/answers but I still can't get what I want. I want to cut a circle inside a rectangle as seen below:
Here is my code:
@Override
protected void onDraw(Canvas canvas) {...
Tripod asked 5/4, 2015 at 14:17
8
Solved
Is there an easy way to have a selected TreeNode retain its SystemColors.Highlight BackColor while the TreeView doesn't have focus? Because even with HideSelection set to false, the selected BackCo...
Barnard asked 18/1, 2014 at 0:52
5
Solved
i need to implement the functionality of EM_SETCUEBANNER, where a text hint appears inside an Edit control:
The catch is that i cannot use version 6 of the Common Controls, which is what is requ...
Acro asked 23/12, 2009 at 21:56
2
I am wondering if there is a way to draw filled areas (like a filled polygon) with the Android Canvas without using the Path class and call canvas.drawPath(...).
The reason I want to do this witho...
Stocktaking asked 7/3, 2015 at 20:25
3
Solved
I want to intercept the QPaintEvent on a QSlider and draw it. But I can not find the details on the geometry of the thing. I can know the rect() of the whole widget but how can you tell the positio...
Rabies asked 5/8, 2013 at 10:18
1
Solved
I have a TTreeView in Delphi, with nodes at three levels.
I use node data to store another label besides the node text.
Type
TNodeData = class
ExtraNodeLabel: WideString;
//... other members
...
Quintuplet asked 5/7, 2013 at 12:14
2
Solved
Using Delphi 2010 and a TStringGrid component, I currently display five filds from a database query.
Here is a simplied example of what i am doing
//set up the grid
procedure TGriddata.FormCreat...
Moulding asked 23/10, 2012 at 13:56
5
When using custom-draw (NM_CUSTOMDRAW) to draw the entire contents of a ListView SubItem (in Report/Details view), it would be nice to be able to apply the same left and right
padding in my custom ...
Intestinal asked 9/9, 2008 at 2:6
1
© 2022 - 2025 — McMap. All rights reserved.