Re: Dialog window auto resizing

Tech-Archive recommends: Speed Up your PC by fixing your registry



On Mon, 19 Nov 2007 03:59:16 -0800 (PST), Baranidharan
<baranikm@xxxxxxxxx> wrote:

Hi all,

I create a dialog window using the VS 2005 dialog editor, with
dimensions 240 x 320 (manually editing in the resource file) and add
some controls. When I test the dialog appearance using the "Test
Dialog" button things are ok but when I run the application on
emulator ( QVGA mode ) the placement and the sizes of the controls go
haphazard.

Dealing with multiple screen dimensions is becoming more and more
important, and is a somewhat hot topic. For info on my approach, see
my 8 Nov 07 contribution to a thread called " how to implement
resizing for a win32 dialog box" in
microsoft.public.win32.programmer.ui; it's code I use for "big"
Windows _and_ Windows CE platforms such as Pocket PC. I think
Microsoft is making some serious attempts to address the problem with
WPF (Windows Presentation Foundation).



Why is it happening ? What should i do to get it as i see in the
editor ?

Thanks in advance,

Regards
Barani.

-----------------------------------------
To reply to me, remove the underscores (_) from my email address (and please indicate which newsgroup and message).

Robert E. Zaret, eMVP
PenFact, Inc.
20 Park Plaza, Suite 478
Boston, MA 02116
www.penfact.com
.


Quantcast