Few Questions
-
Hello, I have few questions, 1. How to know whether scrollbars appeared in a list control at run time or not. 2. How to restrict user changing listview columns widths. 3. How to know whether a user has changed list view columns or not. How to keep track of changed list view columns. 4. How to know the names of all tcp and serial ports in a computer. Chito
-
Hello, I have few questions, 1. How to know whether scrollbars appeared in a list control at run time or not. 2. How to restrict user changing listview columns widths. 3. How to know whether a user has changed list view columns or not. How to keep track of changed list view columns. 4. How to know the names of all tcp and serial ports in a computer. Chito
chito wrote: 1. How to know whether scrollbars appeared in a list control at run time or not. You could figure out on your own how many items can appear in your list before the scroll bars apear and then in your App test if the amount of items has gone past the number you found. Of course this would only work if the listbox stayed the same size. "We will thrive in the new environment, leaping across space and time, everywhere and nowhere, like air or radiation, redundant, self-replicating, and always evolving." -unspecified individual
-
Hello, I have few questions, 1. How to know whether scrollbars appeared in a list control at run time or not. 2. How to restrict user changing listview columns widths. 3. How to know whether a user has changed list view columns or not. How to keep track of changed list view columns. 4. How to know the names of all tcp and serial ports in a computer. Chito
1. .VScroll returns true of false 2. and 3. : also you are probably not going to like it, the only way I can think of is to override the WndProc method and provide a handler for the WM_NOTIFY message (HDN_TRACK notification). Lookup MSDN for more info about this WIN32 header control notification.