w32Edge vs. w32AltEdge

new topic     » topic index » view thread      » older message » newer message

In win32lib What is the difference between w32Edge and w32AltEdge?  The 
documentation doesn't make it very clear.  When should i use one and 
when should i use the other?  

I was creating a button and using w32Edge to determine the x and y 
positions,  but the button wouldn't show up in the window.  I wanted the 
button to be in the lower right corner of the window.  The code looked 
something like this.

constant BUTTON = create( PushButton, "Ok", MAIN_WINDOW, { w32Edge, 
-(BORDER + BUTTON_WIDTH) }, {w32Edge, -(BORDER + BUTTON_HEIGHT)}, 
BUTTON_WIDTH, BUTTON_HEIGHT, 0)

Should i use w32AltEdge instead?

When i created a MleText box it lined up with the right and bottom edges 
when i had {w32Edge, -BORDER} as the width and height of the control, 
but when i setCtlSize when the window was resized i had to use a 
different value.  Should i have used w32AltEdge when i was resizing?

new topic     » topic index » view thread      » older message » newer message

Search



Quick Links

User menu

Not signed in.

Misc Menu