Click here to Skip to main content
16,011,436 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: Off the top of your head... Pin
Joaquín M López Muñoz2-Jan-03 11:47
Joaquín M López Muñoz2-Jan-03 11:47 
GeneralMouse Position Pin
progman2-Jan-03 9:58
progman2-Jan-03 9:58 
GeneralRe: Mouse Position Pin
Shog92-Jan-03 10:00
sitebuilderShog92-Jan-03 10:00 
GeneralList view control with tab stops Pin
2-Jan-03 9:47
suss2-Jan-03 9:47 
GeneralRe: List view control with tab stops Pin
Shog92-Jan-03 9:59
sitebuilderShog92-Jan-03 9:59 
GeneralRe: List view control with tab stops Pin
2-Jan-03 10:58
suss2-Jan-03 10:58 
GeneralRe: List view control with tab stops Pin
Shog92-Jan-03 11:31
sitebuilderShog92-Jan-03 11:31 
GeneralRe: List view control with tab stops Pin
Brian Tietz2-Jan-03 11:52
Brian Tietz2-Jan-03 11:52 
I don't even need the columns per se. I need a column effect to lend readability to the packet display without details. But I need to cross multiple columns for the detail lines. That would suggest that the list box control with LBS_USETABSTOPS is the way to go. Problem is there could potentially be way too much content. I wanted to take advantage of the explicitly intended virtual property of the list view control and the ease-of-use of the API to add an icon to the heading lines (better visual cues for each packet to further enhance readability). But if it ties my hands in terms of the columns and won't do tabs (I was intending to use the list view control with a single column and tabs to provide alignment) then I may be out of luck and have to go with an owner-draw list box. I didn't want to have to go that far in the interest of time. If I could forget the icons and go with a list box instead of list view control, I still need the "virtual" property. Looking at the documentation, it sounds like I need the LBS_OWNERDRAWFIXED property. Unless it's there under layers of documentation silt, I don't see anything about being able to leave off the LBS_HASSTRINGS property, but also not use the LBS_OWNERDRAWFIXED property, let the list box take care of the rendering and I provide the strings on demand by a callback as with a virtual list view control. Is that possible? The documentation would suggest not: "By default, all list boxes except owner-drawn list boxes have this style. You can create an owner-drawn list box either with or without this style."
GeneralRe: List view control with tab stops Pin
Shog92-Jan-03 12:01
sitebuilderShog92-Jan-03 12:01 
GeneralRe: List view control with tab stops Pin
Brian Tietz2-Jan-03 12:23
Brian Tietz2-Jan-03 12:23 
GeneralRe: List view control with tab stops Pin
Shog92-Jan-03 16:02
sitebuilderShog92-Jan-03 16:02 
GeneralTools for internationalization Pin
Anonymous2-Jan-03 9:28
Anonymous2-Jan-03 9:28 
GeneralRe: Tools for internationalization Pin
Chris Richardson2-Jan-03 20:59
Chris Richardson2-Jan-03 20:59 
GeneralATL and Active X problem Pin
act_x2-Jan-03 9:07
act_x2-Jan-03 9:07 
GeneralCObject or CStatic Pin
raner2-Jan-03 8:44
raner2-Jan-03 8:44 
GeneralRe: CObject or CStatic Pin
Pavel Klocek2-Jan-03 10:49
Pavel Klocek2-Jan-03 10:49 
GeneralRe: CObject or CStatic Pin
raner2-Jan-03 16:26
raner2-Jan-03 16:26 
GeneralLinker Error Pin
Ryan B.2-Jan-03 8:39
Ryan B.2-Jan-03 8:39 
GeneralRe: Linker Error Pin
RobJones2-Jan-03 8:44
RobJones2-Jan-03 8:44 
GeneralRe: Linker Error Pin
Tim Smith2-Jan-03 8:45
Tim Smith2-Jan-03 8:45 
GeneralRe: Linker Error Pin
Ryan B.2-Jan-03 8:51
Ryan B.2-Jan-03 8:51 
GeneralMaking the background of a window invisible... Pin
Joan M2-Jan-03 8:13
professionalJoan M2-Jan-03 8:13 
GeneralRe: Making the background of a window invisible... Pin
Joaquín M López Muñoz2-Jan-03 11:50
Joaquín M López Muñoz2-Jan-03 11:50 
GeneralSplitter + CRichEditView problem... Pin
RobJones2-Jan-03 7:22
RobJones2-Jan-03 7:22 
GeneralProblem with DateTimePicker Pin
Mazdak2-Jan-03 7:18
Mazdak2-Jan-03 7:18 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.