Moving around on items in a ListView using CTRL-UP/DOWN normally displays a banded rectangle around the item. I can't figure out how to enable this in VB 2005.
Currently I only see the blue bounding box around items.
Whatever you do will be insignificant, but it is very important that you do...
VS dotnet 2003 :(
Whatever you do will be insignificant, but it is very important that you do it. (Mahatma Gandhi)
http://www.jeeval.nl
http://www.Logic-Q.nl
Property 'FocusedItem' is 'ReadOnly'
Whatever you do will be insignificant, but it is very important that you do it. (Mahatma Gandhi)
http://www.jeeval.nl
http://www.Logic-Q.nl
The selection anchor in a listview is not resetted when SelectedItems.Clear is called.
Place a ListView with a few items on a from. Next, set ListView.View = "Details". Add a button and add the folowing codePrivate Sub Button1_Click(ByVal sender As System.Object, ByVal e As System.EventArgs)...
He Thanks. This works within the same class.
However, I want to raise TextBox1_KeyDown event from a different class. I can make the event public but since it's an event I don't think its the proper way to do it.
Any suggestions here?
Whatever you do will be insignificant, but it is very...
I want to raise a keydown event from within a function. How do I do that?
Regards,
Hansa
Whatever you do will be insignificant, but it is very important that you do it. (Mahatma Gandhi)
http://www.jeeval.nl
http://www.Logic-Q.nl
Yep.. Commandline tools since they are so easy and flexible in use. Perhaps my UNIX background has something to with it and maybe that too has something to do with cleaning up my own stuff instead of letting the garbage collector decide (no offence Prattaratt) :)
Salem, from the VC++ forum had...
Now... Thats what I was looking for! Thank you verry much Salem.
Whatever you do will be insignificant, but it is very important that you do it.
(Mahatma Gandhi) http://www.jeeval.nl
Thanks Salem, that works for one case namely CTRL+C.
But what to do when pressing the X on the windows console?
Whatever you do will be insignificant, but it is very important that you do it.
(Mahatma Gandhi) http://www.jeeval.nl
I'm having memory leaks. I've posted my problem in the Builder forum but I think this also applies to MS VC++. Maybe someone here can have a look at it.
http://www.tek-tips.com/viewthread.cfm?qid=1313233&page=1
Tnx..
Whatever you do will be insignificant, but it is very important that you do...
Borlands documentation (ref: abort) says:If you call abort anywhere in a program, no destructors are called, not even for variables with a global scope.Somehow no exception is thrown when pressing CTRL+C and thus exception handlers do not apply.
So my thought was that CTR+C (or pressing the...
Ok. I did the folowing:
#include <stdlib.h>
void destruct_main(void)
{
delete clss;
}
main ()
{
MyClass *clss = new MyClass;
atexit(destruct_main);
//.. some code ..//
delete clss;
}Hitting CTR+C doesn't execute destruct_main.
The funny thing is that when I use MyClass in a local...
Please consider the folowing:
main ()
{
MyClass *clss = new MyClass;
//.. some code ..//
delete clss;
}When the programm runs and CTRL+C is pressed, clss is not deleted thus creating a leak.
How can I avoid this? I tried 'try' and 'catch' but that doesn't seem to work.
Whatever you do...
A long time ago I needed a component which was capable of adding columns and items in a listview. Then Lord Borland presented me the TListView component with which I could add columns and items as much as I liked. I could even add subitems and the world became a beautiful place.
I then got the...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.