maybe I can actually, but I'll have to add it to my program since I need it to log the user action (I make it with simple hook on the anti viruses applications)
Can you point me to such 'nice' virus? thanks
Strange, my Avira complains loud about it. I gonna check it....
Virus or unwanted program 'TR/Crypt.ZPACK.Gen2 [trojan]' with latest Avira signature.
The software itself is no virus, but triggers their generic self extractor pattern.
I am working on dialog in which data is populated after selecting some type of symbols and in this data the two columns are having null values ,and this is my condition.If two columns are having null value than that row which contains this null valued columns will not be display.for this i had added the submenu item .
If you continue to repost this same question you will continue to get the same answer.
E don't see what's on your screen, we don't know what's in your mind, we don't know what your data are.
Hence we cannot answer you.
Let me give you an analysis on your question, tust to let you figure out why we're messed up.
I am working on dialog
OK. That's a well defined concept ...
in which data is populated ...
HIC... Dialog don't host data. They host controls. Some control may host data ... or better "representation of data". The subject of the post is ctrllist ... may be he's using MFC CListCtrl ?? Or just working on WIN32 raw API with a LISTCONTROL ? Or just using a CListBox, or working directly on a LISTBOX ? What the environment he is in?
... after selecting some type of symbols ...
Uhmm some types of symbols ... How is this relevant ?!?
...and in this data the two columns are having null values
Columns? So you have colums! What do they represent?
What are the data? Strings? Pointer to some structures?
What is a "null value" respect to the data you're talking about?
If two columns are having null value than that row which contains this null valued columns will not be display
In general terms, if the control does not contain your original data but just representation ... don't insert null values.
If they are already inserted, iterate the items, check the null condition ad remove them. The documentation of the control you are using should describe a function to add or remove an item.
It the words in italic are meaningless to you ... your problem is not the ctrllist, but programming in general.
i had added a check uncheck option in my dialog and i want when i check that option then new list will generated and that list will not contain blank column i.e if the two columns are not having values than that row will not appear in the list .
This answer pretty much applies to your previous question too.
With all these sorts of things, there's one important step you must do:
BREAK YOUR PROBLEM INTO SMALL PIECES.
Work out what you know now, and what you need to learn.
Can you respond to a message. Can you add a handler for the check button being pressed. Or a menu item being used.
Are you talking about creating a list box, or a list control (yes, Microsoft messed up by using two very similar names)
Do you really mean creating a new one, or just refilling an already existing control.
Where is this data coming from? Do you know how to get it now?
Can you add just one item per line, with no sub items.
Can you write a loop going through the data you're adding, and seeing which columns you will need to use in your control?
Can you add / remove columns from a list control?
As you can see, I've written a whole lot of smaller questions. Each one is almost as long as your original question. But they are a lot easier to answer, and learn. If you are struggling with them, struggle a bit more, then come back to us. Some questions (about your own data) will not be possible for us to answer without psychic powers. And I left mine at home this morning.
I wish you every success,
I am one of "those foreigners coming over here and stealing our jobs". Yay me!
Actually i want to retrieve "id" attribute's value from the source page [Right click on a Webpage->Select 'View Source'].For example - 'id' of PasswordBox . Right now i able to retieve the values of
attributes like- 'type','name','image'.But i unable to retieve value of 'id'.
I'm using VC++ .Please any one help me out in this regard soon
sir i have a project in which i have to delete the row before deleting i have to add a submenu item .After checking the two column values if both the column is blank than i have to delete that row pls help me
.After checking the two column values if both the column is blank than i have to delete that row pls help me
I am totally lost in your specification, can you please let me know in step you want to achieve
"Opinions are neither right nor wrong. I cannot change your opinion. I can, however, change what influences your opinion." - David Crow Never mind - my own stupidity is the source of every "problem" - Mixture