-
How to recognize resolution change.
Hi All!
I am working on an applicaiton that should alwais be vizible, but when resolution
is changed part of it remains out of the screen.
How could I recognize the change, or define some window property to force
it to resize automatically.
Thank you in advance.
-
Re: How to recognize resolution change.
Add a message handler for the WM_SETTINGCHANGE message to look for a change
in the SPI_WORKAREA setting.
HTH, Paul
--
Paul Little, Senior Programmer/Analyst
SVi Retail Systems
San Diego, CA
"Benny" <bepstein@iname.com> wrote in message
news:3930e0ac$1@news.devx.com...
>
> Hi All!
> I am working on an applicaiton that should alwais be vizible, but when
resolution
> is changed part of it remains out of the screen.
> How could I recognize the change, or define some window property to force
> it to resize automatically.
> Thank you in advance.
-
Re: How to recognize resolution change.
Try this...
ON_MESSAGE(WM_DISPLAYCHANGE,OnDisplayChange)
>
>"Benny" <bepstein@iname.com> wrote in message
>news:3930e0ac$1@news.devx.com...
>>
>> Hi All!
>> I am working on an applicaiton that should alwais be vizible, but when
>resolution
>> is changed part of it remains out of the screen.
>> How could I recognize the change, or define some window property to force
>> it to resize automatically.
>> Thank you in advance.
>
>
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Development Centers
-- Android Development Center
-- Cloud Development Project Center
-- HTML5 Development Center
-- Windows Mobile Development Center
|