Re: Official name of File Folder Drop Down

Tech-Archive recommends: Fix windows errors by optimizing your registry



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 Dialog
Box
Look In: drop downs? Its not a regular drop down because it has Icons and
Text.

It's an owner-draw combo box and can have anything it wants to have. The
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 message
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:

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
Joseph M. Newcomer [MVP]
email: newcomer@xxxxxxxxxxxx
Web: http://www.flounder.com
MVP Tips: http://www.flounder.com/mvp_tips.htm

Joseph M. Newcomer [MVP]
email: newcomer@xxxxxxxxxxxx
Web: http://www.flounder.com
MVP Tips: http://www.flounder.com/mvp_tips.htm


.



Relevant Pages

  • Re: Official name of File Folder Drop Down
    ... Its not a regular drop down because it has Icons and Text. ... applies to custom-draw elements of a tree control or list control, ... Pixels are just pixels and the programmer who has control of the pixels is free to put ...
    (microsoft.public.vc.mfc)
  • Re: Multiple MDI Child Icons and Control Boxes Why??
    ... messing up the display of control boxes and icons. ... One thing that I have gleaned from other posts here on the subject of MDI is ... When people refer to tabbed forms do the mean a sdi form with a tab control ... >>> opens a new instance of the form: ...
    (microsoft.public.dotnet.languages.vb)
  • Re: extracticon api using vba (in Word or Excel)
    ... I took a look at enumchildwindows ... The tips you gave are certainly useful, because at least I know now WHAT api ... > to get the caption of the control or using SendMessagewith some of the ... > What you also have think about is the redrawing the Icons. ...
    (microsoft.public.word.vba.general)
  • [opensuse] Second Try: Redesign of YaST Control Center
    ... After reading so many dozens of utterly off-topic posts in the first thread I ... what could be improved in various individual YaST modules. ... The YaST Control Center ... There are too many icons in there - way more that can easily be navigated. ...
    (SuSE)
  • Re: extracticon api using vba (in Word or Excel)
    ... I would suggest you get the handle to the Window and use it in a call ... to get the caption of the control or using SendMessagewith some of the ... What you also have think about is the redrawing the Icons. ... By pasting in the two extra api ...
    (microsoft.public.word.vba.general)