comp.os.mswindows.programmer.win32
  Home FAQ Contact Sign in
comp.os.mswindows.programmer.win32 only
 
Advanced search
February 2008
motuwethfrsasuw
    123 5
45678910 6
11121314151617 7
18192021222324 8
2526272829   9
2008
 Jan   Feb   Mar   Apr 
 May   Jun   Jul   Aug 
 Sep   Oct   Nov   Dec 
2008 2007    
total
comp.os ... win32 Profile…
RELATED GROUPS

POPULAR GROUPS

more...

 Up
  namespace and standard file dialogs         


Author: Sylvain
Date: Feb 24, 2008 19:25

Hi,

I'm working on a shell extension providing a tailored namespace.
I'd like this namespace to be listed in the standard get / save file
dialogs (GetOpenFileName(&OPENFILENAME)).
but so far I didn't success to do so.

do only disk drivers can appear in these dialogs or do I miss to
implement an interface ?

thanks for any tip.
Sylvain.
2 Comments
  Disabling/enabling top-level menus         


Author: Bob Masta
Date: Feb 24, 2008 06:40

OK, I do know how to disable and enable top-level menus, using
EnableMenuItem. They really are disabled or enabled as I request.
The problem is in getting Windows to *show* them that way. What
happens is that there is no visible change until the mouse moves over
that item, then it is shown properly grayed or enabled.

I'm not sure, but this may be happening because I am changing
the menu enable states from a pop-up dialog, when the main window
doesn't have the focus, so all the top-level menu items appear gray
anyway at the time of the EnableMenuItem call.

So far, my only work-around is to toggle the Hilite state of the item
on and back off via back-to-back HiliteMenuItem calls every time I
use EnableMenuItem. Works fine, but seems pretty kludgey!

Anyone know the proper way to do this?

Many thanks!

Bob Masta
Show full article (1.02Kb)
2 Comments
  Is there an easy way to hide listview text labels in LVS_ICON mode?         


Author: diandaolly
Date: Feb 24, 2008 04:47

Hi all,

In LVS_ICON mode for my listview control, and I'd like to hide the
text labels for all items.

I already known the following methods:

1) Using CustomDraw;
2) On handling LVN_GETDISPINFO : set item text to empty string.

But these methods seem more of a hack than a solution.

Is there an easy and "descent" way to do this? Thanks a lot.
4 Comments