473,586 Members | 2,817 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Text in owner drawn list disapear !

Hi all !

I created a control derived from the listBox to customize it and make it
multi column.
I use DrawString to draw the text and, i see it in Win2000 and WinXP, but, i
can't see it on a computer running Win98, I use attribute to pass the colora
as RGB values, and in the build method of the list, i convert it to Color by
using FromARGB method. I thought that it because the alphablend that not
supported in Win98, but the strange thing is that i pass also a Background
color and it appear !
i just see the backColor (or just white) and don't see the text, the item is
there, i see the highlight selection box and can click the item to fire the
click event. but still, no text !!

HELP !!!!!
its ACUTE !!

Thanks alot !
Yair
sm*******@walla .co.il
Nov 20 '05 #1
0 906

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

Similar topics

0
1800
by: James | last post by:
Is there a way to Owner drawn tray context menu ? - I know that there is a bug with the custom drawing of a context menu assigned to a tray icon - but I was hoping someone could advise me as to how to create one from scratch - I have tried using the current cursor position to pop up a context menu that is not assigned to a tray icon - but with...
1
2824
by: boxim | last post by:
hi all, i need to develop a control to show contact details for companies, in a similar fashion to the way outlook shows contacts. at the moment, i'm cheating using HTML fed from a web server, however i need to now make it use it's own control. what's the best way of doing this? tia
1
2085
by: Michael C | last post by:
Anyone know if there are some code samples out there of owner-drawn buttons? Specifically I'm trying to create .NET IDE style buttons for a form. Thanks, Michael C.
5
1231
by: SStory | last post by:
Would I be better off to just inherit the menu control and make my own owner drawn menu control. Had lots of experience with controls in VB5 and 6 but none so far in .NET You would think MS would have included icons for menus in the basic control. Everyone wants it. Do you all consider this to be a difficult task? Or should it be...
0
952
by: Steve Marshall | last post by:
Hi All, I'm working on an owner-drawn combo box which will display multiple columns in the list, either from a table in an associated DataSourse or from delimited strings in the Items collection. It's all going quite well, and was actually easier to achieve than I had expected. But I am seeing one peculiar anomaly when I make a selection...
0
1710
by: Staz003 | last post by:
Hey guys, So here i've got this treeview that i owner draw the text, mainly to put it over 2 lines and put some additionnal icons in there, my problem is the side scrolling. You see when you create a node and don't give it a text, it has a width of like, 7px, and what I draw is a lot wider than that, so i need a way to tell the node what...
4
2287
by: tasahmed | last post by:
Hello Friends, I wrote a function which scans the current working directory and lists out details such as directory/file owner, permission etc. The output of this script can be viewing in the monitor when I give the command print_r which is printed out in a array format. The problem I facing is I want this output in a text file, but I have...
1
9891
by: ashwath | last post by:
Hi, I am relatively new to Windows forms, i am using a listbox to show items in Compact Framework 2.0. I want to display something of this sort Name: John Email:j...@gmail.com Phone:9817239821 Sex:Male
5
1412
by: EvilProject | last post by:
Hi , Im working on an owner drawn context menu. I want to replace the regular submenu arrow with my own arrow,I went threw all the properties and overridable methods of menuitem and couldn't find a way to do that.Is it imposiable to make that arrow disapear so i could replace it ? thanks in advance.
0
7911
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, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main...
0
8338
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that...
1
7954
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 Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For...
0
8215
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the...
0
6610
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then...
1
5710
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes...
0
5390
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert...
0
3864
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
2345
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system

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.