The (modal) main window of my application is created with the
function PropertySheet().
After choice of the menu entry Start->Today, my property sheet
window remains visible and the today screen will not shown.
All other PropertySheet-based programs I know, behave in such way.
Is this behavior an error of the platform Pocket PC?.
Or must I handle some messages in my application?

Rgds Wolfgang

Re: PropertySheet bug? by Alexander

Alexander
Fri Aug 12 01:32:50 CDT 2005


It is not exactly a bug but a "feature": on Pocket PC any popup window with
NULL owner has Today window as an owner. And this means that you will see
this window if you go to Today.

There are at least 2 methods of solving the problem. First is described
here: http://www.pocketpcdn.com/articles/today_friendly_dialogs.html. Second
is to create a "dummy" overlapped window (e. g. with zero size) and assign
it as an owner of your property sheet.

--
Alexander Shargin
Microsoft MVP in Mobile Devices
http://www.pocketpcdn.com - Pocket PC Developer Network
http://www.smartphonedn.com - Smartphone Developer Network
http://www.rsdn.ru - Russian Software Developer Network


"Wolfgang Rolke" <mail.adresse@nurfuerspam.de> ???????/???????? ? ????????
?????????: news:ddg9aq$i7p$05$1@news.t-online.com...
> The (modal) main window of my application is created with the
> function PropertySheet().
> After choice of the menu entry Start->Today, my property sheet
> window remains visible and the today screen will not shown.
> All other PropertySheet-based programs I know, behave in such way.
> Is this behavior an error of the platform Pocket PC?.
> Or must I handle some messages in my application?
>
> Rgds Wolfgang



Re: PropertySheet bug? by Wolfgang

Wolfgang
Sun Aug 14 19:01:24 CDT 2005

>>The (modal) main window of my application is created with the
>>function PropertySheet().
>>After choice of the menu entry Start->Today, my property sheet
>>window remains visible and the today screen will not shown.
>
>It is not exactly a bug but a "feature": on Pocket PC any popup window with
>NULL owner has Today window as an owner. And this means that you will see
>this window if you go to Today.
>
>There are at least 2 methods of solving the problem. First is described
>here: http://www.pocketpcdn.com/articles/today_friendly_dialogs.html. Second
>is to create a "dummy" overlapped window (e. g. with zero size) and assign
>it as an owner of your property sheet.

Thanks for your reply. I removed the WS_POPUP style flag after receiving
the PSCB_PRECREATE message. The so created overlapped window act as
expected.

Wolfgang Rolke