Frustrated trying to position controls in a xaml window.

Tech Tip: Click here to run a free scan for Windows Errors and optimize PC performance



I'm trying to position controls in a window and am having a very difficult
time. I want all the controls to be anchored top/left so when I do the
final resizing of the window, all the controls sit in the same position.
However, as I place controls toward the right side of the form, the left
alignment changes to right, and the margin changes from ##,##,0,0 ##,##,##,0
to 0,##,##,0. so to position the control just as I want, I have to
painfully edit he margin values. In some cases, when the control is on the
right side of the form and the control has the value of ##,##,0,0, the left
margin is not what I would expect and the control repositions its self in a
place that doesn't make sense. Also the widths keep changing on me. This
is a royal pain.



What am I doing wrong?



Thanks.


--
moondaddy@xxxxxxxxxxxxxxxx


.



Relevant Pages

  • Re: Error creating window handle
    ... i did not use any controls to draw them at all. ... a window has to be poped up to display information. ...
    (microsoft.public.dotnet.languages.csharp)
  • Re: Error creating window handle
    ... i did not use any controls to draw them at all. ... a window has to be poped up to display information. ...
    (microsoft.public.dotnet.framework)
  • Re: Error creating window handle
    ... i did not use any controls to draw them at all. ... a window has to be poped up to display information. ...
    (microsoft.public.dotnet.general)
  • Re: custom CEdit polling a hardware device
    ... All vendor supplied examples use polling as well. ... You are correct in saying it's a vendor supplied dll that talks ... what controls to inject input to, and it should not care in the slightest. ... The main window accepts this message, and responds by doing a SendMessageToDescendants of ...
    (microsoft.public.vc.mfc)
  • Re: communicating netween applications
    ... Will my MFC based way of search for controls, ... > All windows are children of the desktop window. ... > uiId = GetDlgCtrlID; ... >> would be the same everytime the other app and my app are run. ...
    (microsoft.public.win2000.developer)