Re: Official name of File Folder Drop Down
- From: "Peter Olcott" <NoSpam@xxxxxxxxxxxxx>
- Date: Fri, 12 Jan 2007 19:55:36 -0600
Okay thanks.
"Joseph M. Newcomer" <newcomer@xxxxxxxxxxxx> wrote in message
news:updgq2tq1a4olb6v5pk4ndv9mlt0guv7m0@xxxxxxxxxx
On Fri, 12 Jan 2007 16:47:45 -0600, "Peter Olcott" <NoSpam@xxxxxxxxxxxxx>
wrote:
So then what is the control that is currently used in all of the File DialogIt's an owner-draw combo box and can have anything it wants to have. The
Box
Look In: drop downs? Its not a regular drop down because it has Icons and
Text.
icons and text
are simply drawn by the WM_DRAWITEM (or in MFC, OnDrawItem) handler. I did
something like
this years ago in a network management system, where double-clicking an
element would
expand it to multiple lines, where the multiple lines were actually part of
the same
listbox item. That is, the user saw
-----------------------------------------------------------------
[+] [icon] [icon] [timestamp] Message here
-----------------------------------------------------------------
[+] [icon][icon] [timestamp] Another message here
----------------------------------------------------------------
went to the display OF THE SAME ITEM
-----------------------------------------------------------------
[-] [icon] [icon] [timestamp] Messare here
[icon] Example of subitem1
[icon] Example of subitem2
-----------------------------------------------------------------
[+] [icon][icon] [timestamp] Another message here
----------------------------------------------------------------
I did this in Win16 in 1993 or so. It was really easy.
An owner-draw combo box or listbox can show anything it wants, at any time,
for any reason
that strikes the fancy of the programmer who wrote the DrawItem handler. This
also
applies to custom-draw elements of a tree control or list control, the
contents of a
static control, icons on tab controls, icons and text in header controls,
etc., etc.
Pixels are just pixels and the programmer who has control of the pixels is
free to put
down any pixels he or she feels like.
joe
"Joseph M. Newcomer" <newcomer@xxxxxxxxxxxx> wrote in messageJoseph M. Newcomer [MVP]
news:jvpfq21qhng08l8ics87g57s8ks9psn1b9@xxxxxxxxxx
DlgDirList is an API call. It was used in Win16. Its output sucks; you can
always tell
an amateur by seeing that they used this API. It gives you a good
calibration
on the
quality you can expect from the program. Modern programmers haven't seen it
because it
essentially is dead and has been dead since the common controls were created
over a decade
ago.
joe
On 12 Jan 2007 11:18:40 -0800, "Ajay Kalra" <ajaykalra@xxxxxxxxx> wrote:
Joseph M. Newcomer [MVP]I may be confused about which control we're talking about. I was
thinking
about the one at the top of the screen that displays the folder tree for
the
"Look in" information. I think this control in Explorer is one of the
reasons
they created control that is fronted by MFC CComboBoxEx. I thought Peter
was
looking for the type of control. It's also used in Explorer to show
addresses
and histor.
Tom
Yes and it seems to be called DlgDirList.
How did you get this? Whats so official about it? I dont think its one
of the controls in Comctl DLL.
---
Ajay
email: newcomer@xxxxxxxxxxxx
Web: http://www.flounder.com
MVP Tips: http://www.flounder.com/mvp_tips.htm
email: newcomer@xxxxxxxxxxxx
Web: http://www.flounder.com
MVP Tips: http://www.flounder.com/mvp_tips.htm
.
- References:
- Official name of File Folder Drop Down
- From: Peter Olcott
- Re: Official name of File Folder Drop Down
- From: Tom Serface
- Re: Official name of File Folder Drop Down
- From: Peter Olcott
- Re: Official name of File Folder Drop Down
- From: Joseph M . Newcomer
- Re: Official name of File Folder Drop Down
- From: Tom Serface
- Re: Official name of File Folder Drop Down
- From: Peter Olcott
- Re: Official name of File Folder Drop Down
- From: Ajay Kalra
- Re: Official name of File Folder Drop Down
- From: Peter Olcott
- Re: Official name of File Folder Drop Down
- From: Joseph M . Newcomer
- Official name of File Folder Drop Down
- Prev by Date: Re: ::GetMessage blocking/racing in CWinThread w/CSplitterWnd
- Next by Date: Re: GetGlyphOutline API
- Previous by thread: Re: Official name of File Folder Drop Down
- Next by thread: Problem importing a type library
- Index(es):
Relevant Pages
|