473,394 Members | 1,739 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,394 software developers and data experts.

controling texturebrush?

I have a problem with texture brush:

In datagrid, I need to paint some fields with brushes.
Those painted with gradient or basic brushes are ok,
but when I set texture brush it does not cover a selected field with texture
(texture is 40x20,field is 40x20). I mean, it covers the field but not with
whole texture:
effect is as if texture is tilled on datagrid,and then portion where field
is is cut and applied to field. Thus, due to different headerrow width +
gridlines,textures on almost all fields do not start at 0,0 as I would want
it. I could paint images over datagrid,but it seems much slower (painting
rowheader already causes enough flickering that I will start to curse
Microsoft - couldn't they have enabled more properties for datagrid and what
is the use of modern graphic cards when
redrawing speed is same on GF4Ti and my laptop with 8mb of SiS integrated
gc).
Nov 15 '05 #1
1 1735
Thx Jay
Translating has solved the problem. Regarding other post of mine and your
answer: applying style does not extend to all run-time generated controls
(labels,textboxes and comboxes) - it has random effect on them.

Nov 15 '05 #2

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

1
by: James | last post by:
anyone know of a camera that can be controled with visual basic, i.e. zooming, shutter release, transfering picture to pc. -- 5khzgjf9e001@sneakemail.com
3
by: Oldbitcollector | last post by:
I'm a still new to visual basic, and I've hit a problem I can't find a workaround for. I'm attempting to open and close an Internet Explorer window using visual basic 6. I've got the open...
5
by: Cesar Andres Roldan Garcia | last post by:
Hi How can I control an ALU from a PC using Python? Thanks! Hola... Como puedo controlar la ALU de un PC usando Pyhton?
0
by: TeraNews | last post by:
I have a sample graph using GD::Graph::Lines, it's a simple X-Y line graph (www.bitmosphere.com/cgi-bin/graph.pl) I want to change the color of the graph border, and the tick lines (vertical and...
0
by: foos | last post by:
Hello, Hopefully someone here can help me. I'm not sure what I am doing wrong, but I am getting an Out Of Memory exception when I try to use a TextureBrush. I have simplified my code to...
1
by: Mohammed Abdel-Razzak | last post by:
Dear sirs I want you to give me link to some articles talking about controling the computer hardware from C#. But what I most need now: How can I open the CDRom from my C# application??? ...
2
by: CroDude | last post by:
Heya all! I have a weird problem when creating a texture brush in a Paint event. When program gets to the line where I'm creating a new TextureBrush object, it crashes with OutOfMemory...
5
by: David C. Allen | last post by:
I have a vb.net app that is controling excel 2000 thru the com interop interface. I have referenced the excel 9.0 library and have cut down the code in the problem subroutine to this: Dim...
0
by: Mitch | last post by:
Im trying to do a simple 3d project and I dont want to use dx or xna. Im using DrawPoly to draw my meshes, and trying to use FillPolygon and a texturebrush to fill the polys with a image. The image...
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.