Scoots
2009-10-22 18:35:41 UTC
Hi all,
I'm trying to draw something very precisely. In fact, I'm emulating a
device and I need to draw bitmaps very, very precisely. By which I
mean, pixels. Now, given that the device has buttons, I'd like to,
say, have a bitmap button, etc. I know the size I want (100x28
pixels), I know how big my dialog box is, etc.
But the Windows Forms designer (vs2008 pro) won't let me do anything
in pixels. There's no text, so I don't need to worry about the system
font, so why am I forced into DLU's? Is there anyway to operate in
pixels?
Or should I just do this programatically?
If I haven't been clear, many pardons. Ask away!
~Scoots
I'm trying to draw something very precisely. In fact, I'm emulating a
device and I need to draw bitmaps very, very precisely. By which I
mean, pixels. Now, given that the device has buttons, I'd like to,
say, have a bitmap button, etc. I know the size I want (100x28
pixels), I know how big my dialog box is, etc.
But the Windows Forms designer (vs2008 pro) won't let me do anything
in pixels. There's no text, so I don't need to worry about the system
font, so why am I forced into DLU's? Is there anyway to operate in
pixels?
Or should I just do this programatically?
If I haven't been clear, many pardons. Ask away!
~Scoots