Richard B. | 2 May 01:49 2009
Picon

Confused about WTL CMessageLoop....

In CMessageLoop::IsIdleMessage(), why do WM_MOUSEMOVE, WM_NCMOUSEMOVE,
WM_PAINT, and WM_SYSTIMER not cause idle processing ?

-- 
Best regards,
Richard B.

------------------------------------

Yahoo! Groups Links

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

<*> Your email settings:
    Individual Email | Traditional

<*> To change settings online go to:
    http://groups.yahoo.com/group/wtl/join
    (Yahoo! ID required)

<*> To change settings via email:
    mailto:wtl-digest@... 
    mailto:wtl-fullfeatured@...

<*> 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/
(Continue reading)

numinel | 4 May 09:31 2009

App Wizard CE fails

All of a sudden the App Wizard for CE stopped working on my developer machine (running Windows Vista will all
updates from Windows Update site + Visual Studio 2005 SP 1).

As a test I used a test machine with a fresh installation of Windows XP with all updates from Windows Update site.
I installed Visual Studio 2005 (no service pack) and also installed a Windows CE 5.0 Standard SDK and
Windows Mobile 5.0 SDK.

If I start the ATL/WTL Mobile Application Wizard it just beeps and returns to the `New Project' page. No
errors, it just doesn't work.

If I start the ATL/WTL App Wizard for Windows CE the first page will show but as soon as I click `Next' or
directly on the `Platforms' link I get the following error.

Line: 536
Char: 3
Error: Object doesn't support this property of method
Code: 0
URL: file:///C:/WTL80_7161_Final/AppWizCe/files/HTML/1033/Platforms.htm

Since this error occurs on both my developer machine and the fresh installed test machine I suspect this is
caused by some of the later updates from Windows Update site.

Can anyone help me with this problem?

------------------------------------

Yahoo! Groups Links

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

Richard B. | 4 May 23:21 2009
Picon

How to get XP style themed splitter bar ?

I've been looking at Mike Dunn's CodeProject WTL Splitter Windows
article (Part VII), and have been trying to replicate the look of the
last window on the right under the section "Effects of
WS_EX_CLIENTEDGE" (and just above the "Message routing" section).

Unfortunately, while other window elements are themed (eg. status bar,
window resize grabber on bottom right of window), the splitter itself
is not. I have tried various combinations of WS_EX_CLIENTEDGE on the
different window, as explained in his article with no luck. The best I
can do is create the splitters shown in the screenshots on the left of
the page.

I used the WTL wizard to create a basic window without a view. I then
followed his instructions and created a vertical splitter window, and
put a rich edit control in each pane.

Any ideas on how to get the splitter window themed ?

--

-- 
Best regards,
Richard B.

------------------------------------

Yahoo! Groups Links

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

<*> Your email settings:
(Continue reading)

domehead100 | 5 May 00:01 2009
Picon

Re: How to get XP style themed splitter bar ?

--- In wtl@..., "Richard B." <dj_deipotent <at> ...> wrote:
>
> I've been looking at Mike Dunn's CodeProject WTL Splitter Windows
> article (Part VII), and have been trying to replicate the look of the
> last window on the right under the section "Effects of
> WS_EX_CLIENTEDGE" (and just above the "Message routing" section).
> 
> Unfortunately, while other window elements are themed (eg. status bar,
> window resize grabber on bottom right of window), the splitter itself
> is not. I have tried various combinations of WS_EX_CLIENTEDGE on the
> different window, as explained in his article with no luck. The best I
> can do is create the splitters shown in the screenshots on the left of
> the page.
> 
> I used the WTL wizard to create a basic window without a view. I then
> followed his instructions and created a vertical splitter window, and
> put a rich edit control in each pane.
> 
> Any ideas on how to get the splitter window themed ?
> 
> -- 
> Best regards,
> Richard B.
>

Hi Richard,

The problem is that the RichEdit Control itself is not theme aware as far as I understand it.

You might find this interesting:
(Continue reading)

Richard B. | 5 May 00:28 2009
Picon

Re: Re: How to get XP style themed splitter bar ?

Hi Mike,

> The problem is that the RichEdit Control itself is not theme aware as far as I understand it.

> You might find this interesting:

> http://www.codeguru.com/cpp/w-p/win32/tutorials/article.php/c8729

Thanks for the info. I wasn't aware RichEdit is not theme aware.

However, that is not the problem, as even if I create two views which
are just plain windows derived from CWindowImpl, the splitter is still
not themed.

I have created a test project with sample screenshots showing what I
see (in case there is something funny with my system) and what I'm
after (taken from the CP article).

http://rapidshare.com/files/229223585/WTL_Splitter_Not_Themed.zip

--

-- 
Best regards,
Richard B.

Monday, May 4, 2009, 11:01:53 PM, you wrote:

> --- In wtl@..., "Richard B." <dj_deipotent <at> ...> wrote:
>>
>> I've been looking at Mike Dunn's CodeProject WTL Splitter Windows
>> article (Part VII), and have been trying to replicate the look of the
(Continue reading)

domehead100 | 5 May 01:17 2009
Picon

Re: How to get XP style themed splitter bar ?

--- In wtl@..., "Richard B." <dj_deipotent <at> ...> wrote:
>
> Hi Mike,
> 
> 
> > The problem is that the RichEdit Control itself is not theme aware as far as I understand it.
> 
> > You might find this interesting:
> 
> > http://www.codeguru.com/cpp/w-p/win32/tutorials/article.php/c8729
> 
> Thanks for the info. I wasn't aware RichEdit is not theme aware.
> 
> However, that is not the problem, as even if I create two views which
> are just plain windows derived from CWindowImpl, the splitter is still
> not themed.
> 
> I have created a test project with sample screenshots showing what I
> see (in case there is something funny with my system) and what I'm
> after (taken from the CP article).
> 
> http://rapidshare.com/files/229223585/WTL_Splitter_Not_Themed.zip
> 
> -- 
> Best regards,
> Richard B.
> 
> 
> Monday, May 4, 2009, 11:01:53 PM, you wrote:
> 
(Continue reading)

Richard B. | 5 May 01:39 2009
Picon

Re: Re: How to get XP style themed splitter bar ?

> Um, doesn't look like your CTesterView has theme support either,
> just being based on a generic CWindow. What if you derive it from
> some built-in control?

Thanks Mike. After using two listviews I got the desired effect.

For some reason, I was thinking every window would be themed
automatically. Now I know better. :)

BTW, regarding my other recent post about the message loop and idle
processing ("Confused about WTL CMessageLoop....") - do you know why
WM_MOUSEMOVE, WM_NCMOUSEMOVE, WM_PAINT, and WM_SYSTIMER do not cause
idle processing ?

--

-- 
Best regards,
Richard B.

Tuesday, May 5, 2009, 12:17:53 AM, you wrote:

> --- In wtl@..., "Richard B." <dj_deipotent <at> ...> wrote:
>>
>> Hi Mike,
>> 
>> 
>> > The problem is that the RichEdit Control itself is not theme aware as far as I understand it.
>> 
>> > You might find this interesting:
>> 
>> > http://www.codeguru.com/cpp/w-p/win32/tutorials/article.php/c8729
(Continue reading)

Nikos Bozinis | 5 May 11:09 2009
Picon

Re: Confused about WTL CMessageLoop....

--- In wtl@..., "Richard B." <dj_deipotent <at> ...> wrote:
>
> In CMessageLoop::IsIdleMessage(), why do WM_MOUSEMOVE, WM_NCMOUSEMOVE,
> WM_PAINT, and WM_SYSTIMER not cause idle processing ?
> 

because there are too many of them and then your program would waste too much CPU just to check idle updates

------------------------------------

Yahoo! Groups Links

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

<*> Your email settings:
    Individual Email | Traditional

<*> To change settings online go to:
    http://groups.yahoo.com/group/wtl/join
    (Yahoo! ID required)

<*> To change settings via email:
    mailto:wtl-digest@... 
    mailto:wtl-fullfeatured@...

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

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

Jim Barry | 5 May 12:02 2009

Re: App Wizard CE fails

numinel wrote:
> All of a sudden the App Wizard for CE stopped working on my developer
> machine (running Windows Vista will all updates from Windows Update
> site + Visual Studio 2005 SP 1). 

The breakage is caused by Internet Explorer 8. See here for an explanation and workaround:

http://blogs.msdn.com/vcblog/archive/2009/03/28/some-vs2005-and-vs2008-wizards-pop-up-script-error.aspx

-- 
Jim Barry, Microsoft MVP

------------------------------------

Yahoo! Groups Links

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

<*> Your email settings:
    Individual Email | Traditional

<*> To change settings online go to:
    http://groups.yahoo.com/group/wtl/join
    (Yahoo! ID required)

<*> To change settings via email:
    mailto:wtl-digest@... 
    mailto:wtl-fullfeatured@...

(Continue reading)

numinel | 5 May 13:11 2009

Re: App Wizard CE fails

--- In wtl@..., "Jim Barry" <j.barry <at> ...> wrote:
>
> numinel wrote:
> > All of a sudden the App Wizard for CE stopped working on my developer
> > machine (running Windows Vista will all updates from Windows Update
> > site + Visual Studio 2005 SP 1). 
> 
> The breakage is caused by Internet Explorer 8. See here for an explanation and workaround:
> 
> http://blogs.msdn.com/vcblog/archive/2009/03/28/some-vs2005-and-vs2008-wizards-pop-up-script-error.aspx
>  
> -- 
> Jim Barry, Microsoft MVP
>
Thanks for your reply.
The workaround fixed my developer machine (Vista + IE8) however, my test machine is running IE7 not IE8 and
the workaround do not work on that.
My developer machine is running IE8 so that could be the cause.

------------------------------------

Yahoo! Groups Links

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

<*> Your email settings:
    Individual Email | Traditional

<*> To change settings online go to:
(Continue reading)


Gmane