Igor Tandetnik | 1 Mar 17:42 2004

Re: TreeView in Dialogs - Focus problem

"geraldolmr" <geraldol@...> wrote in
message news:c1rf7f+humn@...
> When I use a TreeView in a Dialog and press the mouse button on an
> item (and keep it pressed), the selection changes to the item, but
> the focus (the square around the item) doesn't change until I release
> the button. This behavior doesn't appear if the TreeView is created
> on a Window (like CMainFrame). Anyone has noticed this behavior ?

I see the same behavior in Explorer, in Folder tree. Come to think of
it, this makes sense. You may want to start dragging, rather than
switching focus. In this situation, switching focus and changing the
content of the right pane is not a good idea - you may have wanted to
drag into the folder currently displayed in said right pane.
--

-- 
With best wishes,
    Igor Tandetnik

"For every complex problem, there is a solution that is simple, neat,
and wrong." H.L. Mencken

 
Yahoo! Groups Links

<*> To visit your group on the web, go to:
     http://groups.yahoo.com/group/wtl/

<*> To unsubscribe from this group, send an email to:
     wtl-unsubscribe@...

<*> Your use of Yahoo! Groups is subject to:
(Continue reading)

Menningen, Kevin | 1 Mar 18:05 2004

CCommandBarCtrl menu underlining won't turn on

Hi everyone,

A couple of issues with menu underlining:

1. It used to work that if you press the Alt key the menu underlining would
appear while Alt was pressed. Does anyone know what you're supposed to do
with CCommandBarCtrl to turn on menu underlining while the Alt key is
pressed down? It's related to member variable m_bShowKeyboardCues and
m_bUseKeyboardCues somehow...

2. Office 2003 seems to underline menu letters always now. Does anyone know
if this is what Microsoft recommends now? i.e. was hiding the underlined
characters just an "experiment" in Windows 2000 that Microsoft is now
getting away from. Clearly if we're always supposed to underline then I
don't have to worry about #1 above.

Thanks in advance,

--Kevin

------------------------ Yahoo! Groups Sponsor ---------------------~-->
Buy Ink Cartridges or Refill Kits for your HP, Epson, Canon or Lexmark
Printer at MyInks.com. Free s/h on orders $50 or more to the US & Canada.
http://www.c1tracking.com/l.asp?cid=5511
http://us.click.yahoo.com/mOAaAA/3exGAA/qnsNAA/saFolB/TM
---------------------------------------------------------------------~->

 
Yahoo! Groups Links

(Continue reading)

Pete Vidler | 1 Mar 18:13 2004

Re: CCommandBarCtrl menu underlining won't turn on

> 2. Office 2003 seems to underline menu letters always now. Does anyone know
> if this is what Microsoft recommends now? i.e. was hiding the underlined
> characters just an "experiment" in Windows 2000 that Microsoft is now
> getting away from. Clearly if we're always supposed to underline then I
> don't have to worry about #1 above.

A good guideline is to always follow the operating system. Office 
changes its interface far too often and with too little need to bother 
keeping up with.

I don't know about your other issue, to be honest I don't tend to notice 
the underlining much... but isn't it a user setting (whether or not to 
show underlines all the time)?

-- Pete

 
Yahoo! Groups Links

<*> To visit your group on the web, go to:
     http://groups.yahoo.com/group/wtl/

<*> To unsubscribe from this group, send an email to:
     wtl-unsubscribe@...

<*> Your use of Yahoo! Groups is subject to:
     http://docs.yahoo.com/info/terms/

Menningen, Kevin | 1 Mar 19:18 2004

RE: CCommandBarCtrl menu underlining won't turn on

Yes it is a user setting, but I'm trying to get the proper messages to
CCommandBarCtrl so that it respects the setting. Standard apps will show the
underlines as soon as the Alt key is pressed.

--Kevin

-----Original Message-----
From: Pete Vidler [mailto:pvidler-WTLGroup4331@...] 
Sent: Monday, March 01, 2004 11:14 AM
To: wtl@...
Subject: Re: [wtl] CCommandBarCtrl menu underlining won't turn on

> 2. Office 2003 seems to underline menu letters always now. Does anyone
know
> if this is what Microsoft recommends now? i.e. was hiding the underlined
> characters just an "experiment" in Windows 2000 that Microsoft is now
> getting away from. Clearly if we're always supposed to underline then I
> don't have to worry about #1 above.

A good guideline is to always follow the operating system. Office 
changes its interface far too often and with too little need to bother 
keeping up with.

I don't know about your other issue, to be honest I don't tend to notice 
the underlining much... but isn't it a user setting (whether or not to 
show underlines all the time)?

-- Pete

 
(Continue reading)

Mark Schmidt | 1 Mar 21:06 2004

RE: Re: XP Theme Issues

Well, I'm still seeing a black drop down list in the area not covered by the
strings.  I was able to get rid of it, but lose all reflected notifications.
Here's what I did to get rid of it.  Maybe it'll spark some insight in
someone.

In my outer label control, my message map normally looks like:

BEGIN_MSG_MAP( CLUIControlLabel )
    REFLECT_NOTIFICATIONS()
END_MSG_MAP()

My inner combobox child's message map appears as so:
BEGIN_MSG_MAP( CLUIComboBox )
	COMMAND_CODE_HANDLER( CBN_SELCHANGE, OnSelChanged )
	COMMAND_CODE_HANDLER( CBN_DROPDOWN, OnDropDown)
      MESSAGE_HANDLER( WM_SHOWWINDOW, OnShowComboBox )
      DEFAULT_REFLECTION_HANDLER()
END_MSG_MAP()

Now, if I remove the REFLECT_NOTIFICATIONS macro from the 1st message map
above, the comboboxes drop down list paints correctly and looks fine.
However, since my static label is used as the parent of a lot of different
control types, I lose the notification reflection.  Anyone know why removing
it would cause the combobox to finally paint fine?  Is there something I can
do that would keep the REFLECT_NOTIFICATIONS macro in the outer control
while still allowing the combobox to paint correctly?

-Mark

________________________________
(Continue reading)

Roger Headrick | 1 Mar 21:14 2004
Picon

Re: CCommandBarCtrl menu underlining won't turn on

--- In wtl@..., "Menningen, Kevin" <kmenningen <at> n...> 
wrote:
> Hi everyone,
> 
> A couple of issues with menu underlining:
> 
> 1. It used to work that if you press the Alt key the menu 
underlining would
> appear while Alt was pressed. Does anyone know what you're 
supposed to do
> with CCommandBarCtrl to turn on menu underlining while the Alt key 
is
> pressed down? It's related to member variable m_bShowKeyboardCues 
and
> m_bUseKeyboardCues somehow...

You shouldn't have to do anything.  The CCommandBarCtrl is supposed 
to act just like a standard menu would act given your system's 
current settings.  Either the menu char is always underlined or its 
underlined when VK_MENU is pressed.

If you want to force menu char underlining always, I believe setting 
m_bUseKeyboardCues to false and calling ShowKeyboardCues(true) will 
do it. This will have to be done after WM_CREATE and after each 
WM_SETTINGCHANGE received by the command bar. 

> 
> 2. Office 2003 seems to underline menu letters always now. Does 
anyone know
> if this is what Microsoft recommends now? i.e. was hiding the 
(Continue reading)

Roger Headrick | 1 Mar 21:50 2004
Picon

Re: XP Theme Issues

--- In wtl@..., "Mark Schmidt" <mark <at> c...> wrote:
> Well, I'm still seeing a black drop down list in the area not 
covered by the
> strings.  I was able to get rid of it, but lose all reflected 
notifications.
> Here's what I did to get rid of it.  Maybe it'll spark some 
insight in
> someone.
>  
> In my outer label control, my message map normally looks like:
>  
> BEGIN_MSG_MAP( CLUIControlLabel )
>     REFLECT_NOTIFICATIONS()
> END_MSG_MAP()
> 
> My inner combobox child's message map appears as so:
> BEGIN_MSG_MAP( CLUIComboBox )
> 	COMMAND_CODE_HANDLER( CBN_SELCHANGE, OnSelChanged )
> 	COMMAND_CODE_HANDLER( CBN_DROPDOWN, OnDropDown)
>       MESSAGE_HANDLER( WM_SHOWWINDOW, OnShowComboBox )
>       DEFAULT_REFLECTION_HANDLER()
> END_MSG_MAP()
> 
> Now, if I remove the REFLECT_NOTIFICATIONS macro from the 1st 
message map
> above, the comboboxes drop down list paints correctly and looks 
fine.
> However, since my static label is used as the parent of a lot of 
different
> control types, I lose the notification reflection.  Anyone know 
(Continue reading)

Mark Schmidt | 1 Mar 22:05 2004

RE: Re: XP Theme Issues

Roger!  You da man!  That did the trick.  I've been pulling my hair out over
this for way too long.  Your explanation makes sense too.  Now I can close
this stinking defect.

-Mark

  _____  

From: Roger Headrick [mailto:lilsroro@...] 
Sent: Monday, March 01, 2004 12:51 PM
To: wtl@...
Subject: [wtl] Re: XP Theme Issues

--- In wtl@..., "Mark Schmidt" <mark <at> c...> wrote:
> Well, I'm still seeing a black drop down list in the area not 
covered by the
> strings.  I was able to get rid of it, but lose all reflected 
notifications.
> Here's what I did to get rid of it.  Maybe it'll spark some 
insight in
> someone.
>  
> In my outer label control, my message map normally looks like:
>  
> BEGIN_MSG_MAP( CLUIControlLabel )
>     REFLECT_NOTIFICATIONS()
> END_MSG_MAP()
> 
> My inner combobox child's message map appears as so:
> BEGIN_MSG_MAP( CLUIComboBox )
(Continue reading)

Vitaliy Shittz | 1 Mar 22:02 2004
Picon

Re: full-screen client area

Hello.

>Hi,
>My client area is 640x480, the same as screen resolution.
>I want client area to be full screen.
>However, there is always a gap of about 16 pixels between the bottom 
>of window and bottom of display.
>Any hint ?
>  
>
You can try my  CFullScreenFrameWindow class:

#ifndef __conr_FullScreenFrameWindow_h__
#define __conr_FullScreenFrameWindow_h__

#pragma once

/////////////////////////////////////////////////////////////////////////////// 

// My full screen mode support.
//
// Written by Vitaliy Shittz (vit@...)
// Copyright (c) 2002 Vitaliy Shittz.
//
// It's FREE for noncommercial use.
/////////////////////////////////////////////////////////////////////////////// 

#include <Windows.h>

namespace CL {
(Continue reading)

Mark Schmidt | 1 Mar 23:12 2004

RE: Re: XP Theme Issues

Roger and/or others,

Suppose you don't happen to also know why the text for checkboxes are
displayed with a gray background rather than the theme background?

-Mark 

________________________________

From: Mark Schmidt [mailto:mark@...] 
Sent: Monday, March 01, 2004 1:06 PM
To: wtl@...
Subject: RE: [wtl] Re: XP Theme Issues

Roger!  You da man!  That did the trick.  I've been pulling my hair out over
this for way too long.  Your explanation makes sense too.  Now I can close
this stinking defect.

-Mark

  _____  

From: Roger Headrick [mailto:lilsroro@...] 
Sent: Monday, March 01, 2004 12:51 PM
To: wtl@...
Subject: [wtl] Re: XP Theme Issues

--- In wtl@..., "Mark Schmidt" <mark <at> c...> wrote:
> Well, I'm still seeing a black drop down list in the area not 
covered by the
(Continue reading)


Gmane